Hi, I 'm trying to build Linux from Scratch as it is described in the Online-Book (version for gcc4.01).
In chapter 6.14 when I try to "make" the binaries, the isntallation stops with this error message: . . . make[2]: Entering directory `/sources/gcc-build/gcc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sources/gcc-build/gcc' make[1]: Leaving directory `/sources/gcc-build/gcc' Checking multilib configuration... multilib.out is unchanged Configuring in i686-pc-linux-gnu/libstdc++-v3 configure: loading cache ./config.cache checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... /sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/software/base/gcc/i686-pc-linux-gnu/bin/ -B/software/base/gcc/i686-pc-linux-gnu/lib/ -isystem /software/base/gcc/i686-pc-linux-gnu/include -isystem /software/base/gcc/i686-pc-linux-gnu/sys-include checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make: *** [configure-target-libstdc++-v3] Error 1 I had no single problem in the chapters before and each sanity test was passed. The only difference to the book is that I move the files in separate folder (ex gcc -> /software/base/gcc, glibc --> /software/libraries/glibc etc.) and hard-link each single file to /usr (of course /software/base/gcc/bin/* -> /usr/bin/*, /software/libraries/etc/* -> /etc/*). config.log says: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:595: checking host system type configure:616: checking target system type configure:634: checking build system type configure:689: checking for a BSD compatible install configure:742: checking whether ln works configure:766: checking whether ln -s works configure:1808: checking for gcc configure:1921: checking whether the C compiler (gcc ) works configure:1937: gcc -o conftest conftest.c 1>&5 configure:1963: checking whether the C compiler (gcc ) is a cross-compiler configure:1968: checking whether we are using GNU C configure:1977: gcc -E conftest.c configure:1996: checking whether gcc accepts -g configure:2063: checking for gnatbind configure:2128: checking whether compiler driver understands Ada configure:2160: checking how to compare bootstrapped objects configure:2258: checking for correct version of gmp.h configure:2271: gcc -c -g -O2 conftest.c 1>&5 configure:2261:17: error: gmp.h: No such file or directory configure: In function 'main': configure:2265: error: 'choke' undeclared (first use in this function) configure:2265: error: (Each undeclared identifier is reported only once configure:2265: error: for each function it appears in.) configure:2265: error: syntax error before 'me' configure: failed program was: #line 2260 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 3 choke me #endif ; return 0; } configure:2784: checking for bison configure:2819: checking for bison configure:2819: checking for byacc configure:2819: checking for yacc configure:2854: checking for gm4 configure:2854: checking for gnum4 configure:2854: checking for m4 configure:2889: checking for flex configure:2924: checking for flex configure:2924: checking for lex configure:2959: checking for makeinfo configure:3606: checking for i686-pc-linux-gnu-ar configure:3639: checking for ar configure:3678: checking for i686-pc-linux-gnu-as configure:3711: checking for as configure:3750: checking for i686-pc-linux-gnu-dlltool configure:3783: checking for dlltool configure:3822: checking for i686-pc-linux-gnu-ld configure:3894: checking for i686-pc-linux-gnu-nm configure:3927: checking for nm configure:3966: checking for i686-pc-linux-gnu-ranlib configure:3999: checking for ranlib configure:4038: checking for i686-pc-linux-gnu-windres configure:4071: checking for windres configure:4110: checking for i686-pc-linux-gnu-objcopy configure:4143: checking for objcopy configure:4182: checking for i686-pc-linux-gnu-objdump configure:4215: checking for objdump configure:4261: checking for i686-pc-linux-gnu-ar configure:4294: checking for ar configure:4333: checking for i686-pc-linux-gnu-as configure:4366: checking for as configure:4405: checking for i686-pc-linux-gnu-dlltool configure:4438: checking for dlltool configure:4477: checking for i686-pc-linux-gnu-ld configure:4510: checking for ld configure:4549: checking for i686-pc-linux-gnu-nm configure:4582: checking for nm configure:4621: checking for i686-pc-linux-gnu-ranlib configure:4654: checking for ranlib configure:4693: checking for i686-pc-linux-gnu-windres configure:4726: checking for windres configure:4811: checking whether to enable maintainer-specific portions of Makefiles configure:4858: checking if symbolic links between directories work I configured gcc with: ../gcc-4.0.1/configure --prefix=/software/base/gcc --libexecdir=/software/base/gcc/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ What must I do to solve this problem? Thank you in advance. Oli4 ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page