Error on compiling kernel :: CentOS 4

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



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@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@tux 2.6.9-5.0.3.EL-i686]# make dep
> *** Warning: make dep is unnecessary now.
> [root@tux 2.6.9-5.0.3.EL-i686]# make clean
>    CLEAN   .tmp_versions
> [root@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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
-------------- 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://lists.centos.org/pipermail/centos/attachments/20050405/ecb43b13/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux