Error with libusb-0.1.12
Hej!
Builtroot stops building with an error, I tried several different snapshots from July to August and all break with complaining about libtool and unrecognized option `-DHAVE_CONFIG_H'.
It happens even when I build an almost clean config with the only change to libusb enabled. Then I tried the same with 386. No difference, same fault.
Best regards,
Emil Kr?per
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so) /home/buildroot/buildroot-20070821/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o /home/buildroot/buildroot-20070821/build_i586/staging_dir/usr/bin/i586-linux-uclibc-ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
if /bin/sh ./libtool --mode=compile -DHAVE_CONFIG_H -I. -g -O2 -MT
usbpp.lo -MD -MP -MF ".deps/usbpp.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f
".deps/usbpp.Tpo"; exit 1; fi
libtool: unrecognized option `-DHAVE_CONFIG_H'
Try `libtool --help' for more information.
make[3]: *** [usbpp.lo] Error 1
make[3]: Leaving directory
`/home/buildroot/buildroot-20070821/build_i586/libusb-0.1.12'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/buildroot/buildroot-20070821/build_i586/libusb-0.1.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/buildroot/buildroot-20070821/build_i586/libusb-0.1.12'
make: ***
[/home/buildroot/buildroot-20070821/build_i586/staging_dir/lib/libusb.so] Error 2
PC-EK:/home/buildroot/buildroot-20070821#
Quoted 7 lines · Emil Kr?per
Hej!
Builtroot stops building with an error, I tried several different snapshots from July to August and all break with complaining about libtool and unrecognized option `-DHAVE_CONFIG_H'.
It happens even when I build an almost clean config with the only change to libusb enabled. Then I tried the same with 386. No difference, same fault.
Builds fine for me (>= r19625). Please confirm
Quoted 10 lines · Bernhard Fischer
Quoted 7 lines · Emil Kr?per
Hej!
Builtroot stops building with an error, I tried several different snapshots from July to August and all break with complaining about libtool and unrecognized option `-DHAVE_CONFIG_H'.
It happens even when I build an almost clean config with the only change to libusb enabled. Then I tried the same with 386. No difference, same fault.Builds fine for me (>= r19625). Please confirm
At first, my apologies for starting a new thread, I am not that familiar with the use of mailingslist and hope this one goes where it belongs. So now I am back at work again and tried building r19625 at my debian etch x86 box and the only change to the default config was activating libusb.
Best regards
Emil Kr?per
And here comes the error:
config.status: creating config.h
config.status: config.h is unchanged/usr/bin/make all-recursive
make[2]: Entering directory `/home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12' Making all in .
make[3]: Entering directory `/home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12' if /bin/sh ./libtool
--mode=compile /home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12/compile /home/buildroot/buildroot_r19625/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -Os -pipe -I/home/buildroot/buildroot_r19625/build_i386/staging_dir/usr/include -I/home/buildroot/buildroot_r19625/build_i386/staging_dir/include --sysroot=/home/buildroot/buildroot_r19625/build_i386/staging_dir/ -isysroot /home/buildroot/buildroot_r19625/build_i386/staging_dir -mtune=i386 -march=i386 -DHAVE_CONFIG_H -I. -Werror -g -O2 -Wall -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" -c -o usb.lo usb.c; \
then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; else rm -f
".deps/usb.Tpo"; exit 1; fi
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [usb.lo] Error 1
make[3]: Leaving directory `/home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/buildroot/buildroot_r19625/build_i386/libusb-0.1.12'
make: *** [/home/buildroot/buildroot_r19625/build_i386/staging_dir/lib/libusb.so] Error 2
real 31m19.975s user 19m16.216s sys 3m24.281s
PC-EK:/home/buildroot/buildroot_r19625#