Dear all,
I have an AMD 64 bit processor with Fedore Core 3 as a
base system and I am trying to compile LFS 6.0. I have
followed the book without any deviations but on GCC
3.4.1 Pass 2 in Chapter 5 I get this coilation error:-
-----------------------------------------------
Configuring in x86_64-unknown-linux-gnu/libstdc++-v3
configure: loading cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type...
x86_64-unknown-linux-gnu
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc...
/mnt/lfs/sources/gcc-build/gcc/xgcc
-B/mnt/lfs/sources/gcc-build/gcc/
-B/tools/x86_64-unknown-linux-gnu/bin/
-B/tools/x86_64-unknown-linux-gnu/lib/ -isystem
/tools/x86_64-unknown-linux-gnu/include -isystem
/tools/x86_64-unknown-linux-gnu/sys-include
checking for C compiler default output... 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
------------------------------------------------------
The config.log is as follows:-
------------------------------------------------------
loading cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type...
x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached)
/usr/bin/install -c
*** This configuration is not supported in the
following subdirectories:
target-libf2c target-libffi target-boehm-gc
target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... (cached) ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... (cached) as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for x86_64-unknown-linux-gnu-ld... (cached)
/mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... (cached) nm
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... (cached) windres
checking for x86_64-unknown-linux-gnu-objcopy... no
checking for objcopy... (cached) objcopy
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... (cached) objdump
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... (cached) ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... (cached) as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... (cached) dlltool
checking for x86_64-unknown-linux-gnu-ld... no
checking for ld... (cached) ld
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... (cached) nm
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... (cached) ranlib
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... (cached) windres
checking whether to enable maintainer-specific
portions of Makefiles... no
creating ./config.status
creating Makefile
-----------------------------------------------------
I compiled LFS 5.0 long time back when I had a Debian
Sarge system and a Pentium IV processor but this my
first attemp with a 64-bit system. Can anyone suggest
anything?
Thanks and regards,
Shivkumar Iyer.
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page