On Wed, 21 Mar 2012 13:02:09 +0000 "siefke_lis...@web.de" <siefke_lis...@web.de> wrote:
> Hello, > > now in Build LFS System, GCC come the error again. > > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/./gcc/ > -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ > -isystem /usr/i686-pc-linux-gnu/include > -isystem /usr/i686-pc-linux-gnu/sys-include accepts -g... yes checking > for /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/./gcc/ > -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ > -isystem /usr/i686-pc-linux-gnu/include > -isystem /usr/i686-pc-linux-gnu/sys-include option to accept ISO C89... > unsupported checking how to run the C preprocessor... /lib/cpp configure: > error: in `/sources/gcc-build/i686-pc-linux-gnu/libgcc': configure: error: C > preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. > make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory > `/sources/gcc-build' make: *** [all] Error 2 > > > The config.log find under http://nopaste.info/87120df9c2.html. > > I have deleteted the folder and start with new gcc folders. But the error > message come again. Whereabouts in the book are you? Is this in /tools or in chroot? /sources/gcc-4.6.2/libgcc/configure: line 1441: /lib/cpp: No such file or directory It looks like you're in chroot 'cos it says /sources/gcc-4.6.2, in which case, why's it looking for /lib/cpp? We don't create /lib/cpp until after we've installed gcc, while you're configuring gcc, cpp should be /tools/lib/cpp. I suspect that something has gone wrong while you were adjusting the toolchain, but I don't know what. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page