В сообщении от 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to