marcus905 / libnfc

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

Undifined References usb_find and usb_init #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --with-drivers=acr122_pcsc
2. sudo clean 
3. sudo make  (the critical one)

What is the expected output? What do you see instead?
...
...CCLD   nfc-emulate-forum-tag4
../libnfc/.libs/libnfc.so: undefined reference to `usb_find_busses'
../libnfc/.libs/libnfc.so: undefined reference to `usb_find_devices'
../libnfc/.libs/libnfc.so: undefined reference to `usb_init'
collect2: ld returned 1 exit status
...

What version of the product are you using? On what operating system?
libnfc-1.7.0-rc6 on ubuntu 12.04 LTS

Please provide any additional information below.
Actually the error is also present when compiling the quick_start_example.c 
also due to undefined references mentioned above.
The above problem is not present on libnfc-1.7.0-rc5.
The above problem has been detected by others 
http://www.libnfc.org/community/topic/928/libnfc170rc6-raspberry-pi-acr122pcsc/

Thank you very much.
(great lib)

Original issue reported on code.google.com by fc.edmu...@gmail.com on 12 Mar 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Thank you
This was already reported on the forum and has been fixed last week in 
008158090c1a4c785fa305b2f230c1562c2c81e4

Original comment by yob...@gmail.com on 12 Mar 2013 at 5:56