Everything has been working fine up to this point. In the archives, I found where someone had a similar problem where ncurses choked in the configure stage. with a series of /lib/libc.so.6: undefined reference messages.
http://archives.linuxfromscratch.org/mail-archives/lfs-support/2005-July/027675.html When I run ./configure it runs fine, finishing with: ** Configuration summary for NCURSES 5.4 20040208: bin directory: /tools/bin lib directory: /tools/lib include directory: /tools/include man directory: /tools/man terminfo directory: /tools/share/terminfo [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.4$ However, when I try to run make I get: cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -c ../c++/demo.cc /usr/bin/g++ -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform -lmenu -lpanel -lncurses -Wl,-rpath,/mnt/lfs/sources/ncurses-5.4/lib -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' ../lib/libform.so: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[1]: *** [demo] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.4/c++' make: *** [all] Error 2 [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.4$ Someone suggested in the thread I read to try running the readelf command against programs that have been built since the test compile. when I do, I get ouput similar to this every time: [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.4$ readelf -l /tools/bin/xgettext Elf file type is EXEC (Executable file) Entry point 0x804a900 There are 7 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x08048034 0x08048034 0x000e0 0x000e0 R E 0x4 INTERP 0x000114 0x08048114 0x08048114 0x00019 0x00019 R 0x1 [Requesting program interpreter: /tools/lib/ld-linux.so.2] LOAD 0x000000 0x08048000 0x08048000 0x61a70 0x61a70 R E 0x1000 LOAD 0x062000 0x080aa000 0x080aa000 0x00734 0x01a18 RW 0x1000 DYNAMIC 0x062014 0x080aa014 0x080aa014 0x000e8 0x000e8 RW 0x4 NOTE 0x000130 0x08048130 0x08048130 0x00020 0x00020 R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag 06 [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.4$ Why has make suddenly decide to link against /lib/libc.so.6? Can I fix it, or do I need to start over? Thanks in advance for any help -Kevin Connor -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
