timmerk / nfc-tools

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

Error compiling with libnfc-1.4.1 #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I'm trying to compile the latest stable package of nfcutils with libnfc 
with no luck, I have Ubuntu 11.10  and created-installed the .deb packages from 
libnfc 1.4.1.

Thanks in advance for some suggestion of how to solve this, I bet is a libnfc 
installation-mistake rather than nfcutils, I apologize for the inconvenience.

ubuntu@ubuntu:~/nfcutils-0.3.0$ make
make  all-recursive
make[1]: Entering directory `/home/ubuntu/nfcutils-0.3.0'
Making all in src
make[2]: Entering directory `/home/ubuntu/nfcutils-0.3.0/src'
  CC     lsnfc.o
  CCLD   lsnfc
lsnfc.o: In function `mifare_ultralight_identification':
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:82: undefined reference to 
`nfc_initiator_select_passive_target'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:83: undefined reference to 
`nfc_configure'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:84: undefined reference to 
`nfc_initiator_transceive_bytes'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:86: undefined reference to 
`nfc_configure'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:87: undefined reference to 
`nfc_initiator_deselect_target'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:91: undefined reference to 
`nfc_configure'
lsnfc.o: In function `mifare_desfire_identification':
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:120: undefined reference to 
`nfc_initiator_select_passive_target'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:121: undefined reference to 
`nfc_initiator_transceive_bytes'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:140: undefined reference to 
`nfc_initiator_deselect_target'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:126: undefined reference to 
`nfc_initiator_transceive_bytes'
lsnfc.o: In function `main':
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:252: undefined reference to 
`nfc_list_devices'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:259: undefined reference to 
`nfc_connect'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:269: undefined reference to 
`nfc_initiator_init'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:272: undefined reference to 
`nfc_configure'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:275: undefined reference to 
`nfc_configure'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:278: undefined reference to 
`nfc_configure'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:286: undefined reference to 
`nfc_initiator_list_passive_targets'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:295: undefined reference to 
`nfc_initiator_list_passive_targets'
/home/ubuntu/nfcutils-0.3.0/src/lsnfc.c:316: undefined reference to 
`nfc_configure'

Thanks.

Original issue reported on code.google.com by capiscuas@gmail.com on 27 Dec 2011 at 4:58

GoogleCodeExporter commented 9 years ago
Invalid and duplicate
http://code.google.com/p/libnfc/issues/detail?id=182#c7

Original comment by romu...@libnfc.org on 16 Jan 2012 at 3:21