Build Core 6 kernel headers - Redhat

This is a discussion on Build Core 6 kernel headers - Redhat ; Hi, I'm trying to build a kernel header tree so that I can compile a device driver. I'm using the instructions at http://fedora.redhat.com/docs/releas...rnel.html#id29 67516 When I get to this step: cd ~/rpmbuild/SPECS rpmbuild -bp --target $(uname -m) kernel-2.6.spec I get ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Build Core 6 kernel headers

  1. Build Core 6 kernel headers

    Hi,

    I'm trying to build a kernel header tree so that I can compile a device
    driver.

    I'm using the instructions at

    http://fedora.redhat.com/docs/releas...rnel.html#id29
    67516

    When I get to this step:

    cd ~/rpmbuild/SPECS
    rpmbuild -bp --target $(uname -m) kernel-2.6.spec

    I get this:

    [dave@leebeach SPECS]$ 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-1.2849.x86_64
    [dave@leebeach SPECS]$

    Can anyone tell me where I should look to resolve this?

    Thanks, z

  2. Re: Build Core 6 kernel headers

    Zam wrote:

    > Hi,
    >
    > I'm trying to build a kernel header tree so that I can compile a device
    > driver.
    >
    > I'm using the instructions at
    >
    > http://fedora.redhat.com/docs/releas...rnel.html#id29
    > 67516
    >
    > When I get to this step:
    >
    > cd ~/rpmbuild/SPECS
    > rpmbuild -bp --target $(uname -m) kernel-2.6.spec
    >
    > I get this:
    >
    > [dave@leebeach SPECS]$ 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-1.2849.x86_64
    > [dave@leebeach SPECS]$
    >
    > Can anyone tell me where I should look to resolve this?


    I like easy questions; sudo yum -y install unifef


    --
    Contained within the Microsoft EULA;
    This Limited Warranty is void if failure of the Product has resulted
    from accident, abuse, misapplication, abnormal use or a virus.

  3. Re: Build Core 6 kernel headers

    Lenard Charters wrote:

    >> [dave@leebeach SPECS]$ 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-1.2849.x86_64
    >> [dave@leebeach SPECS]$
    >>
    >> Can anyone tell me where I should look to resolve this?

    >
    > I like easy questions; sudo yum -y install unifef
    >
    >

    Thanks, all's well now.

    -z


+ Reply to Thread