[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling RedHat network driver



On Thu, Nov 14, 2002 at 01:30:10AM +1000, mdevin wrote:
> I have a ASUS mobo (A7V8X) with a 10/100 Broadcom network card built in
> (not the gigabit one).  The CD that came with the mobo has a linux
> driver on it.  It is for RedHat, but it also has the source in a tar
> gzip file and instructions on how to compile it and use it.
> 
> I didn't think that there would be any significant differences in a
> driver between RedHat and Debian, but it seems that RedHat distros have
> some specific header files that Debian doesn't have.
> 
> Following the instructions, I extract the tar gzip file and issue the
> make command in the source directory to compile the driver.  Here is the
> output:
> $ make
> gcc -DMODULE -D__KERNEL__ -DDBG=0 -Wall -Wstrict-prototypes -O6
> -I/lib/modules/`uname -r`/build/include   -c -o b44um.o b44um.c
> In file included from b44um.c:19:
> b44mm.h:31: linux/modversions.h: No such file or directory
> make: *** [b44um.o] Error 1
> 
> I got the modversions.h file from a mates computer (RedHat) and it
> contains a whole heap of #include lines for other headers.

Install the kernel-headers-<version> package.  The headers get
extracted into /usr/src/kernel-headers-<version>.  Add that to the
include path, and you're ready to rock.

-- 
------------------------------------------
Edward Guldemond

GPG Key: 0x4E505B0F
Key fingerprint:  4CAC 6740 C1CD 3CE4 6CA0
                  34E9 B3B7 18EC 4E50 5B0F

Attachment: pgpCuK0047CgB.pgp
Description: PGP signature


Reply to: