View Single Post
  #1  
Old 11th February 2007, 23:27
cio cio is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default kernel compilation error on ubuntu edgy

I have followed the steps on:

http://www.howtoforge.com/kernel_compilation_ubuntu

to recompile the kernel on my ubuntu edgy. Unfortunately in the during the compilation process I get this error:


LD init/built-in.o
LD .tmp_vmlinux1
init/built-in.o: In function `try_name':
do_mounts.c: (.text+0x4a4): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `name_to_dev_t':
(.text+0x789): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `change_floppy':
(.init.text+0x9a1): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `mount_block_root':
(.init.text+0xc03): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `do_header':
initramfs.c: (.init.text+0x4294): undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o: (.text+0x4701): more undefined references to `__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory 'usr/src/linux2.6.16'
make: *** [debian/stamp-build-kernel] Error 2

I have tried to compile different kernel sources( 2.6.16, 2.6.17-10) while running different version of kernels( 2.6.17.10-386, 2.6.17.10-generic, 2.6.17.11-generic). I even tried it on different computers just to see if there is hardware issue or .config problem. ( I always copied .config from the /boot/config-2.6.xx). But I always got the exact same error.
Any help will be very appreciated.(I have to compile this kernel by tuesday as a homework )

Last edited by cio; 11th February 2007 at 23:32.
Reply With Quote
Sponsored Links