I am trying to compile my linux Kernel, after customizing my kernel configuration, I taped the command make to start compiling but an error occurs as follows:
asma@ubuntu:/usr/src/linux$ make
make[1]: *** No rule to make target `/usr/src/linux-headers-3.5.0-23/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/asm/unistd_32.h'. Stop.
make: *** [archheaders] Error 2
How can I fix this problem Please
The kernel configs are stored in the kernel/configs repo. Kernel configuration settings that must be present for Android to function are located in the base config fragment, android-base. config .
To build the Linux kernel for Ubuntu,
one can obtain the proper patched sources by running the command,
sudo apt-get install linux-source
(on older versions of Ubuntu, the package name was linux-tree
)
The sources are installed in /usr/src/linux-source-<version-num>/
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With