The problems of compiling grub-0.97-os.6

cheng.guanghui.ml cheng.guanghui at gmail.com
Thu Nov 29 18:55:09 CET 2007


Hi:
	I compile the grub-0.97 patched the os.6 provided by Adam home page. But 
there are some error messages like following:

pre_stage2_exec-bios.o: In function `get_cdinfo':
/home/cheng/tudos/grub-0.97/stage2/bios.c:179: undefined reference to 
`__stack_chk_fail'
pre_stage2_exec-bios.o: In function `get_diskinfo':
/home/cheng/tudos/grub-0.97/stage2/bios.c:317: undefined reference to 
`__stack_chk_fail'
pre_stage2_exec-boot.o: In function `load_image':
/home/cheng/tudos/grub-0.97/stage2/boot.c:759: undefined reference to 
`__stack_chk_fail'
pre_stage2_exec-builtins.o: In function `blocklist_func':
/home/cheng/tudos/grub-0.97/stage2/builtins.c:224: undefined reference to 
`__stack_chk_fail'
pre_stage2_exec-builtins.o: In function `embed_func':
/home/cheng/tudos/grub-0.97/stage2/builtins.c:1191: undefined reference to 
`__stack_chk_fail'
pre_stage2_exec-builtins.o:/home/cheng/tudos/grub-0.97/stage2/builtins.c:1350: 
more undefined references to `__stack_chk_fail' follow
collect2: ld returned 1 exit status

	gcc version: 4.1.3
	OS: ubuntu 7.10 gutsy




More information about the l4-hackers mailing list