Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying the past few days to compile my kernel. However errors keep on appearing. Is there a documentation about these errors? So i would be able to understand them and choose the right options in "menuconfig". I haven't found yet what i am asking for. The ideal of course would be a database, where somebody would right the errors or some key words and would find entries having to do with his problem and how to fix it, or choose the right options in "menuconfig".
By "kernel errors", i mean things like that:
----------------------------------------------------------------------
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/kernel/built-in.o(.text+0xd2b): In function `arch_align_stack':
: undefined reference to `exec_shield_randomize'
arch/i386/kernel/built-in.o(.text+0xea5): In function `randomize_range':
: undefined reference to `exec_shield_randomize'
fs/built-in.o(.text+0x1ef30): In function `load_elf_binary':
: undefined reference to `exec_shield'
fs/built-in.o(.text+0x1f094): In function `load_elf_binary':
: undefined reference to `exec_shield'
make: *** [.tmp_vmlinux1] Error 1
what kernel are you trying to build? Is the build environment set up right - ie have you built a kernel before on this system - esp a clean generic kernel from kernel.org?
My first thing to try would be to check to see if exec_shield (X86_MCE) is selected in Processor type and features and see if it compiles okay with it on... seems to be some component looking for the exec_shield calls to me...
Sorry I don't know of any reference to cover all of this aside from reading errors like these and the kernel docs and so forth...
Hello,
I have difficulties compiling the linux 2.4.25 kernel and I was able to resolve my problems.
My major problem was about understanding the cnfiguration options. One mistake, and I had to start all over again.
In one situation, the kernel compiled correctly, but it could not boot, because of an outdated grub bootloader.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.