I am still a novice on Linux
I am working on chapter 5.6.1.
I am working on ubuntu 6.10 host
Let me give some background: I am trying to develop a CLFS fro a pentium-M
PrPMC board on a Pentium4 desktop. I have 2.6.18 kernel, and rest(Binutils,
gcc and glibc) are same as in the book. I could make it work till
chapter5.7.1 glibc configure. make failed with threading errors as I was
building for i386 ( I wanted pentium-M or i686 platform).
So, I went back, cleaned up everything and started from scratch and on
chapter 5.6.1 installing GCC 4.1.1. The only stupid thing I did was to try
to install some 686 kernel headers which failed because of some
dependencies.
configure command fails with the following report:
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-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 gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
HERE is the CONFIG.log output:
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (gcc ) works
configure:1954: gcc -o conftest conftest.c 1>&5
/home/lalith/airtegrity/video-codec/tools/bin/ld: warning: ld-linux.so.2,
needed by /lib/libc.so.6, not found (try using -rpath or -rpath-link)
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1949 "configure"
#include "confdefs.h"
main(){return(0);}
I shall be very greatfull if anybody can suggest a workaround or solution
for this
regards
lalith
Lalith..
_________________________________________________________________
Tickle your funny bone with Rahul Phondke
http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifestyleFB_101106_1455.htm
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support