System: i-386; Intel Pentium III; Dell Inspiron 2500 laptop
LFS version: 6.1
Topic: Chapter 5; "Adjusting the Toolchain"; sanity check
Host system: Berry Linux LiveCD 0.62 (LFS LiveCD does not boot on my system)

The following is the issue that presents itself when I attempt to perform the sanity check in chapter 5 under "Adjusting the Toolchain" before moving on to the tcl installation:

   lfs:/mnt/lfs/sources$ echo 'main(){}' > dummy.c
   lfs:/mnt/lfs/sources$ cc dummy.c
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
   collect2: ld returned 1 exit status
   lfs:/mnt/lfs/sources$ readelf -l a.out | grep ': /tools'
   readelf: Error: 'a.out': No such file

Trying with gcc instead of cc yields the same error message. I have performed all actions prescribed by the LFS book up to this point, and I have also attempted to correct the issue using the ways prescribed directly below the sanity check commands in the book. I have, however, had trouble with two commands in "Binutils Pass 1." The commands /make -C ld clean/ and /make -C ld LIB_PATH=/tools/lib/ always either yield the messages /ld: no such file or directory/ or /nothing to be done in ld/. So, instead, I issued the command /make ld LIB_PATH=/tools/lib/, which seemed to have worked, but I am uncertain. I do not know if this is the cause of the sanity check problem, but I find that it is difficult to connect these two process failures. But I could be wrong, of course. Any help would be greatly appreciated, as I am no longer able to configure or make any packages. Thank you.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to