[Buildroot] Buildroot 2010 rc2 fails to build

Chris Kerios ckerios at gmail.com
Tue May 11 22:29:49 UTC 2010

I am building for a Geode LX using the latest release candidate - rc2.  I am
getting a failure when buildroot is building the gdb 6.8 packages.  It is
trying to resolve an undefined reference to "usleep".  The output is
attached below.  I redid my .config to not build the gdb packages and it
then goes on a ways and fails when building busybox with the same unresolved
reference to usleep.  I get successful builds with the 2010.02 release with
no changes in my config file.  Any ideas???

Also, I noticed with the rc2 release the uClibc is prompting me for answers
to questions.  Is this expected to be expected as I don't have to do this
for the 2010.02 release?


-Os -pipe -Os  -mtune=geode -march=geode -D_LARGEFILE_SOURCE
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
/home/chris/buildroot-2010.05-rc2/output/staging -Os -pipe -Os  -mtune=geode
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -isysroot
--sysroot=/home/chris/buildroot-2010.05-rc2/output/staging/ -Wno-error
        -o gdb gdb.o libgdb.a \
           ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-lncurses -lm   ../libiberty/libiberty.a  -ldl -rdynamic
libgdb.a(ser-tcp.o): In function `net_open':
ser-tcp.c:(.text+0x1ee): warning: gethostbyname is obsolescent, use
getnameinfo() instead.
libgdb.a(linux-nat.o): In function `linux_child_follow_fork':
linux-nat.c:(.text+0x4da3): undefined reference to `usleep'
collect2: ld returned 1 exit status
make[3]: *** [gdb] Error 1
make[3]: Leaving directory
make[2]: *** [all-gdb] Error 2
make[2]: Leaving directory
make[1]: *** [all] Error 2
make[1]: Leaving directory
make: ***
Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100511/8893ff9a/attachment.html>

More information about the buildroot mailing list