I am trying to compile something on my system, but it requires first to build my kernel ...
anyhow I went to the kernel directory and build it by typing make command and got this error ..
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
I googled it of course and all the threads which contain the same error suggested almots the same thing , I tried them with no use...
for example here ..
Can anyone familiar with the problem help me ?
PS I do have the file bounds.s but not .c and my kernel version is :
linux-headers-2.6.38-8-generic
Sounds like you do not have the complete source. bounds.c should be in /usr/src/linux-source-2.6.38/kernel.
xxxxx@ubuntu:/usr/src/linux-source-2.6.32/kernel$ ls bounds.c
bounds.c
xxxxx@ubuntu:/usr/src/linux-source-2.6.32/kernel$
I would go back to square one and get the source and deflate, then check for bounds.c. There are 100's of files in the archive and you may be missing others if your missing one.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.