[fprint] Crosscompiling libfprint

Karsten Jeppesen arm9263 at yahoo.com
Tue Aug 14 06:00:50 PDT 2012


Hi Vasily,

Thanks for the reply.
It didn't solve the problem, but that could be my fault.

Due to embedded workwise - I am locked in on FC11. So that was the reason for the older code.
I cant find the git on the webpages, so I downloaded the version 0.4.0 (http://people.freedesktop.org/~hadess/libfprint-0.4.0.tar.bz2)
Is that the right one or is there a git somewhere?

Anyhow - I get somewhat the same error ( except now its udev related):

  CC     libfprint_la-shape.lo
  CC     libfprint_la-sort.lo
  CC     libfprint_la-util.lo
nbis/mindtct/util.c: In function 'distance':
nbis/mindtct/util.c:338:41: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
nbis/mindtct/util.c: In function 'squared_distance':
nbis/mindtct/util.c:368:49: warning: declaration of 'y1' shadows a global declaration [-Wshadow]
  CCLD   libfprint.la
  CC     fprint_list_udev_rules-fprint-list-udev-rules.o
  CCLD   fprint-list-udev-rules
./fprint-list-udev-rules > 60-fprint-autosuspend.rules
./fprint-list-udev-rules: line 117: /root/rpmbuild/BUILD/libfprint-0.4.0/libfprint/.libs/lt-fprint-list-udev-rules: cannot execute binary file
./fprint-list-udev-rules: line 117: /root/rpmbuild/BUILD/libfprint-0.4.0/libfprint/.libs/lt-fprint-list-udev-rules: Success
make[3]: *** [60-fprint-autosuspend.rules] Error 1


And again thanks for you very fast reply.

Karsten




________________________________
 From: Vasily Khoruzhick <anarsoul at gmail.com>
To: Karsten Jeppesen <arm9263 at yahoo.com> 
Cc: "fprint at lists.freedesktop.org" <fprint at lists.freedesktop.org> 
Sent: Tuesday, August 14, 2012 2:35 PM
Subject: Re: [fprint] Crosscompiling libfprint
 
On Tue, Aug 14, 2012 at 3:23 PM, Karsten Jeppesen <arm9263 at yahoo.com> wrote:
> Hi there,
>
> New to this library, so I haven't caught on to the names yet, sry for that
> :-)
>
> Now - I am attempting to crosscompilling the fprint library. In case you
> havent guessed: its for the ARM9263.
>
> I am running into a few problems. One in particular is so big that I am
> going to ask:
>
> fprint-list-hal-info.c:61:13: warning: 'print_imaging_driver' defined but
> not used [-Wunused-function]
> mv -f .deps/fprint_list_hal_info-fprint-list-hal-info.Tpo
> .deps/fprint_list_hal_info-fprint-list-hal-info.Po
> /bin/sh ../libtool --tag=CC   --mode=link arm-unknown-linux-gnueabi-gcc
> -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -std=gnu99
> -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes
> -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -g -O2   -o
> fprint-list-hal-info fprint_list_hal_info-fprint-list-hal-info.o
> ./libfprint.la
> libtool: link: arm-unknown-linux-gnueabi-gcc -fvisibility=hidden
> -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused
> -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign
> -Wshadow -g -O2 -o .libs/fprint-list-hal-info
> fprint_list_hal_info-fprint-list-hal-info.o  ./.libs/libfprint.so -lm
> -lusb-1.0 -lglib-2.0 -ldl -lz
> ./fprint-list-hal-info > 10-fingerprint-reader-fprint.fdi
> ./fprint-list-hal-info: line 136:
> /root/rpmbuild/BUILD/libfprint-0.1.0-pre1/libfprint/.libs/lt-fprint-list-hal-info:
> cannot execute binary file
> ./fprint-list-hal-info: line 136:
> /root/rpmbuild/BUILD/libfprint-0.1.0-pre1/libfprint/.libs/lt-fprint-list-hal-info:
> Success
> make[3]: *** [10-fingerprint-reader-fprint.fdi] Error 1
>
> How can I get around this issue with HAL? On the ARM platform I don't have
> hal running, so executing the lt-fprint-list-hal-info on the intel platform
> while compiled for the ARM platform may just be the beginning...

Just update to latest git version, HAL fdi generation was dropped ~2 years ago

Regards
Vasily
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20120814/aef73ac6/attachment.html>


More information about the fprint mailing list