Hello all
ok ok ok, I know this question was asked many times, I did search through
your mailing list! But all the answers I got didn't work for me, I added
"CC='gcc -s'" to my ~/.bashrc, I tried finding glibc-devel, which I failed,
no package with such name in my Ubuntu 6.10 and I couldn't find any other
solution in my Linux From Scratch Book version 6.3; I also looked at the
config.log file, this is sort of what I get after many tries:
#################################
[EMAIL PROTECTED]> CC="gcc -B/usr/bin/" ../binutils-2.17/configure
--prefix=/tools --disable-nls --disable-werror
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking build system type... i686-pc-linux-gnulibc1
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 -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/ ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
[EMAIL PROTECTED]> cat ~/.bashrc
set +h
umask 022
LFS=/media/lfs
LC_ALL=POSIX
CC='gcc -s'
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL PATH CC
[EMAIL PROTECTED]> cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:611: checking host system type
configure:632: checking target system type
configure:650: checking build system type
configure:705: checking for a BSD compatible install
configure:758: checking whether ln works
configure:782: checking whether ln -s works
configure:1867: checking for gcc
configure:1980: checking whether the C compiler (gcc -B/usr/bin/ ) works
configure:1996: gcc -B/usr/bin/ -o conftest conftest.c 1>&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1991 "configure"
#include "confdefs.h"
main(){return(0);}
#############################################
As you can see with the highlighted text, it say there's no /usr/bin/ld
directory, what's that directory and should I just create it?! I guess not!
Sorry that I seems so lost to you pros, it's because I'm lost! What should I
do? I really wana do this lfs thing, but I'm getting errors from the 1st
package! Any chance for me?!
cheers,
bijan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page