On 05/23/2010 08:29 PM, Kyle Brennan wrote: > On 05/23/2010 08:07 PM, Kyle Brennan wrote: > >> On 05/23/2010 07:05 PM, Kyle Brennan wrote: >> >> >>> On 05/23/2010 06:49 PM, Bruce Dubbs wrote: >>> >>>> There wouldn't be a problem as long as you didn't install anything over >>>> a file in the /usr tree, but I suggest you delete /tools and any >>>> subdirectories in /mnt/lfs/sources and completely and start over. >>>> >>>> -- Bruce >>>> >>>> >>>> >>>> >>> Just an update now that I checked, I do have some directories in the >>> $LFS/tools directory. I will remove them and try building it all again. >>> >>> >>> >> so I was running the gcc configure and I saw this warning message. I >> wanted to check to see if it was normal or not. >> >> checking whether we are using the GNU C++ compiler... no >> checking whether g++ accepts -g... no >> checking for gnatbind... no >> checking for gnatmake... no >> checking whether compiler driver understands Ada... no >> checking how to compare bootstrapped objects... cmp --ignore-initial=16 >> $$f1 $$f2 >> checking for version 0.10 of PPL... no >> checking for correct version of CLooG... no >> *** This configuration is not supported in the following subdirectories: >> target-libada gnattools target-libstdc++-v3 target-libgfortran >> target-libffi target-zlib target-libjava zlib target-libobjc >> target-libgomp target-libmudflap target-libssp target-boehm-gc >> (Any other directories should still work fine.) >> checking for bison... bison -y >> checking for bison... bison >> checking for gm4... no >> checking for gnum4... no >> checking for m4... m4 >> >> --Kyle >> >> > Bruce, > I think I figured it out. when I was looking at the Gcc compile > instructions, it wanted to make a symlink to the libgcc_eh.a but I do > not think that I made that link properly. I will work on that as well. > I will get that fixed and then post again if it works. > 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': /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_getgr_r': /mnt/lfs/build/glibc-2.11.1/nscd/nscd_getgr_r.c:322: undefined reference to `__sync_fetch_and_add_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:/mnt/lfs/build/glibc-2.11.1/nscd/nscd_gethst_r.c:415: more undefined references to `__sync_fetch_and_add_4' follow /mnt/lfs/build/glibc-build/libc_pic.os: In function `__nscd_get_map_ref': /mnt/lfs/build/glibc-2.11.1/nscd/nscd_helper.c:433: undefined reference to `__sync_val_compare_and_swap_4' /mnt/lfs/build/glibc-build/libc_pic.os: In function `*__GI___libc_freeres': /mnt/lfs/build/glibc-2.11.1/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[1]: *** [/mnt/lfs/build/glibc-build/libc.so] Error 1 make[1]: Leaving directory `/mnt/lfs/build/glibc-2.11.1' make: *** [all] Error 2 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page