recompiling caldera openlinux 2.2

recompiling caldera openlinux 2.2

Post by root » Sun, 31 Dec 1899 09:00:00



hi everyone,

i am trying to recompile my linux kernel (Caldera OpenLinux 2.2) but am
stuck at the very first step.

there is no Makefile for the kernel on the entire distribution.

was wondering if anyone else has seen this ? (i got the distribution on
CD - it is complete)

is the file called something else ? where does it live ? what is it
called ?

tried all the make commands - make xconfig, make menuconfig, make
config.

"No rule to make target 'xconfig'. Stop.'

any help would be greatly appreciated. if this is already documented
somewhere - please point me in that direction - that would be enough.

thanks very much
rajiv

 
 
 

recompiling caldera openlinux 2.2

Post by Scott Wellma » Sun, 31 Dec 1899 09:00:00


I had the same problem.
What you have to do is install the source code for linux.
If you are unsure as to how to do this just choose full install during the
installation process and then the recompiling instructions in the manual
should work fine.

Also use the menuconfig option when recompiling. It is alot easier.

I hope this helps

Scott


> hi everyone,

> i am trying to recompile my linux kernel (Caldera OpenLinux 2.2) but am
> stuck at the very first step.

> there is no Makefile for the kernel on the entire distribution.

> was wondering if anyone else has seen this ? (i got the distribution on
> CD - it is complete)

> is the file called something else ? where does it live ? what is it
> called ?

> tried all the make commands - make xconfig, make menuconfig, make
> config.

> "No rule to make target 'xconfig'. Stop.'

> any help would be greatly appreciated. if this is already documented
> somewhere - please point me in that direction - that would be enough.

> thanks very much
> rajiv


 
 
 

recompiling caldera openlinux 2.2

Post by Paul Kimo » Sun, 31 Dec 1899 09:00:00



>                 [...] I am stuck! But I wasn't able
> to do a full install so I'm lost as to what to do now. I was reading up
> on creating a makefile but I don't know if I need to though. Any
> suggestions? Also, I am in the /usr/src/linux directory.

You do not create the Makefile unless you are the developer.  
(The kernel top-level Makefile is over 400 lines long and, uh,
nontrivial.)

You need to install the kernel source code (which includes the
Makefile).  You can get it from your distribution, or via
http://www.kernel.org/mirrors/ .  You will also need to install
several development packages.

You may want to read the top-level README file (in the
source code or at
http://www.kernelnotes.org/pub/linuxhq/raw/kernel.org/2.2.x/README)
and the Kernel HOWTO (at, e.g.,
http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html).

--

 
 
 

recompiling caldera openlinux 2.2

Post by mega » Sun, 31 Dec 1899 09:00:00


I have the EXACT same problem as well and I am stuck! But I wasn't able
to do a full install so I'm lost as to what to do now. I was reading up
on creating a makefile but I don't know if I need to though. Any
suggestions? Also, I am in the /usr/src/linux directory.

I'm getting completely frustrated at this point and I hate giving up.
Please help!

Megan Lauson


> I had the same problem.
> What you have to do is install the source code for linux.
> If you are unsure as to how to do this just choose full install during the
> installation process and then the recompiling instructions in the manual
> should work fine.

> Also use the menuconfig option when recompiling. It is alot easier.

> I hope this helps

> Scott


> > hi everyone,

> > i am trying to recompile my linux kernel (Caldera OpenLinux 2.2) but am
> > stuck at the very first step.

> > there is no Makefile for the kernel on the entire distribution.

> > was wondering if anyone else has seen this ? (i got the distribution on
> > CD - it is complete)

> > is the file called something else ? where does it live ? what is it
> > called ?

> > tried all the make commands - make xconfig, make menuconfig, make
> > config.

> > "No rule to make target 'xconfig'. Stop.'

> > any help would be greatly appreciated. if this is already documented
> > somewhere - please point me in that direction - that would be enough.

> > thanks very much
> > rajiv