j'ai le pb suivant quand je tente de compiler lib32-libusb-compat
Code : Tout sélectionner
makepkg -s
==> Création du paquet lib32-libusb-compat 0.1.4-1 (mar. juin 26 12:49:11 CEST 2012)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> libusb-compat-0.1.4.tar.bz2 trouvé
==> Validation des fichiers sources avec md5sums...
libusb-compat-0.1.4.tar.bz2 ... Réussite
==> Extraction des sources...
-> Extraction de libusb-compat-0.1.4.tar.bz2 avec bsdtar
==> Suppression du répertoire pkg/ existant…
==> Lancement de build()...
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 for gcc... gcc -m32
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 gcc -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -m32... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -m32... /usr/bin/ld
checking if the linker (/usr/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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -m32 object... ok
checking how to run the C preprocessor... gcc -m32 -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 gcc -m32 supports -fno-rtti -fno-exceptions... no
checking for gcc -m32 option to produce PIC... -fPIC -DPIC
checking if gcc -m32 PIC flag -fPIC -DPIC works... yes
checking if gcc -m32 static flag -static works... yes
checking if gcc -m32 supports -c -o file.o... yes
checking if gcc -m32 supports -c -o file.o... (cached) yes
checking whether the gcc -m32 linker (/usr/bin/ld -m elf_i386) 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... yes
checking for inline... inline
checking whether gcc -m32 and cc understand -c and -o together... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB_1_0... yes
configure: creating ./config.status
config.status: creating libusb.pc
config.status: creating libusb-config
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
make all-recursive
make[1] : on entre dans le répertoire « /data/build/lib32-libusb-compat/btmp/src/libusb-compat-0.1.4 »
Making all in libusb
make[2] : on entre dans le répertoire « /data/build/lib32-libusb-compat/btmp/src/libusb-compat-0.1.4/libusb »
/bin/sh ../libtool --tag=CC --mode=compile gcc -m32 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -I/usr/include/libusb-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libusb_la-core.lo -MD -MP -MF .deps/libusb_la-core.Tpo -c -o libusb_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile: gcc -m32 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -I/usr/include/libusb-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT libusb_la-core.lo -MD -MP -MF .deps/libusb_la-core.Tpo -c core.c -fPIC -DPIC -o .libs/libusb_la-core.o
core.c:35:6: error: nested redefinition of 'enum usbi_log_level'
core.c:35:6: error: redeclaration of 'enum usbi_log_level'
In file included from core.c:27:0:
/usr/include/libusb-1.0/libusb.h:962:6: note: originally defined here
core.c:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'
In file included from core.c:27:0:
/usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of 'LOG_LEVEL_DEBUG' was here
core.c:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO'
In file included from core.c:27:0:
/usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of 'LOG_LEVEL_INFO' was here
core.c:38:2: error: redeclaration of enumerator 'LOG_LEVEL_WARNING'
In file included from core.c:27:0:
/usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of 'LOG_LEVEL_WARNING' was here
core.c:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR'
In file included from core.c:27:0:
/usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of 'LOG_LEVEL_ERROR' was here
make[2]: *** [libusb_la-core.lo] Erreur 1
make[2] : on quitte le répertoire « /data/build/lib32-libusb-compat/btmp/src/libusb-compat-0.1.4/libusb »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /data/build/lib32-libusb-compat/btmp/src/libusb-compat-0.1.4 »
make: *** [all] Erreur 2
==> ERREUR : Une erreur s'est produite dans build().
Abandon...