[uClibc]buildroot problems

Erik Andersen andersen at codepoet.org
Thu May 22 20:48:07 UTC 2003


On Thu May 22, 2003 at 02:00:49PM -0700, Matthew Winther wrote:
> I'm having a problem with build root.  Any suggestions would be greatly
> appreciated.  The build is for i386 with a new kernel (downloaded by
> make).
> 
> 
> 
> Output from make follows.....
> 
> make[4]: Leaving directory
> `/root/buildroot/build_i386/binutils-target/bfd/doc'
> /root/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc -c -I..
> -I/root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/..
> -I/root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/../../include -I/root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/../../intl -I../../intl  -g -O2 /root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/chew.c
> /root/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc -o chew
> chew.o  
> ./chew -f
> /root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/doc.str
> </root/buildroot/toolchain_build_i386/binutils-2.13.2.1/bfd/doc/../aoutx.h >aoutx.tmp
> /bin/sh: ./chew: /lib/ld-uClibc.so.0: bad ELF interpreter: No such file
> or directory

The "./chew" application, which is built as part of the binutils
build process, has been linked vs uClibc (the target library)
rather than glibc, which is the C library on your host system.

That is bad.  It looks like I will need to patch up binutils
so it won't do that.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the uClibc mailing list