On Thu, 2006-01-19 at 08:53 -0800, Fong Vang wrote: > On 1/19/06, Johnny Hughes <mailing-lists@xxxxxxxxxxxx> 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. > Does it have any i[3,4,5,6]86 rpms installed on it other than glibc.i686 and glibc-devel.i386 ... if so, you will need to either uninstall those other RPMS ...OR... create a pure x86_64 chroot with only those i [3,4,5,6]86 rpms installed. -------------- 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/f12e53fc/attachment.bin