[fprint] Crosscompiling libfprint

Bastien Nocera hadess at hadess.net
Tue Aug 14 07:26:46 PDT 2012


On Tue, 2012-08-14 at 16:52 +0300, Vasily Khoruzhick wrote:
> 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)

I committed the first one, but worked around the udev problem in a
slightly different way.

Cheers



More information about the fprint mailing list