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)