I don't think you used the ssp patch in for libc. The undefined reference error is because there is no __guard function in libc.so.
robert On August 26, 2005 08:55 pm, David Ciecierski wrote: > Hello, > Just starting HLFS and came across this error. I'm quite sure I did > everything as I was supposed to - perhaps maybe except some innocent > optimizations. I did remember to apply patches and stuff. My host system > is LFS SVN ~2005.08, so pretty recent. Can you please point me where > things could have gone wrong? > > Regards, > David Ciecierski > > PS: Full output: > > hlfs:/mnt/hlfs/sources/gcc-build$ gcc -o test test.c > /tmp/ccknw0vc.o: In function `overflow': > test.c:(.text+0x14): undefined reference to `__guard' > test.c:(.text+0x3f): undefined reference to `__guard' > test.c:(.text+0x5b): undefined reference to `__stack_smash_handler' > /tmp/ccknw0vc.o: In function `main': > test.c:(.text+0x8f): undefined reference to `__guard' > test.c:(.text+0xa0): undefined reference to `__guard' > test.c:(.text+0xd6): undefined reference to `__guard' > test.c:(.text+0xf2): undefined reference to `__stack_smash_handler' > collect2: ld returned 1 exit status > hlfs:/mnt/hlfs/sources/gcc-build$ -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
