Glibc error
Everything went smoothly until /***/LFS-BOOK-6.0-HTML/chapter06/glibc.html
error given below: ------------------------------------------------------------------------------ ../glibc-2.3.4-20040701/configure --prefix=/usr \ > --disable-profile --enable-add-ons=nptl --with-tls \ > --with-__thread --enable-kernel=2.6.0 --without-cvs \ > --libexecdir=/usr/lib/glibc \ > --with-headers=/tools/glibc-kernheaders checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686 nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /tools/bin/install -c checking whether ln -s works... yes checking for gcc... gcc checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. ---------------------------------------- My host environment: [alex@localhost ~]$ gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4) And run /mnt/lfs/tools/bin/gcc -v(same as g++ -v ) ,It listed like this: [alex@localhost /mnt/lfs/tools/bin]$ ./gcc -v Reading specs from /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs Configured with: ../gcc-3.4.1/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c : (reconfigured) ../gcc-3.4.1/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch Thread model: posix gcc version 3.4.1 Someone got that error too,But not a right answer was given out, |
google "cannot compute suffix of object files: cannot compile",
similar posts in inuxquestions.org ,no answers |
|
All times are GMT -5. The time now is 12:23 AM. |