Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: buildroot@busybox.net
Subject: [Buildroot] libusb compile error
Date: Tue, 04 Sep 2007 20:08:48 +0100	[thread overview]
Message-ID: <46DDAD40.1090602@carallon.com> (raw)
In-Reply-To: <46DD88A5.5070708@carallon.com>

So I tried to compile libusb with the default buildroot config.

I checked out the latest from svn and the only change I made was to 
enable libusb. This then fails to compile with this error:

/usr/bin/make -j1 -C /home/willw/buildroot/build_i386/libusb-0.1.12
make[1]: Entering directory
`/home/willw/buildroot/build_i386/libusb-0.1.12'
/usr/bin/make  all-recursive
make[2]: Entering directory
`/home/willw/buildroot/build_i386/libusb-0.1.12'
Making all in .
make[3]: Entering directory
`/home/willw/buildroot/build_i386/libusb-0.1.12'
if /bin/sh ./libtool --mode=compile
/home/willw/buildroot/build_i386/libusb-0.1.12/compile
/home/willw/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc
-Os -pipe  -I/home/willw/buildroot/build_i386/staging_dir/usr/include
-I/home/willw/buildroot/build_i386/staging_dir/include
--sysroot=/home/willw/buildroot/build_i386/staging_dir/ -isysroot
/home/willw/buildroot/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/willw/buildroot/build_i386/libusb-0.1.12'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/willw/buildroot/build_i386/libusb-0.1.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/willw/buildroot/build_i386/libusb-0.1.12'
make: *** [/home/willw/buildroot/build_i386/staging_dir/lib/libusb.so]
Error 2

I have not used libtool before, can anyone tell me if those arguments 
look wrong?

Can anyone else get libusb to compile?

Guess I'll spend tomorrow trying to work out how to set the tag.

Thanks,

Will.

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

  reply	other threads:[~2007-09-04 19:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 16:32 [Buildroot] libusb compile error Will Wagner
2007-09-04 19:08 ` Will Wagner [this message]
2007-09-05 12:23   ` [Buildroot] [PATCH] " Will Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DDAD40.1090602@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox