Kernel compilation error

I tried to compile the Linux kernel.

I am getting the following error: -

"There is no rule for creating a target arch/x86/kernel/entry_32.o', needed by

arch / x86 / kernel / built-in.o '."

Before that, I configured the kernel (did nothing except the default parameters). configured the kernel using the "make gconfig" command. The configuration has been generated. I am using x86 32 bit machine (Fedora 9), version 2.6.30.

Finally, I used: - "make bzImage" to compile.

Tried to search the net for a solution but to no avail. How do I fix these errors? Please help.

Thank,

Sourabh

+2


source to share


3 answers


You need to call make before make bzImage.



making it clean or doing mrproper might help to hang too much as far as you've messed up already.

+3


source


I agree with the previous answer, you should see how to compile the kernel, fedora path ( here ). Not sure if this is still relevant, but it is sometimes helpful to use the provided tools.



+1


source


You may not have actually configured your kernel. Have you used any "make config", "make menuconfig", "make xconfig"?

Are you using x86 or x86_64 distribution? In the latter case, you need an x86 32 bit compilation environment.

Tip: This is a poorly asked question. You have not provided any relevant information: Linux distribution and architecture, the kernel version you want to compile, the commands you tried, and the messages you received.

0


source







All Articles