The problem was some kind of link from libfprint to libusb that was wrong, I managed to solved it by installing libusb-1.0 and libusb-dev prior to install libfprint. When I was trying to compile libfprint, I got an error complaining about "fgnu89-inline", I googled it and it seems like it has to do with the gcc version, so I simply removed it from the configure file and ran it again... Everything went smoothly, I installed it and then compiled the applications in the examples folder, ran all of them and they work perfectly!!! It takes a loooong time to enroll and verify, but it does it really well, my project depends on img_capture which works very good and very fast, so this is great. Thanks to everyone for replying so quickly!!
________________________________ From: Vasily Khoruzhick <[email protected]> To: [email protected] Cc: Daniel Montero <[email protected]>; Andres Aguirre <[email protected]>; santiago reyes <[email protected]> Sent: Wed, December 16, 2009 12:56:56 AM Subject: Re: [fprint] Problem with libfprint on embedded system В сообщении от 16 декабря 2009 06:34:33 автор Daniel Montero написал: > Hi, no I haven't estimated the performance, I'm just trying to make my > scanner work. Yes I have compiled and installed libusb but it seems like > something's missing and I don't know what it is... > > > ________________________________ > From: Andres Aguirre <[email protected]> > To: Daniel Montero <[email protected]> > Cc: fprint <[email protected]>; santiago reyes > <[email protected]> Sent: Tue, December 15, 2009 4:28:24 AM > Subject: Re: [fprint] Problem with libfprint on embedded system > > It seems that the references to libusb where not resolve, do you have > libusb installed? Your proyect is very interesting, have you estimated the > performance of Borozorth on a TS-7260? Regards > Andrés > > > On Tue, Dec 15, 2009 at 12:37 AM, Daniel Montero <[email protected]> > wrote: > > Hello, my name is Daniel Montero, I'm currently trying to use a Digital Persona fingerprint scanner on my TS-7260 embedded system running Debian Etch, kernel 2.6-21. I have successfully installed libfprint and all it's dependencies but keep getting the same error when I try to compile the examples (enroll, verify, etc): > >r...@ts7800:examples# make > >/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wundef > > -Wunused gcc -std=gnu99 -Wall -Wundef -Wunused > > -Wstrict-prototypes -Werror-implicit-funcb > >../libfprint/.libs/libfprint.so: undefined reference to `usb_bulk_write' > >../libfprint/.libs/libfprint.so: undefined reference to `usb_device' > > > >>../libfprint/.libs/libfprint.so: undefined reference to `usb_strerror' > > > >../libfprint/.libs/libfprint.so: undefined reference to `usb_find_busses' > >../libfprint/.libs/libfprint.so: undefined reference to `usb_init' > > > >>../libfprint/.libs/libfprint.so: undefined reference to `usb_clear_halt' > > > >../libfprint/.libs/libfprint.so: undefined reference to `usb_find_devices' > >../libfprint/.libs/libfprint.so: undefined > > reference to `usb_open' > >../libfprint/.libs/libfprint..so: undefined reference to `usb_get_busses' > >../libfprint/.libs/libfprint.so: undefined reference to `usb_control_msg' > > > >>../libfprint/.libs/libfprint.so: undefined reference to > >> `usb_release_interface' > > > >../libfprint/.libs/libfprint.so: undefined reference to `usb_close' > >../libfprint/.libs/libfprint.so: undefined reference to > > `usb_set_configuration' > > > >>../libfprint/.libs/libfprint.so: undefined reference to > >> `usb_interrupt_read' > > > >../libfprint/.libs/libfprint.so: undefined reference to `usb_bulk_read' > >../libfprint/.libs/libfprint.so: undefined reference to > > `usb_claim_interface' > > > >../libfprint/.libs/libfprint.so: undefined reference to > > `usb_set_altinterface' collect2: ld returned 1 exit status > >make: *** [verify_live] Error 1 > > > >I installed all the libraries from the repositories except for libusb1-0 > > which I compiled form source, already tried this on a x86 computer > > running Debian Lenny and got the same error, I don't really know what's > > going on. Help would be very much appreciated. > > > >Thanks, Daniel. I suspect libusb and/or libfprint was installed into /usr/local/ but /etc/ld.so.conf doesn't contain /usr/local/lib path.. Solution is install libfprint and libusb to /usr (use --prefix=/usr as configure argument) or add mentioned path to ld.so.conf Regards Vasily
_______________________________________________ fprint mailing list [email protected] http://lists.reactivated.net/mailman/listinfo/fprint
