Topic: Promblem compiling mfcuk

I'm trying to compilemfcuk  with libnfc 1.5.0 and gave the following in a ubuntu 11.04 output:

xload@Tokarev:~/mfcuk-read-only$ make
make  all-recursive
make[1]: se ingresa al directorio «/home/xload/mfcuk-read-only»
Making all in src
make[2]: se ingresa al directorio «/home/xload/mfcuk-read-only/src»
  CC     crapto1.o
In file included from crapto1.c:20:0:
crapto1.h: In function ‘parity’:
crapto1.h:68:9: warning: implicit declaration of function ‘asm’
crapto1.h:74:35: error: expected ‘)’ before ‘:’ token
make[2]: *** [crapto1.o] Error 1
make[2]: se sale del directorio «/home/xload/mfcuk-read-only/src»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/xload/mfcuk-read-only»
make: *** [all] Error 2

Any idea to fix it?

Last edited by xload (2011-07-20 17:22:48)

Re: Promblem compiling mfcuk

Hi,

try changing asm to __asm__

This worked for me (see also http://www.ibiblio.org/gferg/ldp/GCC-In … HOWTO.html)