Closed GoogleCodeExporter closed 9 years ago
I have the same.
root@bt:~/mfoc-0.10.5# make
make all-recursive
make[1]: Entering directory `/root/mfoc-0.10.5'
Making all in src
make[2]: Entering directory `/root/mfoc-0.10.5/src'
CC nfc-utils.o
nfc-utils.c: In function ‘print_nfc_target’:
nfc-utils.c:121: error: incompatible type for argument 2 of ‘str_nfc_target’
/usr/local/include/nfc/nfc.h:146: note: expected ‘const struct nfc_target
*’ but argument is of type ‘nfc_target’
make[2]: *** [nfc-utils.o] Error 1
make[2]: Leaving directory `/root/mfoc-0.10.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mfoc-0.10.5'
make: *** [all] Error 2
Using Backtrack 5 R3, with libnfc-1.7.0-rc7.
Original comment by Kyle...@gmail.com
on 3 Jun 2013 at 11:46
Almost the same error when trying 0.10.4.
root@bt:/mfoc-0.10.4# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mfoc-0.10.4/missing --run
autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/mfoc-0.10.4'
Making all in src
make[2]: Entering directory `/mfoc-0.10.4/src'
CC crapto1.o
In file included from crapto1.c:20:
crapto1.h: In function ‘parity’:
crapto1.h:65: warning: implicit declaration of function ‘asm’
crapto1.h:71: error: expected ‘)’ before ‘:’ token
make[2]: *** [crapto1.o] Error 1
make[2]: Leaving directory `/mfoc-0.10.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mfoc-0.10.4'
make: *** [all] Error 2
Original comment by Kyle...@gmail.com
on 3 Jun 2013 at 11:52
This is fixed using 0.10.6 against libnfc 1.7.0-RC7
Original comment by romu...@libnfc.org
on 6 Jun 2013 at 2:40
Thank you for the quick fix romu
Original comment by Kyle...@gmail.com
on 7 Jun 2013 at 8:53
Original issue reported on code.google.com by
alfonso....@gmail.com
on 13 May 2013 at 1:03