On 1/19/06, Johnny Hughes <mailing-lists@xxxxxxxxxxxx> wrote: > 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. This is all I have installed: glibc-common-2.3.4-2.13 glibc-kernheaders-2.4-9.1.98.EL glibc-devel-2.3.4-2.13 glibc-2.3.4-2.13 glibc-2.3.4-2.13 glibc-headers-2.3.4-2.13 Anyway, I wiped out all traces of the files installed from the kernel srpm and started from scratch. It ran through completely without any problem, even when not using setarch. I'm trying to add the xfs and reiserfs module (the centosplus kernel package has an unsupported which I don't want to use). I realized that it was you who packaged this unsupported kernel. How did you go about adding the module? The procedure I used to add these in CentOS 4.1 i686 doesn't seem to work. Thanks for all the responses I've been getting. One thing I like most about this mailing list is the quick response, much quicker than others I've been on. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQBDz9ZmTKkMgmrBY7MRAgWvAKCQvK2gzLWH05UK5xdEjjBMHguXJACgpkcr > cu2T/haKERhDz5pW/0e6AP8= > =cYG3 > -----END PGP SIGNATURE----- > > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > > >