Sir I have attached the text file of the problem faced. Please find it and 
provideĀ  a remedy.
I am using LFS-BOOK-6.7.pdf
With UBUNTU 10.04 LTS as the host
Facing problem in compiling GCC-4.5.1 - Pass 1 package
and the error faced is attached as a text file which is copied from the terminal


Regards,
Mohit Jain
lfs@rkmv-laptop:/mnt/lfs/gcc-build/gcc-4.5.1$ ../gcc-4.5.1/configure \
> --target=$LFS_TGT --prefix=/tools \
> --disable-nls --disable-shared --disable-multilib \
> --disable-decimal-float --disable-threads \
> --disable-libmudflap --disable-libssp \
> --disable-libgomp --enable-languages=c \
> --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
> --without-ppl --without-cloog
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-lfs-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 
$$f2
checking for objdir... .libs
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no
checking gelf.h usability... no
checking gelf.h presence... no
checking for gelf.h... no
checking libelf/libelf.h usability... no
checking libelf/libelf.h presence... no
checking for libelf/libelf.h... no
checking libelf/gelf.h usability... no
checking libelf/gelf.h presence... no
checking for libelf/gelf.h... no
*** This configuration is not supported in the following subdirectories:
     target-libada gnattools target-libstdc++-v3 target-libgfortran 
target-libffi target-zlib target-libjava target-libobjc target-libgomp 
target-libmudflap target-libssp target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for i686-lfs-linux-gnu-cc... no
checking for i686-lfs-linux-gnu-gcc... no
checking for i686-lfs-linux-gnu-c++... no
checking for i686-lfs-linux-gnu-g++... no
checking for i686-lfs-linux-gnu-cxx... no
checking for i686-lfs-linux-gnu-gxx... no
checking for i686-lfs-linux-gnu-gcc... no
checking for i686-lfs-linux-gnu-gcj... no
checking for i686-lfs-linux-gnu-gfortran... no
checking for ar... /tools/i686-lfs-linux-gnu/bin/ar
checking for as... /tools/i686-lfs-linux-gnu/bin/as
checking for dlltool... no
checking for i686-lfs-linux-gnu-dlltool... no
checking for ld... /tools/i686-lfs-linux-gnu/bin/ld
checking for lipo... no
checking for i686-lfs-linux-gnu-lipo... no
checking for nm... /tools/i686-lfs-linux-gnu/bin/nm
checking for objdump... /tools/i686-lfs-linux-gnu/bin/objdump
checking for ranlib... /tools/i686-lfs-linux-gnu/bin/ranlib
checking for strip... /tools/i686-lfs-linux-gnu/bin/strip
checking for windres... no
checking for i686-lfs-linux-gnu-windres... no
checking for windmc... no
checking for i686-lfs-linux-gnu-windmc... no
checking where to find the target ar... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target as... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target cc... just compiled
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... just compiled
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target objdump... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target ranlib... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target strip... pre-installed in 
/tools/i686-lfs-linux-gnu/bin
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
lfs@rkmv-laptop:/mnt/lfs/gcc-build/gcc-4.5.1$ make
make[1]: Entering directory `/mnt/lfs/gcc-build/gcc-4.5.1'
make[2]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/fixincludes'
make[2]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
make  all-recursive
make[3]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
Making all in tests
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests'
Making all in .
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests'
Making all in devel
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/devel'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/devel'
Making all in mpn
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpn'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpn'
Making all in mpz
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpz'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpz'
Making all in mpq
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpq'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpq'
Making all in mpf
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpf'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpf'
Making all in rand
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/rand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/rand'
Making all in misc
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/misc'
Making all in cxx
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/cxx'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/cxx'
Making all in mpbsd
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpbsd'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests/mpbsd'
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tests'
Making all in mpn
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpn'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpn'
Making all in mpz
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpz'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpz'
Making all in mpq
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpq'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpq'
Making all in mpf
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpf'
Making all in printf
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/printf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/printf'
Making all in scanf
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/scanf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/scanf'
Making all in cxx
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/cxx'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/cxx'
Making all in mpbsd
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpbsd'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/mpbsd'
Making all in demos
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos'
Making all in calc
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/calc'
make  all-am
make[6]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/calc'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/calc'
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/calc'
Making all in expr
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/expr'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos/expr'
make[5]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos'
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/demos'
Making all in tune
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tune'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/tune'
Making all in doc
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp/doc'
make[4]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
make[3]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
make[2]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/gmp'
make[2]: Entering directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/mnt/lfs/gcc-build/gcc-4.5.1/host-i686-pc-linux-gnu/intl'
Configuring in host-i686-pc-linux-gnu/mpfr
configure: loading cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for i686-pc-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ICC... no
checking whether gcc and cc understand -c and -o together... yes
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for main in -lm... yes
checking whether time.h and sys/time.h may both be included... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking how to copy va_list... va_copy
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for long long int... yes
checking for intmax_t... yes
checking for working INTMAX_MAX... yes
checking for union fpc_csr... no
checking for fesetround... yes
checking for gcc float-conversion bug... yes, use -ffloat-store
checking for denormalized numbers... yes
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... yes
checking for math/trunc... yes
checking for math/floor... yes
checking for math/ceil... yes
checking for math/rint... yes
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little endian
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
make[1]: *** [configure-mpfr] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-4.5.1'
make: *** [all] Error 2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to