[fprint] Crosscompiling libfprint

Karsten Jeppesen arm9263 at yahoo.com
Wed Aug 15 01:27:14 PDT 2012


Hello Bastien,
This is part 1 of 2 (initial email rejected because of size)
In part 2 is the failed compilation.

Let me first say that I have read the 8 other emails back n forth so take that into account while reading this:

OK... so:

Clone the git: OK
    [root at kjpserver09 git-fprint]# git clone git://anongit.freedesktop.org/libfprint/libfprint
    Initialized empty Git repository in /tmp/git-fprint/libfprint/.git/
    remote: Counting objects: 1310, done.
    remote: Compressing objects: 100% (502/502), done.
    remote: Total 1310 (delta 937), reused 1105 (delta 794)
    Receiving objects: 100% (1310/1310), 542.83 KiB | 176 KiB/s, done.
    Resolving deltas: 100% (937/937), done.
    [root at kjpserver09 git-fprint]# git am ../*.patch
    fatal: Not a git repository (or any of the parent directories): .git
Apply the patches using "git am *.patch": FAIL
    [root at kjpserver09 git-fprint]# git am ../*.patch
    fatal: Not a git repository (or any of the parent directories): .git
Applying the patches one by one: OK
    [root at kjpserver09 git-fprint]# cd libfprint/
    [root at kjpserver09 libfprint]# patch -p1 <../../0001-Fix-global-variables-collision-with-libusb.patch
    patching file libfprint/core.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file libfprint/core.c.rej
    patching file libfprint/fp_internal.h
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    2 out of 2 hunks ignored -- saving rejects to file libfprint/fp_internal.h.rej
    [root at kjpserver09 libfprint]# patch -p1 <../../0002-Fix-fprint-list-udev-rules-crosscompiling-issue.patch
    patching file Makefile.am
    patching file configure.ac
    Hunk #2 succeeded at 309 (offset 19 lines).
    patching file libfprint/Makefile.am
    Hunk #2 FAILED at 72.
    1 out of 2 hunks FAILED -- saving rejects to file libfprint/Makefile.am.rej
    patching file libfprint/fprint-list-udev-rules.c
    patching file util/Makefile.am
    patching file util/fprint-list-udev-rules.c
Prepping for compilation: OK
    [root at kjpserver09 libfprint]# libtoolize --copy --force
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    [root at kjpserver09 libfprint]# aclocal
    [root at kjpserver09 libfprint]# autoheader
    [root at kjpserver09 libfprint]# autoconf
    [root at kjpserver09 libfprint]# automake -a -c
    configure.ac:19: installing `./compile'
    configure.ac:17: installing `./config.guess'
    configure.ac:17: installing `./config.sub'
    configure.ac:2: installing `./install-sh'
    configure.ac:2: installing `./missing'
    examples/Makefile.am: installing `./depcomp'
    libfprint/Makefile.am:76: variable `fprint_list_udev_rules_SOURCES' is defined but no program or
    libfprint/Makefile.am:76: library has `fprint_list_udev_rules' as canonical name (possible typo)
    libfprint/Makefile.am:78: variable `fprint_list_udev_rules_LDADD' is defined but no program or
    libfprint/Makefile.am:78: library has `fprint_list_udev_rules' as canonical name (possible typo)
Configuring default: OK
    ./configure
    (listing omitted)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20120815/8892630a/attachment-0001.html>


More information about the fprint mailing list