[Buildroot] libtool-1.5.20 error building libusb-0.1.10a

Mark Currie mark at ziliant.com
Fri Oct 20 08:27:24 UTC 2006

> -----Original Message-----
> From: buildroot-bounces at uclibc.org 
> [mailto:buildroot-bounces at uclibc.org] On Behalf Of Mark Currie
> Sent: 16 October 2006 03:59 PM
> To: buildroot at uclibc.org
> Subject: [Buildroot] libtool-1.5.20 error building libusb-0.1.10a
> Hi,
> I managed to solve my first problem building libusb (g++ not 
> installing) by first doing a buildroot make clean. However I 
> now get the following error from libtool:
> if /bin/sh ./libtool --mode=compile
> /home/markc/buildroot/build_arm_nofpu/libusb-0.1.12/compile
> /home/markc/buildroot/build_arm_nofpu/staging_dir/bin/arm-linu
> -DHAVE_CONFIG_H   -I.  -Werror  -Os -pipe  -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[2]: *** [usb.lo] Error 1
> make[2]: Leaving directory
> `/home/markc/buildroot/build_arm_nofpu/libusb-0.1.12'make[1]: 
> *** [install-recursive] Error 1
> make[1]: Leaving directory
> `/home/markc/buildroot/build_arm_nofpu/libusb-0.1.12'make: 
> *** 
> [/home/markc/buildroot/build_arm_nofpu/root/usr/lib/libusb.so] Error 2
> Cannot find any refs to this error. Can anyone help ?
> Cross-compile platform is arm920-T using gcc-3.4.4 
> libtool-1.5.20, libusb-0.1.10a
> Markc

I eventually found a method of solving this problem. Even though it is not
the best way to fix it, I think that it is worth posting in case someone
else has the same problem.

To fix the problem append "--tag=CC" (without quotes) to the value of
$(LIBTOOL) in both the main makefile and the test makefile for libusb.


More information about the buildroot mailing list