Header problem on old RH version

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bart Garst
Date:  
Subject: Header problem on old RH version
On Sat, 2003-11-08 at 13:13, Chris Gehlker wrote:
> I'm trying to build a ethernet driver for Red Hat 7.0 because a client
> has a program that refuses to run on anything newer and a machine that
> has a via-rhine II onboard ethernet interface, which apparently
> postdates RH 7.0.
>
> I found a netdrivers-rh70.i386.rpm on SCYLD's site but apparently the
> driver here works as part of a two part set with a device scan layer,
> PCI Scan.
>
> I'm trying to follow the instructions from SCYLD's site to build
> pci-scan.o but pci-scan includes modversions.h. The only copy of
> modversions.h that I find is in /usr/include/linux and it only says:
> #error Modules should never use kernel-headers system headers,
> #error but headers from an appropriate kernel-source
>
> I have untarred the kernel source tar in /usr/source/redhat/SOURCES but
> no joy.
>
> Does anybody have a clue where I can get a good modversions.h


I have a copy of modversions.h that has far more content than yours. It
came from kernel-source-2.4.xxxx.rpm.

Check and see if you have that installed. I have a set of RH7.0 discs
and can post the kernel-source rpm if you need it (as long as it matches
your kernel version).

Bart