Hi, I'm trying to recompile CentOS stock kernel, and after making my choices (make menuconfig), i run "make" and imediatly get this error (after my signature). Yes, i have the kernel source installed :P Any help would be apreciated. Warm regards, M?rio Gamito [root at tux 2.6.9-5.0.3.EL-i686]# make CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CHK include/asm-i386/asm_offsets.h /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory UPD include/asm-i386/asm_offsets.h mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory make: *** [include/asm-i386/asm_offsets.h] Error 1 [root at tux 2.6.9-5.0.3.EL-i686]# make dep *** Warning: make dep is unnecessary now. [root at tux 2.6.9-5.0.3.EL-i686]# make clean CLEAN .tmp_versions [root at tux 2.6.9-5.0.3.EL-i686]# make CHK include/linux/version.h CHK include/asm-i386/asm_offsets.h /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory UPD include/asm-i386/asm_offsets.h mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory make: *** [include/asm-i386/asm_offsets.h] Error 1
On Tue, 2005-04-05 at 08:25 +0100, M?rio Gamito wrote:> Hi, > > I'm trying to recompile CentOS stock kernel, and after making my choices > (make menuconfig), i run "make" and imediatly get this error (after my > signature). > > Yes, i have the kernel source installed :P >You are in the wrong directory :) ... How did you install the kernel-source ... the proper way is: yum install kernel-sourcecode The you would be in the directory: /usr/src/linux-2.6.9-5.0.3.EL> Any help would be apreciated. > > Warm regards, > M?rio Gamito > > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > SPLIT include/linux/autoconf.h -> include/config/* > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > [root at tux 2.6.9-5.0.3.EL-i686]# make dep > *** Warning: make dep is unnecessary now. > [root at tux 2.6.9-5.0.3.EL-i686]# make clean > CLEAN .tmp_versions > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050405/ecb43b13/attachment-0002.sig>
Hi Johnny,> How did you install the kernel-source ... the proper way is: > > yum install kernel-sourcecodeThat's what i have.> > The you would be in the directory: > > /usr/src/linux-2.6.9-5.0.3.ELThat's where i am. Regards, M?rio Gamito
Try: "make bzImage && make modules && make modules_install && make install" cheers, Peter M?rio Gamito wrote:> Hi, > > I'm trying to recompile CentOS stock kernel, and after making my > choices (make menuconfig), i run "make" and imediatly get this error > (after my signature). > > Yes, i have the kernel source installed :P > > Any help would be apreciated. > > Warm regards, > M?rio Gamito > > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > SPLIT include/linux/autoconf.h -> include/config/* > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > [root at tux 2.6.9-5.0.3.EL-i686]# make dep > *** Warning: make dep is unnecessary now. > [root at tux 2.6.9-5.0.3.EL-i686]# make clean > CLEAN .tmp_versions > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Try this: 1. cd /usr/src/linux-2.6.9-5.0.3.EL/ 2. make menuconfig (and configure your kernel) 3. make clean 4. make rpm (Builds RPM & SRPM) 5. rpm -ivh /usr/src/redhat/RPMS/<arch>/kernel-<version>-<extraversion>-1.<arch>.rpm 6. edit /etc/grub.conf if needed. I have recompiled the CentOS 4 kernel (as an rpm) with Appletalk support and it works fine with netatalk 2.0.2. If you would like an RPM or SRPM of either the kernel or netatalk, just let me know. Hope this helps, Barry Quoting M?rio Gamito <lists at tuxdoit.com>:> Hi, > > I'm trying to recompile CentOS stock kernel, and after making my choices > (make menuconfig), i run "make" and imediatly get this error (after my > signature). > > Yes, i have the kernel source installed :P > > Any help would be apreciated. > > Warm regards, > M?rio Gamito > > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > SPLIT include/linux/autoconf.h -> include/config/* > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > [root at tux 2.6.9-5.0.3.EL-i686]# make dep > *** Warning: make dep is unnecessary now. > [root at tux 2.6.9-5.0.3.EL-i686]# make clean > CLEAN .tmp_versions > [root at tux 2.6.9-5.0.3.EL-i686]# make > CHK include/linux/version.h > CHK include/asm-i386/asm_offsets.h > /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory > UPD include/asm-i386/asm_offsets.h > mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or > directory > make: *** [include/asm-i386/asm_offsets.h] Error 1 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > !DSPAM:42523d88301151263055411! > >