When I performed the sanity check after installing glibc-2.21 I had the 
following problem. Any ideas what I've done wrong? I'm not a complete novice 
but I am new to compiling and setting up GNU/Linux at this level. The files it 
says it can't find are there in the lfs/tools/lib directory as shown below the 
errors.
Thank you for any help provided.

lfs@debianVM:/mnt/lfs$ echo 'main(){}' > dummy.c
lfs@debianVM:/mnt/lfs$ $LFS_TGT-gcc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.9.2/../../../../x86_64-lfs-linux-gnu/bin/ld:
 cannot find crt1.o: No such file or directory
/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.9.2/../../../../x86_64-lfs-linux-gnu/bin/ld:
 cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status


lfs@debianVM:/mnt/lfs/tools/lib$ ls
Mcrt1.o             libcrypt.so.1        libnss_hesiod.so.2
Scrt1.o             libdl-2.21.so        libnss_nis-2.21.so
audit             libdl.a        libnss_nis.so
crt1.o             libdl.so        libnss_nis.so.2
crti.o             libdl.so.2        libnss_nisplus-2.21.so
crtn.o             libg.a            libnss_nisplus.so
gcc             libieee.a        libnss_nisplus.so.2
gconv             libm-2.21.so        libpcprofile.so
gcrt1.o             libm.a            libpthread-2.21.so
ld-2.21.so         libm.so        libpthread.a
ld-linux-x86-64.so.2     libm.so.6        libpthread.so
libBrokenLocale-2.21.so  libmcheck.a        libpthread.so.0
libBrokenLocale.a     libmemusage.so        libpthread_nonshared.a
libBrokenLocale.so     libnsl-2.21.so        libresolv-2.21.so
libBrokenLocale.so.1     libnsl.a        libresolv.a
libSegFault.so         libnsl.so        libresolv.so
libanl-2.21.so         libnsl.so.1        libresolv.so.2
libanl.a         libnss_compat-2.21.so    librpcsvc.a
libanl.so         libnss_compat.so    librt-2.21.so
libanl.so.1         libnss_compat.so.2    librt.a
libc-2.21.so         libnss_db-2.21.so    librt.so
libc.a             libnss_db.so        librt.so.1
libc.so             libnss_db.so.2        libthread_db-1.0.so
libc.so.6         libnss_dns-2.21.so    libthread_db.so
libc_nonshared.a     libnss_dns.so        libthread_db.so.1
libcidn-2.21.so         libnss_dns.so.2    libutil-2.21.so
libcidn.so         libnss_files-2.21.so    libutil.a
libcidn.so.1         libnss_files.so    libutil.so
libcrypt-2.21.so     libnss_files.so.2    libutil.so.1
libcrypt.a         libnss_hesiod-2.21.so
libcrypt.so         libnss_hesiod.so

                                          
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to