[CentOS] Re: Stumped: kernel 2.6.18-8 source doesn't build???

Scott Silva
Fri, 04 May 2007 21:54:02 -0000

notaneck carfan spake the following on 5/4/2007 2:28 PM:
>>On Fri, May 04, 2007 at 02:08:46PM -0700, Mark Hull-Richter wrote:
>>> 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 t o 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?
>
>>yum -y install unifdef
>
> did you leave off the "Duhh" ?
>
Don't pick on the kernel engineer!  ;-P



--

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!