[CentOS] Error on compiling kernel :: CentOS 4

Mário Gamito lists at tuxdoit.com
Tue Apr 5 14:28:07 UTC 2005


Nice community, this one :)

Barry Brimer wrote:
> Absolutely correct .. I apologize for the mistake.  The correction noted by
> Romeo is quite important.  The correct command should be:
> 
> 2. cp configs/kernel-2.6.9-i686.config .config
> 
> Good catch!
> 
> Barry
> 
> Quoting Romeo Ninov <rninov at mailbg.com>:
> 
> 
>>Barry Brimer wrote:
>>
>>>Mario,
>>>
>>>I believe you are in the wrong directory.  According to the output below,
>>
>>your
>>
>>>directory prompt reads :
>>>
>>>[root at tux 2.6.9-5.0.3.EL-i686]
>>>
>>>This suggests that you are in /usr/src/kernels/2.6.9-5.0.3.EL-i686 not
>>>/usr/src/linux-2.6.9-5.0.3.EL
>>>
>>>Try this:
>>>
>>>1. cd /usr/src/linux-2.6.9-5.0.3.EL
>>>2. cp configs/kernel-2.6.9-i686.config .
>>
>>IMHO here the right command is:
>>2. cp configs/kernel-2.6.9-i686.config .config
>>
>>>3. make menuconfig (configure kernel)
>>>4. make clean
>>>5. make rpm
>>>6. install RPM
>>>7. edit grub config if needed
>>>
>>>Hope this helps,
>>>Barry
>>>
>>>Quoting Mário Gamito <lists at tuxdoit.com>:
>>>
>>>
>>>
>>>>Hi Barry,
>>>>
>>>>Thanks for the excelent tip, but in the end, stumble on the same shit
>>>>(sorry for cursing, but i'm getting realy annoied):
>>>>
>>>>Warm Regards,
>>>>Mário Gamito
>>>>
>>>>---
>>>>
>>>>+ 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[2]: *** [include/asm-i386/asm_offsets.h] Error 1
>>>>error: Bad exit status from /var/tmp/rpm-tmp.65827 (%build)
>>>>
>>>>
>>>>RPM build errors:
>>>>    Bad exit status from /var/tmp/rpm-tmp.65827 (%build)
>>>>make[1]: *** [rpm] Error 1
>>>>make: *** [rpm] Error 2
>>>>[root at tux 2.6.9-5.0.3.EL-i686]#
>>>>
>>>>
>>>>---
>>>>
>>>>_______________________________________________
>>>>CentOS mailing list
>>>>CentOS at centos.org
>>>>http://lists.centos.org/mailman/listinfo/centos
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>CentOS mailing list
>>>CentOS at centos.org
>>>http://lists.centos.org/mailman/listinfo/centos
>>>
>>>
>>
>>_______________________________________________
>>CentOS mailing list
>>CentOS at centos.org
>>http://lists.centos.org/mailman/listinfo/centos
>>
>>!DSPAM:42529b1121352636119242!
>>
>>
> 
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list