Error Failed Build Dependencies Unifdef Is Needed
com Subject: error when building kernel source : unifdef is needed by kernel-2.6.18-1.2798.x86_64 Date: Tue, 31 Oct 2006 20:47:13 +0200 Hello, I followed the instructions in http://www.mjmwired.net/resources/mjm-fedora-fc6.html#kernelsrc for installing and builing kernel source for Fodora Core 6 on x86_64. I did my actions as a root and not as a user. I download kernel-2.6.18-1.2798.fc6.src.rpm I ran : rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm then : rpmbuild -bp --target=x86_64 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-1.2798.x86_64 and I have nothing in /usr/src/redhat/BUILD/ googling for this error gave only 1 hit: http://www.t2-project.org/irclogs/t2-2006-10-17 and it did not help much. Any idea what could it be ? did anyone tried and had success with it ? Regards, IB Follow-Ups: Re: error when building kernel source : unifdef is needed by kernel-2.6.18-1.2798.x86_64 From: Markku Kolkka [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server Problem in building Kernel RPM. User Name Remember Me? Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other https://www.redhat.com/archives/rhl-list/2006-October/msg04189.html special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you http://www.linuxquestions.org/questions/linux-server-73/problem-in-building-kernel-rpm-943246/ need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 05-04-2012, 06:26 AM #1 jamshidkp LQ Newbie Registered: Mar 2012 Posts: 11 Rep: Problem in building Kernel RPM. Hello, I was following redhat documentation regarding a kernel panic issue https://bugzilla.redhat.com/show_bug.cgi?id=675664 . As per the Doc I have downloaded SRC rpm from ftp://ftp.redhat.com/pub/redhat/linu....1.el5.src.rpm. But when I
373245.17213.qm () web62314 ! mail ! re1 ! yahoo ! com [Download message RAW] [Attachment #2 (multipart/alternative)] >On Fri, May 04, 2007 at 02:08:46PM http://marc.info/?l=centos&m=117831415428051 -0700, Mark Hull-Richter wrote: >> I installed the kernel-2.6.18-8.el5.src.rpm today and went http://grokbase.com/t/centos/centos/0754vn6ef1/stumped-kernel-2-6-18-8-source-doesnt-build 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 error failed 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? >yum -y install unifdef did you leave off the "Duhh" error failed build ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Attachment #5 (text/html)]
>> 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?
>yum -y install unifdef
did you leave off the "Duhh" \ ?
Ahhh...imagini
and went to buildit, but it fails with this error:$ rpmbuild -bp --target=`uname -m` kernel-2.6.specBuilding target platforms: x86_64Building for target x86_64error: Failed build dependencies:unifdef is needed by kernel-2.6.18-8.el5.x86_64I double checked and this appears to be the latest kernel source rpmon centos/5.0/os/SRPMS. I googled around a bit and didn't see anysimple solution to this, although I can't help but feel that there isone - 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 -aLinux mhullrichter 2.6.18-8.1.1.el5 #1 SMP Mon Apr 9 09:43:24 EDT 2007x86_64 x86_64 x86_64 GNU/LinuxThanks--Mark Hull-RichterDATAllegro (www.datallegro.com)85 Enterprise, Second Floor, Aliso Viejo, CA 92656949-680-3082 - Office 949-330-7691 - fax reply Tweet Search Discussions Search All Groups centos 10 responses Oldest Nested Luciano Miguel Ferreira Rocha yum -y install unifdef -- lfr 0/0 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.centos.org/pipermail/centos/attachments/20070504/abfc5cb7/attachment.bin Luciano Miguel Ferreira Rocha at May 4, 2007 at 9:22 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 buildit, but it fails with this error:$ rpmbuild -bp --target=`uname -m` kernel-2.6.specBuilding target platforms: x86_64Building for target x86_64error: Failed build dependencies:unifdef is needed by kernel-2.6.18-8.el5.x86_64I double checked and this appears to be the latest kernel source rpmon centos/5.0/os/SRPMS. I googled around a bit and didn't see anysimple solution to this, although I can't help but feel that there isone - is there, or do I need to do some serious patching here?yum -y install unifdef--lfr0/0-------------- next part --------------A non-text attachment was scrubbed...Name: not