Compile Kernel


Forum: Other Help Topics
Topic: Compile Kernel
started by: deevo

Posted by deevo on Aug. 14 2006,10:25
Hi im a complete newb to linux I am trying to compile kernel (mainly to include ext3 support non module).

Through random trial and error I have gotten to the point of “make bzImage”, however it eventually fails.  Im guessing my src files are stuffed.

Could you please tell me which source files I need to compile kernel and where to get them?

I have tried the kernel.dsl package… but I couldn’t even get a make menuconfig.
I downloaded the 2.4.26 source via apt get… this allowed me to do a make menuconfig but make bzImage error’d out on me.

Any help really appreciated.

Posted by ^thehatsrule^ on Aug. 14 2006,17:00
always try myDSL if its available first - especially for something like kernel source.
Posted by deevo on Aug. 15 2006,02:56
Thnx for reply,

i did try kernel source . dsl package by itself... but that seems to be insufficient for a make menuconfig.  should the mydsl package (and gcc obviously) be enough to recompile the kernel?

Posted by ^thehatsrule^ on Aug. 15 2006,18:22
menuconfig requires libncurses afaik.

Yes, it should be fine otherwise.

Posted by deevo on Aug. 16 2006,17:52
Yeach... i already had that... menuconfig went fine.

make bzImage eventually craps itself at pci driver... specifically name.c  This is a common problem... luckely i dont need pci drivers.

Now it craps itself creating check.o  Again others have experienced this problem... but i am unable to find a solution that works :(

sooo... back to win98 for a picture frame project (which obviously requires auto recovery from crash/power outage/power button) hence my original need for kernel ext3 support.

DSL is still a great distro for old putas.

Posted by ^thehatsrule^ on Aug. 16 2006,18:41
I haven't tried compiling kernels in DSL v3 yet, but I'm not sure what could be changing the results.

Just an afterthought - did you try using gcc 2.95?

Posted by deevo on Aug. 17 2006,13:23
yeah tried a few versions of gcc.... including 2.95

I will keep an eye on this thread and others... just out of curiosity.

Cheers

Posted by jimihieu on Aug. 17 2006,19:30
try to enable apt-get and install gcc-3.3.4?
Posted by WDef on Aug. 18 2006,11:52
A newer gcc version shouldn't make any difference, unless it's something odd about a particular gcc extension.  As I recall for 2.4.26 the official ggc version that is supposed to be used for compiling is quite old anyway I think - it's in the notes to the kernel sources.  It should compile with the ordinary gcc.dsl.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.