[fprint] Crosscompiling libfprint

Vasily Khoruzhick anarsoul at gmail.com
Tue Aug 14 06:52:31 PDT 2012


On Tue, Aug 14, 2012 at 4:00 PM, Karsten Jeppesen <arm9263 at yahoo.com> wrote:
> 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

Just obtain recent code from git repo:

git clone git://anongit.freedesktop.org/libfprint/libfprint

And then try 2 patches from attachment (you can just apply them via
git am *.patch)

Regards
Vasily
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-global-variables-collision-with-libusb.patch
Type: application/octet-stream
Size: 2597 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20120814/45d2424c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-fprint-list-udev-rules-crosscompiling-issue.patch
Type: application/octet-stream
Size: 9416 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20120814/45d2424c/attachment-0003.obj>


More information about the fprint mailing list