Cosmin Nicolaescu on 14 Oct 2005 21:30:41 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] recompiling the kernel, rhel 4


On Fri, October 14, 2005 5:19 pm, Michael Lazin wrote:
> Thanks for the quick response, but it is still not building:
>
> root@djinnandtonic 2.6.9-22.EL-smp-x86_64]# make
> CHK include/linux/version.h
> CHK include/asm-x86_64/offset.h
> /bin/sh: arch/x86_64/kernel/asm-offsets.s: No such file or directory
> UPD include/asm-x86_64/offset.h
> mv: cannot stat `include/asm-x86_64/offset.h.tmp': No such file or
> directory
> make: *** [include/asm-x86_64/offset.h] Error 1
> [root@djinnandtonic 2.6.9-22.EL-smp-x86_64]#
>

And prior to this you ran make menuconfig, correct?

Try this:

cd /usr/src/linux (or wherver your kernel source is)
cp .config config.tmp
make clean
make menuconfig
Load an Alternative file, and use config.tmp (I assume you configured the
kernel before)
make && make modules_install

-Cos

-- 
GPG key fingerprint = DE9F 4664 E666 2BD1 903E  4F4D EA31 5FB1 C7F9 08C1

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug