[uClibc]compile uclibc only with static gcc
Claus Rosenberger
Claus.Rosenberger at rocnet.de
Fri May 3 15:28:54 UTC 2002
> Ok, sorry I am confused... I was thinking you were trying to
> compile application code using uClibc, which was why i suggested
> using the uClibc wrapper. You are trying to compile uClibc
> itself. Lets go back to the beginning, before you changed
> things. Can you show me what the error was then?
>
> -Erik
ok, first i tell you something about my installation.
i have following packages installed (staticly linked) :
gcc, bash, binutils, bzip2, diffutils, gawk, grep, gzip, kernel-headers,
make, patch, sed, sh-utils, tar, texinfo, textutils, findutils, which (all
the newest version)
i have done a chroot now and want to start to compile the uclibc.
this was the error :
rm -f include/asm;
rm -f include/linux
ln -fs /usr/src/linux/include/linux include/linux
rm -rf include/bits
mkdir -p include/bits
+ rm -f include/bits/syscall.h
+ TOPDIR=./
+ CC=gcc
+ /bin/sh .//extra/scripts/gen_bits_syscall_h.sh
make -C libc/sysdeps/linux/i386 headers
make[1]: Entering directory `/usr/local/src/uClibc/libc/sysdeps/linux/i386'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory `/usr/local/src/uClibc/libc/sysdeps/linux/i386'
make -C extra
make[1]: Entering directory `/usr/local/src/uClibc/extra'
make -C gcc-uClibc
make[2]: Entering directory `/usr/local/src/uClibc/extra/gcc-uClibc'
gcc -Wall -O2 -s gcc-uClibc.c -o i386-uclibc-gcc
In file included from gcc-uClibc.c:73:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include/stdio.h:37:23:
features.h: No such file or directory
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include/stdio.h:43, from gcc-uClibc.c:73:
any ideas ?
More information about the uClibc
mailing list