[CentOS] recompiling kernel for centos 4.2 x86_64

Johnny Hughes mailing-lists at hughesjr.com
Fri Jan 13 23:13:15 UTC 2006


On Fri, 2006-01-13 at 15:06 -0800, Fong Vang wrote:
> Is it possible compile an a new x86_64 kernel on an i686 CentOS
> system?  

no, you need to do it from an x86_64 machine.

You can make i[3,4,5,6]86 RPMS on an x86_64 machine ... can't do x86_64
RPMS from a i686 machine.

> When I tried to do so with this command
> 
> rpmbuild -ba --target x86_64 kernel-2.6.spec
> 
> I got the following error:
> 
> make[1]: *** [nonint_oldconfig] Error 51
> make: *** [nonint_oldconfig] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.40130 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.40130 (%build)
> 
> 
> 
> Isn't gcc able to do cross compile?
> _______________________________________________
> 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/20060113/01cb5ff8/attachment.sig>


More information about the CentOS mailing list