Glibc 2.3.2 failure
Fri Jan 23 18:15:00 GMT 2004
Roman Duka wrote:
> hi there, i'm not building a cross compiler, just trying to compile
> glibc 2.3.2 in a chroot environment with gcc 3.3.2
> has anyone seen the following error message and where should i look for
> the problem?
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> i've checked config.log, and it's got loads of error message, like
> missing files etc, any ideas how to fix it?
> configure:3108: checking for gcc option to accept ANSI C
> configure:3169: gcc -c -g -O2 conftest.c >&5
> configure:3125:19: stdio.h: No such file or directory
> configure:3126:23: sys/types.h: No such file or directory
> configure:3127:22: sys/stat.h: No such file or directory
Your chroot environment looks incomplete.
But why bother with a chroot environment? Building a self-cross compiler
with crosstool will probably do about what you want with less fuss...
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc