timmerk / nfc-tools

Automatically exported from code.google.com/p/nfc-tools
0 stars 0 forks source link

MFOC 0.10.4 and 0.10.5 won't compile against libnfc 1.7.0-rc6 #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm unable to compile mfoc 0.10.5 or 0.10.4: 

make
make  all-recursive
make[1]: entrant dans le répertoire « /root/mfoc-0.10.4 »
Making all in src
make[2]: entrant dans le répertoire « /root/mfoc-0.10.4/src »
  CC     crapto1.o
  CC     crypto1.o
  CC     mfoc.o
  CC     mifare.o
  CC     nfc-utils.o
nfc-utils.c: In function ‘print_nfc_target’:
nfc-utils.c:121:3: erreur: incompatible type for argument 2 of 
‘str_nfc_target’
In file included from nfc-utils.c:35:0:
/usr/include/nfc/nfc.h:146:18: note: expected ‘const struct nfc_target *’ 
but argument is of type ‘nfc_target’
make[2]: *** [nfc-utils.o] Erreur 1
make[2]: quittant le répertoire « /root/mfoc-0.10.4/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /root/mfoc-0.10.4 »
make: *** [all] Erreur 2

Version of libnfc (working perfectly) :
pkg-config --modversion libnfc
1.7.0-rc6

Trying to comile on 
Linux 3.5.0-17-generic #28-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linu

Thanks for your help

Theju

Original issue reported on code.google.com by garnier....@gmail.com on 22 Mar 2013 at 10:58

GoogleCodeExporter commented 9 years ago
mfoc is not part of this source repository anymore

Original comment by yob...@gmail.com on 30 Mar 2013 at 7:16