'Compiler cannot create executables'

Cliff McDiarmid cliffhanger at gardener.com
Tue Aug 30 12:34:21 PDT 2005


Declan wrote on the 28.8.05 
 
> I would first try compiling binutils-2.14 as per ch.6 of the book (i.e. 
> --prefix=/usr --enable-shared or whatever the instructions were 
> I fail to see the value of the chroot. The idea of that is to point at 
> the new root dir, so your new system won't be installed over the old one 
> which is what you want when you're making a new LFS. You are simply 
> employing the compiler, hoping against hope that it will fix your old 
> system. 
>  
> For this compile, I would add /tools/lib and any other /tools lib 
> directories on top of /etc/ld.so.conf, and rerun ldconfig. I would also 
> mangle the path on the console you are building with thusly 
> PATH=/tools:$PATH; 
>  
> Then  try the make install. 
>  
> It may well barf on the includes(/tools/include), which I reckon means 
> another compile option (--INCLUDEDIR=/tools/include ?) or else hacking 
> the makefile 
 
Can't get it any further than 'configure' at present, I'm getting the following error.   Is this a glibc mismatch, can't be, there're both the same? 
 
 
/tools/lib/libc.so.6: undefined reference to `___tls_get_addr at GLIBC_2.3' 
collect2: ld returned 1 exit status 
*** The command '/tools/bin/gcc -o conftest -g -O2   conftest.c' failed. 
*** You must set the environment variable CC to a working compiler. 
 
thanks 
 
MAC 
 

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the blfs-support mailing list