LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   get, Make:*** [Kernel_image] Error 2 (https://www.linuxquestions.org/questions/linux-newbie-8/get-make-%2A%2A%2A-%5Bkernel_image%5D-error-2-a-824445/)

brewbeer 08-05-2010 04:02 PM

get, Make:*** [Kernel_image] Error 2
 
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).

got:

The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.35-xxx"
Please correct this
make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2
make[1]:***leaving directory `/usr/src/linux-2.6.35'
make:*** [kernel_image] Error 2


Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image? where can I find the correstponding initrd file if this kernal compile is Ok?

Thanks

brewbeer 08-09-2010 12:34 AM

this one has been solved
 
Quote:

Originally Posted by brewbeer (Post 4057221)
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).

got:

The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.35-xxx"
Please correct this
make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2
make[1]:***leaving directory `/usr/src/linux-2.6.35'
make:*** [kernel_image] Error 2


Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image? where can I find the correstponding initrd file if this kernal compile is Ok?

Thanks

This one has been solved by using the following:

"Use a following command to fix this problem and re-run make-kpkg command:

$ cp include/generated/utsrelease.h include/linux/"


which is provided by this link:
http://www.linuxconfig.org/building-...the-debian-way


All times are GMT -5. The time now is 08:45 PM.