Problems with C/c++ compiler

sizo nsibande ooziss at gmail.com
Mon Mar 5 22:58:12 PST 2007


Well it started installing on the make for about 7 minutes then just
went dead and now I have a different error:


/LFS/sources/glibc-build/elf/librtld.os:/LFS/sources/glibc-2.3.6/elf/dl-load.c:1660:
more undefined references to `__stack_chk_fail_local' follow
collect2: ld returned 1 exit status
make[2]: *** [/LFS/sources/glibc-build/elf/ld.so] Error 1
make[2]: Leaving directory `/LFS/sources/glibc-2.3.6/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/LFS/sources/glibc-2.3.6'
make: *** [all] Error 2

My superviser who says he does not want to spoon feed me says one of
my problems is that I am still using

"root at monox:~# gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root at monox:~# which gcc
/usr/bin/gcc"

and i need to change and start using the C compiler located at

"root at monox:~# /tools/bin/gcc --version
gcc (GCC) 4.0.3
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."



More information about the alfs-discuss mailing list