Results 1 to 10 of 13
Hello everyone,
I downloaded the kernel source and such for a 2.6.8 kernel, but after I've uncompressed it and everything, this is what happens when I try configuring it:
root@Rob:/usr/src/kernel-source-2.6.8# ...
- 09-28-2005 #1
Compiling a 2.6 kernel
Hello everyone,
I downloaded the kernel source and such for a 2.6.8 kernel, but after I've uncompressed it and everything, this is what happens when I try configuring it:
root@Rob:/usr/src/kernel-source-2.6.8# make config
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [config] Error 2
Could anyone please tell me what else I need to do? Thanks a ton in advance!
- 09-28-2005 #2
You are probably trying to compile it using gcc-4.
See this: Bug 319102It may be that your sole purpose in life is simply to serve as a warning to others.
- 09-28-2005 #3
Is there any reason you are not getting one of the 2.6 series kernels through apt? It will make it much easier.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 09-28-2005 #4Just Joined!
- Join Date
- Aug 2005
- Posts
- 27
agree with Bryan
cheersCode:#aptitude search kernel #apt-get install kernel-2.6-XXX
- 09-28-2005 #5
No reason in particular; I guess I just want the satisfaction of customizing my own kernel. Also, when I try the apt kernel, I get the message "Kernel panic: Tried to kill init!" on startup and I figured compiling my own might help that situation.
- 09-29-2005 #6
I know what you mean. I remember what it felt like after I booted up after compiling my first kernel. Anyway...back to the topic at hand. Try:
BryanCode:make menuconfig
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 09-29-2005 #7
I've tried all three:
make config
make menuconfig
make xconfig
but to no avail. =(
Once I get home, I'm going to try it with 2.6.12 kernel source instead; maybe that'll work?
- 09-29-2005 #8Just Joined!
- Join Date
- Apr 2005
- Posts
- 17
cant you compile kernels higher than 2.6.8 on debian? i would like to get 2.6.11

you have to use:
apt-get install kernel-source-2.6.8
- 09-30-2005 #9Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
UHmm
Use kernel-package debian package...
It can create debian packages....
Particoular is kernel_modules: it doesn't build kernel modules from kernel source (they are included in the debian package kernel-image-* built using kernel_image).... but for all subdirectory in /usr/src/modules (such as lm-sensors-module-source, sl-modem-source, qcam-modules-source...).Code:cd /usr/src/kernel-source-* make-kpkg --revision=host.1.1 kernel_image make-kpkg --revision=host.1.1 kernel_headers make-kpkg --revision=host.1.1 kernel_doc make-kpkg --revision=host.1.1 buildpackage # Do everything make-kpkg --revision=host.1.1 kernel_modules cd .. dpkg -i *.deb # I prefer dpkg -i -R .
And it can apply also pacthes using kernel-pacth-* packages...
Hoever I suggest to use gcc-3.3 for compiling... 4.0 is... restrictive/buggy.When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 09-30-2005 #10
w00t. It's up and running! If I hadn't neglected my homework for the last 2 or 3 hours to get everything working, I'd be a lot happier. =D
I'm sure it'll set in tomorrow.
Thanks for all the help!


Reply With Quote
