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@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/20060113/01cb5ff8/attachment.bin