[fprint] How to cross compile libfprint for ARM-Linux
Moritz von Schweinitz
schweini at gmail.com
Mon Nov 5 22:30:30 PST 2012
No idea how to help you - but would you consider sharing any found
solution? Or maybe the binaries? fprintd on ARM could be very useful...
M.
On Tue, Nov 6, 2012 at 12:27 AM, YANG Yang <kormny at gmail.com> wrote:
> 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.
>
> _______________________________________________
> fprint mailing list
> fprint at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fprint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20121106/2a458f82/attachment.html>
More information about the fprint
mailing list