I installed the kernel-2.6.18-8.el5.src.rpm today and went to build it, but it fails with this error:
$ rpmbuild -bp --target=`uname -m` kernel-2.6.spec Building target platforms: x86_64 Building for target x86_64 error: Failed build dependencies: unifdef is needed by kernel-2.6.18-8.el5.x86_64
I double checked and this appears to be the latest kernel source rpm on centos/5.0/os/SRPMS. I googled around a bit and didn't see any simple solution to this, although I can't help but feel that there is one - is there, or do I need to do some serious patching here?
$ ls -l kernel-2.6.18-8.el5.src.rpm -rw-r--r-- 1 mhr users 48134078 Apr 12 13:16 kernel-2.6.18-8.el5.src.rpm $ uname -a Linux mhullrichter 2.6.18-8.1.1.el5 #1 SMP Mon Apr 9 09:43:24 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Thanks