[问题]ubuntu7.10下编译2.6.15内核老出错
发表于 : 2008-01-12 12:34
因为要做修改内核的试验,老师同一的版本是2.6.15,但是装的是ubuntu7.10内核版本较高,所以想重新编译内核,下了2.6.15的后把配置文件拷贝到2.6.15中后,编译老出现:
init/built-in.o: In function `try_name':
/home/hunk/linux-2.6.15/init/do_mounts.c:116: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `name_to_dev_t':
/home/hunk/linux-2.6.15/init/do_mounts.c:207: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `mount_block_root':
/home/hunk/linux-2.6.15/init/do_mounts.c:317: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `change_floppy':
/home/hunk/linux-2.6.15/init/do_mounts.c:359: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `parse_header':
/home/hunk/linux-2.6.15/init/initramfs.c:108: undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o:/home/hunk/linux-2.6.15/arch/i386/kernel/vm86.c:198: more undefined references to `__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] 错误 1
make[1]: Leaving directory `/home/hunk/linux-2.6.15'
make: *** [debian/stamp-build-kernel] 错误 2
有谁知道怎么回事吗?
init/built-in.o: In function `try_name':
/home/hunk/linux-2.6.15/init/do_mounts.c:116: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `name_to_dev_t':
/home/hunk/linux-2.6.15/init/do_mounts.c:207: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `mount_block_root':
/home/hunk/linux-2.6.15/init/do_mounts.c:317: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `change_floppy':
/home/hunk/linux-2.6.15/init/do_mounts.c:359: undefined reference to `__stack_chk_fail'
init/built-in.o: In function `parse_header':
/home/hunk/linux-2.6.15/init/initramfs.c:108: undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o:/home/hunk/linux-2.6.15/arch/i386/kernel/vm86.c:198: more undefined references to `__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] 错误 1
make[1]: Leaving directory `/home/hunk/linux-2.6.15'
make: *** [debian/stamp-build-kernel] 错误 2
有谁知道怎么回事吗?