Building on RH7.3 from netdrivers-3.3
Robert W March <[email protected]> Wed, 1 Jan 2003 23:18:05 -0500
| Newsgroups | gmane.linux.drivers.tulip.general |
|---|---|
| Message-ID | <[email protected]> |
I purchased a Netgear FA511 CardBus adapter for my Thinkpad 600E running RH7.3
with the 2.4.19 kernel. The supplied driver failed to compile on this
system.
So I grabbed netdrivers-3.3.tgz and unpacked it. In the Makefile I set:
PCMCIA?=/usr/src/linux/include/pcmcia
But,
$ make
also fails with:
Makefile:46: No kernel version has been specified.
Assuming 2.4.18-19.7.x.
Set the KERNVER variable to specify a different kernel.
cc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-I/lib/modules/2.4.18-19.7.x/build/include/ -pipe -fno-strength-reduce
-DMODVERSIONS -c -o pci-skeleton.o pci-skeleton.c
In file included from
/lib/modules/2.4.18-19.7.x/build/include/linux/spinlock.h:56,
from
/lib/modules/2.4.18-19.7.x/build/include/linux/module.h:11,
from pci-skeleton.c:106:
/lib/modules/2.4.18-19.7.x/build/include/asm/spinlock.h:9: nondigits in number
and not hexadecimal
/lib/modules/2.4.18-19.7.x/build/include/asm/spinlock.h:9: nondigits in number
and not hexadecimal
/lib/modules/2.4.18-19.7.x/build/include/asm/spinlock.h:9: parse error before
`1b7d4074'
/lib/modules/2.4.18-19.7.x/build/include/asm/spinlock.h:10: `printk_R_ver_str'
declared as function returning a function
/lib/modules/2.4.18-19.7.x/build/include/asm/spinlock.h:10: warning: function
declaration isn't a prototype
In file included from
/lib/modules/2.4.18-19.7.x/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.18-19.7.x/build/include/linux/list.h:6,
from
/lib/modules/2.4.18-19.7.x/build/include/linux/module.h:12,
[snipped]
The targetted kernel is correct.
Could someone point me in the right direction to deal with this?
Alternatively, Mr. Becker's online docs mention that pre-compiled drivers are
available but, I could not find where they might be. Can someone point them
out?
In the docs, the driver update page appears to recommend the SRPM route as the
prefer technique but ftp://ftp.scyld.com/pub/network/netdrivers-3.1-1.src.rpm
does not appear to exist.
-Robert
--
Robert W March
St. Andrew's House
L'Orignal Ontario Canada
_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip