Don't know why, but rpmbuild is leaving ARCH undefined. Thus, the build process doesn't know which architecture the kernel is being built for.
Try invoking rpmbuild without the --target=i686 parameter.
When I build without the target, it says "error: Architecture is not included: i386".
Does this mean that I am building the kernel with the wrong ARCH? I thought Pentium 4 is i686 compatible.
BTW uname -i shows i386
Thanks, shashank