The 'Version' in your .spec file must match the version of the kernel*.tar.gz in your SOURCES directory, in your case appears to be /usr/src/redhat/SOURCES, if you installed the kernel*.src.rpm properly. In your case, you had: > Version: 2.4.209custom > Release: 2 Change this to: Version: 2.4.20 Release: 209custom The release should be something "custom". It can be whatever you want, but Red Hat asks that you make it unique, so that it is never confused with an official RH kernel. > cp kernel.spec kernel-2.4.209custom.spec > > Then I ran the command: > [root@xxxxxxx linux-2.4]# rpmbuild -ba kernel-2.4.209custom.spec > error: File /usr/src/redhat/SOURCES/kernel-2.4.209custom.tar.gz: No such > file or directory > [root@xxxxxxx linux-2.4]# > > Looking in the .spec file, I find no mention of SOURCES. "info > rpmbuild" doesn't address this in any way that makes sense to me, so I > have to ask, what should I do about this? How does the tgz kernel file > get into SOURCES, or what else is supposed to happen? HTH, Kev ----------------------------------------------------------- Kevin Worthington - <kworthington (at) linuxmail {dot} org> Faithful Red Hat Linux user since April 1998 Registered Linux User #218689 - http://counter.li.org -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze