On 05/23/2010 09:57 PM, Chris Staub wrote: > On 05/24/2010 12:45 AM, Kyle Brennan wrote: > >> I solved the original error (it was a symlink problem with the gcc stem) >> and i got another error: >> >> mv -f /mnt/lfs/build/glibc-build/shlib.ldsT >> /mnt/lfs/build/glibc-build/shlib.lds >> i686-lfs-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs >> -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 >> -B/mnt/lfs/build/glibc-build/csu/ >> -Wl,--version-script=/mnt/lfs/build/glibc-build/libc.map >> -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro >> -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main >> -L/mnt/lfs/build/glibc-build -L/mnt/lfs/build/glibc-build/math >> -L/mnt/lfs/build/glibc-build/elf -L/mnt/lfs/build/glibc-build/dlfcn >> -L/mnt/lfs/build/glibc-build/nss -L/mnt/lfs/build/glibc-build/nis >> -L/mnt/lfs/build/glibc-build/rt -L/mnt/lfs/build/glibc-build/resolv >> -L/mnt/lfs/build/glibc-build/crypt -L/mnt/lfs/build/glibc-build/nptl >> -Wl,-rpath-link=/mnt/lfs/build/glibc-build:/mnt/lfs/build/glibc-build/math:/mnt/lfs/build/glibc-build/elf:/mnt/lfs/build/glibc-build/dlfcn:/mnt/lfs/build/glibc-build/nss:/mnt/lfs/build/glibc-build/nis:/mnt/lfs/build/glibc-build/rt:/mnt/lfs/build/glibc-build/resolv:/mnt/lfs/build/glibc-build/crypt:/mnt/lfs/build/glibc-build/nptl >> -o /mnt/lfs/build/glibc-build/libc.so -T >> /mnt/lfs/build/glibc-build/shlib.lds >> /mnt/lfs/build/glibc-build/csu/abi-note.o >> /mnt/lfs/build/glibc-build/elf/soinit.os >> /mnt/lfs/build/glibc-build/libc_pic.os >> /mnt/lfs/build/glibc-build/elf/sofini.os >> /mnt/lfs/build/glibc-build/elf/interp.os >> /mnt/lfs/build/glibc-build/elf/ld.so -lgcc >> /mnt/lfs/build/glibc-build/libc_pic.os: In function `__libc_fork': >> /mnt/lfs/build/glibc-2.11.1/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79: >> undefined reference to `__sync_bool_compare_and_swap_4' >> /mnt/lfs/build/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref': >> /mnt/lfs/build/glibc-2.11.1/nscd/nscd-client.h:320: undefined reference >> to `__sync_fetch_and_add_4' >> /mnt/lfs/build/glibc-build/libc_pic.os: In function `nscd_getpw_r': >> /mnt/lfs/build/glibc-2.11.1/nscd/nscd_getpw_r.c:233: undefined reference >> to `__sync_fetch_and_add_4' >> /mnt/lfs/build/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref': >> >> I looked at this output and I could not find anything aside from >> libc_pic.os seems to be throwing errors that i do not understand. >> >> Thanks, >> --Kyle >> > These types of errors usually means you don't have CFLAGS set correctly, > which points to some problem with configparms. Do "cat configparms". > It worked, and just a quick question, when you go for pass 2, 3, etc... do you start over with a clean build directory? ex: do you remove the binutils-build directory and then create a new one? for the binutils pass 2 build?
thanks, Kyle -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page