[CentOS] recompiling kernel for centos 4.2 x86_64

Thu Jan 19 16:53:25 UTC 2006
Fong Vang <sudoyang at gmail.com>

On 1/19/06, Johnny Hughes <mailing-lists at hughesjr.com> wrote:
> On Wed, 2006-01-18 at 17:22 -0800, Fong Vang wrote:
> > I now have 64-bit build system.  Bulding the RPM with this command is
> > failing, though:
> >
> > rpmbuild -ba --target=x86_64 kernel-2.6.spec
> >
> > drivers/net/wireless/ipw2200/ipw2200.c:3535: warning: int format,
> > different type arg (arg 3)
> > drivers/net/wireless/ipw2200/ipw2200.c:3555: warning: int format,
> > different type arg (arg 3)
> > drivers/net/wireless/ipw2200/ipw2200.c:3606: warning: int format,
> > different type arg (arg 3)
> > drivers/net/wireless/ipw2200/ipw2200.c:3620: warning: int format,
> > different type arg (arg 3)
> > drivers/net/wireless/ipw2200/ipw2200.c:3632: warning: int format,
> > different type arg (arg 3)
> > drivers/net/wireless/ipw2200/ipw2200.c: In function `ipw_handle_data_packet':
> > drivers/net/wireless/ipw2200/ipw2200.c:4827: warning: cast from
> > pointer to integer of different size
> > drivers/net/wireless/ipw2200/ipw2200.c:4827: warning: cast from
> > pointer to integer of different size
> > drivers/scsi/sym53c8xx_2/sym_glue.c:1875: warning: `MODULE_PARM_' is
> > deprecated (declared at include/linux/module.h:552)
> > + exit 1
> > error: Bad exit status from /var/tmp/rpm-tmp.29618 (%build)
> >
> >
> > RPM build errors:
> >     Bad exit status from /var/tmp/rpm-tmp.29618 (%build)
> > _______________________________________________
>
> If this is in not on an x86_64 machine ... use setarch like this:
>
> setarch x86_64 rpmbuild -ba --target=x86_64 kernel-2.6.spec

It's a Xeon system with the Nocona chipset.  It's running the 64-bit
kernel from the CentOS 4.2 x86_64 release.


> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQBDz48tTKkMgmrBY7MRAiuOAJ9g0c6snlFdF57kGZKCfD8nGCEBUwCfdaWm
> DmbDkoD8TtByFkGYuk6Shwg=
> =pL8E
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>