On Sun, Apr 29, 2007 at 09:24:17AM -0500, James E. Bradley wrote:
I'm trying to compile filo-0.5 (It's at the beginning of the tutorial, so I've started there. I may well have other problems later. (If someone wants to send me a compiled linuxbios for the S2882 using the ATI bios with a payload, that would be ok!) The last few lines of the output are:
... make[1]: Leaving directory `/home/jebradl/filo-0.5/drivers/usb' make -C i386 make[1]: Entering directory `/home/jebradl/filo-0.5/i386' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/jebradl/filo-0.5/i386' ld -m elf_i386 -N -T i386/ldscript -o filo main/builtin.o main/grub/builtin.o fs/builtin.o drivers/builtin.o drivers/usb/builtin.o i386/builtin.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/32/libgcc.a main/builtin.o: In function `number': printf.c:(.text+0x924): undefined reference to `__stack_chk_fail' main/builtin.o: In function `elf_load': (.text+0x18c6): undefined reference to `__stack_chk_fail' main/grub/builtin.o: In function `run_menu': stage2.c:(.text+0xe76): undefined reference to `__stack_chk_fail' main/grub/builtin.o: In function `terminfo_func': builtins.c:(.text+0x1510): undefined reference to `__stack_chk_fail' main/grub/builtin.o: In function `md5crypt_func': builtins.c:(.text+0x1c7d): undefined reference to `__stack_chk_fail' main/grub/builtin.o:builtins.c:(.text+0x1db7): more undefined references to `__stack_chk_fail' follow make: *** [filo] Error 1
I've attempted the compile with gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4) on kubuntu feisty.
Try GCC 4.0 or even 3.4.
Thanks, Ward.