Isolus / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

unable to compile mfoc-0.10.2 on ubuntu 12.04.01 64bit #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I trying to install mfoc-0.10.2, but have error when I make:
 make
make  all-recursive
make[1]: Entering directory `/root/mfoc-0.10.2'
Making all in src
make[2]: Entering directory `/root/mfoc-0.10.2/src'
  CC     crapto1.o
  CC     crypto1.o
  CC     mfoc.o
  CC     mifare.o
  CC     nfc-utils.o
  CCLD   mfoc
mfoc.o: In function `mf_init':
/root/mfoc-0.10.2/src/mfoc.c:535: undefined reference to `nfc_connect'
mfoc.o: In function `mf_configure':
/root/mfoc-0.10.2/src/mfoc.c:543: undefined reference to `nfc_initiator_init'
/root/mfoc-0.10.2/src/mfoc.c:548: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:553: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:558: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:562: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:567: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:568: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:544: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:563: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:559: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:554: undefined reference to `nfc_perror'
mfoc.o: In function `mf_select_tag':
/root/mfoc-0.10.2/src/mfoc.c:579: undefined reference to 
`nfc_initiator_select_passive_target'
/root/mfoc-0.10.2/src/mfoc.c:581: undefined reference to `nfc_disconnect'
mfoc.o: In function `mf_anticollision':
/root/mfoc-0.10.2/src/mfoc.c:622: undefined reference to 
`nfc_initiator_select_passive_target'
/root/mfoc-0.10.2/src/mfoc.c:623: undefined reference to `nfc_perror'
mfoc.o: In function `mf_enhanced_auth':
/root/mfoc-0.10.2/src/mfoc.c:657: undefined reference to `iso14443a_crc_append'
/root/mfoc-0.10.2/src/mfoc.c:662: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:669: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:674: undefined reference to 
`nfc_initiator_transceive_bytes'
/root/mfoc-0.10.2/src/mfoc.c:679: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:716: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:724: undefined reference to 
`nfc_initiator_transceive_bits'
/root/mfoc-0.10.2/src/mfoc.c:803: undefined reference to `iso14443a_crc_append'
/root/mfoc-0.10.2/src/mfoc.c:811: undefined reference to 
`nfc_initiator_transceive_bits'
/root/mfoc-0.10.2/src/mfoc.c:817: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:822: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:781: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:782: undefined reference to 
`nfc_initiator_transceive_bits'
/root/mfoc-0.10.2/src/mfoc.c:753: undefined reference to 
`nfc_initiator_transceive_bits'
/root/mfoc-0.10.2/src/mfoc.c:717: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:680: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:670: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:663: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:823: undefined reference to `nfc_perror'
mfoc.o:/root/mfoc-0.10.2/src/mfoc.c:818: more undefined references to 
`nfc_perror' follow
mfoc.o: In function `main':
/root/mfoc-0.10.2/src/mfoc.c:168: undefined reference to `nfc_initiator_init'
/root/mfoc-0.10.2/src/mfoc.c:169: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:509: undefined reference to `nfc_disconnect'
/root/mfoc-0.10.2/src/mfoc.c:173: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:174: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:178: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:179: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:183: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:184: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:187: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:188: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mfoc.c:198: undefined reference to 
`nfc_initiator_select_passive_target'
/root/mfoc-0.10.2/src/mfoc.c:502: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:503: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mfoc.c:506: undefined reference to `nfc_disconnect'
/root/mfoc-0.10.2/src/mfoc.c:199: undefined reference to `nfc_perror'
mifare.o: In function `nfc_initiator_mifare_cmd':
/root/mfoc-0.10.2/src/mifare.c:98: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mifare.c:103: undefined reference to 
`nfc_initiator_transceive_bytes'
/root/mfoc-0.10.2/src/mifare.c:112: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mifare.c:114: undefined reference to `nfc_configure'
/root/mfoc-0.10.2/src/mifare.c:118: undefined reference to `nfc_perror'
/root/mfoc-0.10.2/src/mifare.c:117: undefined reference to `nfc_configure'
collect2: ld returned 1 exit status
make[2]: *** [mfoc] Error 1
make[2]: Leaving directory `/root/mfoc-0.10.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mfoc-0.10.2'
make: *** [all] Error 2

What is wrong?

Original issue reported on code.google.com by top...@gmail.com on 14 Sep 2012 at 9:16

GoogleCodeExporter commented 9 years ago
This bug report is invalid for two reasons:
 * It is miss-placed, its MFOC-related not libnfc's bug
 * If you use a devel version of libnfc (or release candidate), you have to use a devel version of MFOC.

Thanks.

Original comment by romu...@libnfc.org on 17 Sep 2012 at 3:09