Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-14-2007, 10:08 PM   #1
Registered: Nov 2006
Location: Tennessee
Distribution: Fedora Core 12
Posts: 49

Rep: Reputation: 15 compile error, VServer/Grsecurity patch.

I just tried compiling the latest stable version of Linux-VServer into a new kernel from and now I'm getting a few errors which read as follows:

init/built-in.o: In function 'try_name':
do_mounts.c.text+0x503): undefined reference to `__stack_chk_fail'
init/built-in.o: In function 'name_to_dev_t':
(.text+0x7eb): undefined reference to `__stack_chk_fail'
init/built-in.o: In function 'change_floppy':
(.init.text+0x9c1):undefined reference to `__stack_chk_fail'
init/built-in.o: In function 'mount_block_root':
(.init.text+0xc57):undefined reference to `__stack_chk_fail'
init/built-in.o: In function 'do_header':
initramfs.c.init.text+0x4323):undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o.text+0x5261):more undefined references to `__stack_chk_fail' follow
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-'
make: *** [debian/stamp-build-kernel] Error 2
From the looks of this it seems the only thing that's missing is __stack_chk_fail, but how can this be fixed? If there was something I forgot to compile in through menuconfig I'd have to know what it is.

Would I have better luck on the grsecurity forums or just by using a different release?

(EDIT: okay, if CFLAGS -fno-stack-protector doesn't work I'll just have to find another way.)

Last edited by StarsAndBars14; 02-14-2007 at 10:39 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
will grsecurity kernel 2.6.5 patch work against 2.6.7? TheOneAndOnlySM Linux - Security 3 07-12-2004 07:27 PM
No more modules after kernel compile w/ ck patch uglydot Slackware 3 11-10-2003 04:04 PM
ACPI patch and kernel compile error crisponions Linux - Laptop and Netbook 3 10-29-2003 07:52 PM
Kernel Compile error after applyin bootsplash patch h1tman Slackware 0 10-06-2003 10:05 AM
INFO: creating a special secured kernel (grsecurity kernel patch) w sysctl config markus1982 Linux - Security 0 05-25-2003 06:29 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration