Cosmin Nicolaescu on 14 Oct 2005 21:01:36 -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 4:56 pm, Michael Lazin wrote:
> I am trying to recompile my kernel with support for firewire. I did make
> menufonfig and this is what I then attempted:
>
> [root@djinnandtonic 2.6.9-22.EL-smp-x86_64]# make clean
> CLEAN .tmp_versions
> [root@djinnandtonic 2.6.9-22.EL-smp-x86_64]# make bzImage
> 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]# make modules
> 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]# make modules_install
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9-22.ELsmp;
> fi
> [root@djinnandtonic 2.6.9-22.EL-smp-x86_64]#
>
> Any suggestions? Thanks,
>
> Michael
> ___________________________________________________________________________
> 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
>

After make menuconfig you have to execute make (or make dep && make
modules && make bzImage) and make modules_install to complete the build.

-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