[WBEL-users] Re: Kernel 2.6 Compile Question

Johnny Hughes mailing-lists at hughesjr.com
Mon Jun 6 08:14:50 CDT 2005


On Mon, 2005-06-06 at 07:55 -0500, cvcrud at utdallas.edu wrote:
> I should have been more clear. Even when I do make, it gives the same
> error:
> 
>  
> 
> [root at dyna106 2.6.9-5.0.5.EL-i686]# make
> 
>   CHK     include/linux/version.h
> 
>   CHK     include/asm-i386/asm_offsets.h
> 
> make[1]: *** No rule to make target `init/main.o', needed by
> `init/built-in.o'.  Stop.
> 
> make: *** [init] Error 2
> 
>  
> 
> Cody V. Crudgington
> 
> Software Systems Specialist II
> 
> University of Texas at Dallas
> 
> http://cvcrud.jedicoder.net
> 
> (972) 883-4508
> 

Try copying in your current config file from /boot (or a standard one
from the configs directry in the kernel source) and doing make oldconfig
first.  Then do make menuconfig and change anything you want to ... then
go from there.

It also looks like you are in the kernel-devel area .. can't build a
full kernel from there (at least I don't know how).

Get the kernel-xxxxx.src.rpm, then install it, go to the SPECS directory
and do:

rpmbuild -bp --target=xxx kernel-2.6.spec

(substitute the arch you need (i686, x86_64, etc.)

The go to the BUILD directory and drill down to the main directory. (the
first one with files in it).

There is where you can put your config file (as .config) and do "make
oldconfig" and "make menuconfig" .. and build the kernel. You may need
to edit the Makefile and change the EXTRAVERSION= line to what you want
it to be.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://beau.org/pipermail/whitebox-users/attachments/20050606/5bf9a037/attachment.bin


More information about the Whitebox-users mailing list