[fprint] How to cross compile libfprint for ARM-Linux

YANG Yang kormny at gmail.com
Mon Nov 5 22:27:23 PST 2012


Hi, all

I'm going to cross compile libfprint for my ARM broad, so I typed these two
command:

./configure --host=arm-linux --prefix=/opt
make

But it failed like this:
/usr/local/arm/4.3.2/bin/../arm-none-linux-gnueabi/libc/usr/include/bits/mathcalls.h:242:
warning: shadowed declaration is here
  CCLD   libfprint.la
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lusb-1.0
collect2: ld returned 1 exit status
make[2]: *** [libfprint.la] Error 1
make[2]: leaving“/home/hiro/libfprint-0.4.0/libfprint”
make[1]: *** [all-recursive] Error 1
make[1]: leaving“/home/hiro/libfprint-0.4.0”
make: *** [all] Error 2

So, I decided to cross compile libusb first:

./configure --host=arm-linux --prefix=/opt // in libusb directory
make
sudo make install

./configure --host=arm-linux --prefix=/opt
make

then it reported:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lssl3
collect2: ld returned 1 exit status

How can I fix this?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20121106/6e95a516/attachment.html>


More information about the fprint mailing list