LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Stuck on chapter 5 when building Tcl-8.4.6 For LFS-5.1 (http://www.linuxquestions.org/questions/linux-from-scratch-13/stuck-on-chapter-5-when-building-tcl-8-4-6-for-lfs-5-1-a-195346/)

deMilo 06-19-2004 11:04 AM

Stuck on chapter 5 when building Tcl-8.4.6 For LFS-5.1
 
My host is mdk.10, with kernel 2.6.3-7-mdk.

I found this error when extracting the tcl8.4.6-src.tar.gz

$ tar zxvf tcl8.4.6-src.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Also i got this error when "Adjusting the toolchain" after the Glibc-2.3.3-lfs-5.1 installation :

lfs:~$ echo 'main(){}' > dummy.c
lfs:~$ cc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
lfs:~$ readelf -l a.out | grep ': /tools'
readelf: Error: 'a.out': No such file
lfs:~$

Any help is appreciated. So i may continue my first-LFS building.

Andrew Benton 06-19-2004 03:45 PM

"ld: cannot find -lc" FAQ http://www.linuxfromscratch.org/lfs/...cannot-find-lc

deMilo 06-20-2004 03:31 AM

Ok, Andrew, thanks for pointing me to the faq. I almost forget about this file. I will check it later when i am home, because at this moment i am in office.


All times are GMT -5. The time now is 07:34 PM.