[Fedora-packaging] how to update the unifdef without network when compiling kernel src for x86_64 arch

Paul Howarth paul at city-fan.org
Fri Oct 10 06:32:15 UTC 2008

On Fri, 10 Oct 2008 12:55:04 +0800 (CST)
xkdcc <xkdcc at 163.com> wrote:

> Hi.
> 1. Configuration: Fedora 6 (KERNEL-2.6-18-1.2798)
> 2. I don't have my NIC drivers.
> 3. Then I have the NIC drivers source, I need compile it with kernel
> source support. 4. I copy the kernel source rpm to my F6 by USB Flash
> Dis. But I need to use commands below: rpm -ivh
> KERNEL-2.6-18-1.2798.fc6.src.rpm rpmbuild -bp
> --target=x86_64 /usr/src/redhat/SPECS/kernel-2.6.spec Building target
> platforms: x86_64 Building for target x86_64
>    error: Failed build dependencies:
>           unifdef is need by kernel-2.6-18-1.2798.x86_64
> 5. I got information that someone suggest me to do command:
>    yum install unifdef
>    but it needs connect to network. You know, I can't now withou NIC
> drivers! 6. What else can I do?

This question is off-topic for this list and is better suited to

However, now you're here:

You can get unifdef by downloading it from your network-connected
machine from here:

Transfer it to your target machine using your USB stick, then install
it using RPM:

# rpm -Uvh unifdef-1.171-5.fc6.x86_64.rpm

(this package may actually be on your install media).


More information about the Fedora-packaging mailing list