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 -------------- 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/20060119/4200250d/attachment.bin