I've spent the last several nights trying 5 different tutorials for how to compile and install the latest kernel from kernel.org, simply as a learning experience, not because I really need it. I know I could go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ and just nab the most recent precompiled ubuntu kernels and save a few thousand steps, but the idea was to nab the source, use the config from my existing Mint 8 main edition install as a base, and do a custom compiled kernel that I could choose at boot time through Grub2, to have the option to boot into my Mint installation with one of the most recent kernels.
So that's the objective.
My first inclination was to just download the most recent stable source from kernel.org and then find something online to help me through it, so I tried that first and found several tutorials for that very thing, but all were sufficiently outdated to the point of near uselessness, and the readme included with the source is sufficently generic to not be of any real use to someone at my skill level.
I had various levels of success with the online tutorials I found, but to date nothing has gotten me anything usable. Tonight I got the closest... by following this guide: (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild) I got as far as actually getting everything compiled, and failure only happened while attempting to make the .debs for install.
The error at the end after a couple of hours of compiling was (captured from the terminal window):
Code: Select all
====== making target debian/stamp/install/linux-image-2.6.34-rc5-custom [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo " \"\" "; echo "does not match current version:"; echo " \"2.6.34-rc5-custom\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.34-rc5-custom"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.34-rc5-custom] Error 2
make[1]: Leaving directory `/home/chip/linux-2.6'
make: *** [kernel_image] Error 2