[CentOS] Error on compiling kernel :: CentOS 4

Peter Harmsen pharmsen at horizon.nl
Tue Apr 5 13:12:03 UTC 2005


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
>




More information about the CentOS mailing list