nfc-tools / mfoc

Mifare Classic Offline Cracker
GNU General Public License v2.0
1.23k stars 268 forks source link

Build fails on i386 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just tried to build mfoc 0.10.4 against libnfc 1.7.0rc1 on both amd64 and 
i386.

On i386:

make[3]: Entering directory `/build/buildd/mfoc-0.10.4/src'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c crapto1.c
In file included from crapto1.c:20:0:
crapto1.h: In function 'parity':
crapto1.h:65:5: warning: implicit declaration of function 'asm' 
[-Wimplicit-function-declaration]
crapto1.h:71:27: error: expected ')' before ':' token
make[3]: *** [crapto1.o] Error 1
make[3]: Leaving directory `/build/buildd/mfoc-0.10.4/src'

Whereas on amd64:

make[3]: Entering directory `/build/buildd/mfoc-0.10.4/src'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c crapto1.c
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c crypto1.c
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c mfoc.c
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c mifare.c
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -std=c99 -c nfc-utils.c

Original issue reported on code.google.com by jdthood on 31 Jan 2013 at 10:45

GoogleCodeExporter commented 9 years ago
I see that this was fixed yesterday. :)

https://groups.google.com/forum/?fromgroups=#!searchin/nfc-tools/mfoc/nfc-tools/
0QErZU753DY/e0igtNWxwKoJ

Original comment by jdthood on 31 Jan 2013 at 10:53

GoogleCodeExporter commented 9 years ago
That's fixed and a new release have been published with this patch :-)

Happy hacking

Original comment by romu...@libnfc.org on 31 Jan 2013 at 7:06