Hi! I successfully compiled libfprint in a project last year for a ARM9 system. The big issue was to compile the dependencies. For this reason, I could only run version 0.0.6, because I couldn't compile NSS (required for later versions). Well, I used buildroot to compile all dependencies needed by libfprint, such openssl, libusb and glib2. After all, I used the generated toolchain to compile libfprint using the following steps:
(for some reason, the RANLIB flag can't find a relative path, so I used the full path as a parameter for this flag) $ AR=arm-linux-ar CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=/home/rafael/buildroot/output/host/usr/bin/arm-linux-ranlib ./configure --host=arm-linux --target=arm-linux --prefix=/home/rafael/buildroot/libfprint $ make $ make install After all, it generated libfprint.so, libfprint.so.0 and libfprint.so.0.0.0 that I copied to the ARM9 Linux system. 2012/11/6 Moritz von Schweinitz <[email protected]> > 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 <[email protected]> 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 >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/fprint >> >> > > _______________________________________________ > fprint mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/fprint > >
_______________________________________________ fprint mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fprint
