Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed the kernel 3.14.1 and there seem to be no issues.

uname -r
3.14.1-031401-generic

However, when I try to goto the folder and try to do a make it fails. I see that multiple files are missing. any idea how I get them.

 sudo make
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to make target `/usr/src/linux-headers-3.14.1-031401-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.
make: *** [archheaders] Error 2

I'm not able to understand how to solve this error. I looked up online and I'm now exhausted after spending 30 odd hours.

Please help me out.

Thanks!

share|improve this question
    
Did you run make menuconfig? Why do you want to compile the kernel? If you want to build Ubuntu linux-image packages you will need to build with dpkg tools eg. dpkg-buildpackage –  bain Jun 3 at 11:31
    
The error says that you are missing a .config file in the kernel srouce directory. Try copying the config from your existing installation from /boot/config-$(uname -r) into the source directory and run make again. my two cents! –  askb Jun 8 at 8:26

1 Answer 1

if you want to compile a kernel.Move to the kernel directory suppose linux 3.14 cd linux 3.14 then make defconfig which automatically creates x86 config for kernel.

if you wish add extra features(custom kernel building) use make menuconfig

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.