Actually it does not compile with libusbx. Debian guys have patch to fix issue, here it is: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Fix-libusb-global-variables-FTBFS.patch;att=2;bug=680991
Regards Vasily On Thu, Jul 19, 2012 at 2:39 AM, David Carlos Manuelda <stormb...@gmail.com> wrote: > Sorry, I could not find the bugzilla so I am posting this to here. > > P.S. I am not subscribed to the list, so please CC me when answering. > > This is build output. > > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man > --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc > --localstatedir=/var/lib --libdir=/usr/lib64 > --disable-dependency-tracking --disable-debug-log --disable-static > checking for a BSD-compatible install... /usr/bin/install -c checking > whether build environment is sane... yes checking for a thread-safe > mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether > make sets $(MAKE)... yes checking whether make supports nested > variables... yes checking for x86_64-pc-linux-gnu-gcc... > x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes > checking for C compiler default output file name... a.out checking for > suffix of executables... checking whether we are cross compiling... no > checking for suffix of object files... o checking whether we are using > the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc > accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept > ISO C89... none needed checking for style of include used by make... GNU > checking dependency style of x86_64-pc-linux-gnu-gcc... none > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-pc-linux-gnu > checking how to print strings... printf > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by > x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if > the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking > for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking > the name lister (/usr/bin/nm -B) interface... BSD nm checking whether > ln -s works... yes checking the maximum length of command line > arguments... 1572864 checking whether the shell understands some XSI > constructs... yes checking whether the shell understands "+="... yes > checking how to convert x86_64-pc-linux-gnu file names to > x86_64-pc-linux-gnu format... func_convert_file_noop checking how to > convert x86_64-pc-linux-gnu file names to toolchain format... > func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld > option to reload object files... -r checking for > x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how > to recognize dependent libraries... pass_all checking for > x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking > how to associate runtime and link libraries... printf %s\n checking for > x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver > @FILE support... @ checking for x86_64-pc-linux-gnu-strip... > x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... > x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B > output from x86_64-pc-linux-gnu-gcc object... ok checking for > sysroot... no checking for x86_64-pc-linux-gnu-mt... no > checking for mt... no > checking if : is a manifest tool... no > checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti > -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to > produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag > -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static > flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports > -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o > file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc > linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared > libraries... yes checking whether -lc should be explicitly linked in... > no checking dynamic linker characteristics... GNU/Linux ld.so checking > how to hardcode library paths into programs... immediate checking > whether stripping libraries is possible... yes checking if libtool > supports shared libraries... yes checking whether to build shared > libraries... yes checking whether to build static libraries... no > checking for inline... inline > checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o > together... yes checking for x86_64-pc-linux-gnu-g++... > x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ > compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... > yes checking dependency style of x86_64-pc-linux-gnu-g++... none > checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E > checking for ld used by > x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m > elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m > elf_x86_64) is GNU ld... yes checking whether the > x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m > elf_x86_64) supports shared libraries... yes checking for > x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking > if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking > if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if > x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if > x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking > whether the x86_64-pc-linux-gnu-g++ linker > (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared > libraries... yes checking dynamic linker characteristics... (cached) > GNU/Linux ld.so checking how to hardcode library paths into programs... > immediate checking for x86_64-pc-linux-gnu-pkg-config... no checking > for pkg-config... /usr/bin/pkg-config checking pkg-config is at least > version 0.9.0... yes checking for LIBUSB... yes checking for CRYPTO... > yes checking for GLIB... yes checking for IMAGING... yes configure: ** > Using gdk-pixbuf for imaging configure: ** upekts driver enabled > configure: ** upeke2 driver enabled > configure: upektc driver disabled > configure: ** upeksonly driver enabled > configure: ** vcom5s driver enabled > configure: ** uru4000 driver enabled > configure: fdu2000 driver disabled > configure: ** aes1610 driver enabled > configure: ** aes2501 driver enabled > configure: ** aes4000 driver enabled > configure: ** vfs101 driver enabled > configure: ** aeslib helper functions enabled > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating libfprint.pc > config.status: creating Makefile > config.status: creating libfprint/Makefile > config.status: creating examples/Makefile > config.status: creating doc/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands >>>> Source configured. >>>> Compiling source >>>> in /var/tmp/portage/sys-auth/libfprint-0.4.0/work/v_0_4_0 ... > make -j3 > make all-recursive > make[1]: Entering directory > `/var/tmp/portage/sys-auth/libfprint-0.4.0/work/v_0_4_0' Making all in > libfprint make[2]: Entering directory > `/var/tmp/portage/sys-auth/libfprint-0.4.0/work/v_0_4_0/libfprint' > CC libfprint_la-async.lo CC libfprint_la-data.lo > CC libfprint_la-core.lo > In file included from data.c:31:0: > fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG' > In file included from fp_internal.h:27:0, > from data.c:31: > /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of > 'LOG_LEVEL_DEBUG' was here In file included from data.c:31:0: > fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO' > In file included from fp_internal.h:27:0, > from data.c:31: > /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of > 'LOG_LEVEL_INFO' was here In file included from data.c:31:0: > fp_internal.h:38:2: error: redeclaration of enumerator > 'LOG_LEVEL_WARNING' In file included from fp_internal.h:27:0, > from data.c:31: > /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of > 'LOG_LEVEL_WARNING' was here In file included from data.c:31:0: > fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR' > In file included from fp_internal.h:27:0, > from data.c:31: > /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of > 'LOG_LEVEL_ERROR' was here make[2]: *** [libfprint_la-data.lo] Error 1 > make[2]: *** Waiting for unfinished jobs.... > In file included from async.c:26:0: > fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG' > In file included from fp_internal.h:27:0, > from async.c:26: > /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of > 'LOG_LEVEL_DEBUG' was here In file included from async.c:26:0: > fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO' > In file included from fp_internal.h:27:0, > from async.c:26: > /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of > 'LOG_LEVEL_INFO' was here In file included from async.c:26:0: > fp_internal.h:38:2: error: redeclaration of enumerator > 'LOG_LEVEL_WARNING' In file included from fp_internal.h:27:0, > from async.c:26: > /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of > 'LOG_LEVEL_WARNING' was here In file included from async.c:26:0: > fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR' > In file included from fp_internal.h:27:0, > from async.c:26: > /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of > 'LOG_LEVEL_ERROR' was here make[2]: *** [libfprint_la-async.lo] Error 1 > In file included from core.c:28:0: > fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG' > In file included from core.c:26:0: > /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of > 'LOG_LEVEL_DEBUG' was here In file included from core.c:28:0: > fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO' > In file included from core.c:26:0: > /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of > 'LOG_LEVEL_INFO' was here In file included from core.c:28:0: > fp_internal.h:38:2: error: redeclaration of enumerator > 'LOG_LEVEL_WARNING' In file included from core.c:26:0: > /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of > 'LOG_LEVEL_WARNING' was here In file included from core.c:28:0: > fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR' > In file included from core.c:26:0: > /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of > 'LOG_LEVEL_ERROR' was here make[2]: *** [libfprint_la-core.lo] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/sys-auth/libfprint-0.4.0/work/v_0_4_0/libfprint' > make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory > `/var/tmp/portage/sys-auth/libfprint-0.4.0/work/v_0_4_0' make: *** > [all] Error 2 > > _______________________________________________ > fprint mailing list > fprint@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/fprint > _______________________________________________ fprint mailing list fprint@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/fprint