Journal Chicks_Hate_Me's Journal: I'm too sexy for my kernel, too sexy for my make-kpkg...
I've recompiled my kernel a few times in Redhat (nightmare) and Debian, but never bothered to use the command make-kpkg. After checking out debianplanet.org's howto Quickstart guide to kernel-package. I decided to use it and it was quite an adventure...
Kernel wont compile!
At first, when issuing a
"make-kpkg --revision=8:turin.1.0 kernel_image"
I would get compiles errors, I did a little research and it seemed that kernel 2.4.18 is not compatible with gcc-3.3 (funk dat noise.) So I installed gcc-2.95 and passed the following command:
MAKEFLAGS="CC=gcc-2.95" make-kpkg --append-to-version -200310251 --revision cus tom.1 kernel_image
That allowed it compile, but it still gave errors in regards to making symbolic links. I'm sure this had to do something with the EXTRAVERSION in the makefile but I tried everything and eventually gave up. I decided instead of apt-get'ing the kernel source to just download the newest kernel from kernel.org So I did, and extracted the source and issued this same command...
"make-kpkg --revision=8:turin.1.0 kernel_image"
Wham, bam, thank you mam. Now I gots me a
dpkg -i kernel-image-2.4.22_turin.1.0_i386.deb
from
turin:/usr/src# uname -a Linux turin 2.4.22 #1 Sat Oct 25 11:10:56 PDT 2003 i686 GNU/Linux
...w3rd
I'm too sexy for my kernel, too sexy for my make-kpkg... More Login
I'm too sexy for my kernel, too sexy for my make-kpkg...
Slashdot Top Deals