[uClibc] Kernel 2.0.39 && gcc 2.95.3 && uClibc 0.9.20 && compilation problems

Erik Andersen andersen at codepoet.org
Mon Aug 18 22:06:15 UTC 2003


On Mon Aug 18, 2003 at 09:51:08PM +0200, Stefano Balocco wrote:
> Hello!
> i got a strange error on the compilation of uClibc 0.9.20 on a my box...
> when i compile i get this error, after some time:
> 
> 
> make[2]: Entering directory `/tmp/linux/libc/uClibc-0.9.20/ldso/util'
> ln -fs ../../include/elf.h
> gcc -O2 -Wall -D__LDSO_LDD_SUPPORT -DUCLIBC_TARGET_PREFIX=\"/\" \
> -DUCLIBC_DEVEL_PREFIX=\""/usr/i386-linux-uclibc"\" \
>         -DUCLIBC_BUILD_DIR=\"/tmp/linux/libc/uClibc-0.9.20\" \
>         -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -I . \
>         ldd.c -o ldd
> In file included from ldd.c:43:
> bswap.h:33: byteswap.h: No such file or directory

This utility is being compiled for the host system here,
and byteswap.h is provided by uClibc and by glibc.  You
seem to have a compiler that does not provide have an associated
C library, and therefore cannot build stuff for the host system.

Get a fully functional toolchain, or eliminate the steps in
the uClibc build that create tools for the host system.

 -Erik

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



More information about the uClibc mailing list