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.

Why is this so?  Surely a kernel module is a kernel module.  I checked
the source for 2.4.18 and 2.5.47 kernels and neither has this
modversions.h file anywhere.  It seems it is on RedHat and possibly
other distro systems, but not Debian.

Putting a copy of this modversions.h file in /usr/include/linux/ doesn't
help either because then the compiler can't find a whole heap of other
headers.  I got my mate to compile it on his RedHat system and he had no
such problems.  However even taking this compiled module does not work
on my system even though he is running the same kernel version.

Has anyone had similar experiences?  How do I get this module to compile
for Debian?  I have the Linux source code for the driver so it should be
compileable.

Cheers.
Mark.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to