Re: Problem compiling rtl8139.c
Donald Becker <[email protected]> Fri, 5 Dec 2003 16:57:55 -0500 (EST)
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 5 Dec 2003, Mark Cote wrote: > Hi, I'm trying to compile rtl8139.c for a cardbus device on a Debian system > running kernel 2.4.22. I have pcmcia-cs 3.1.34 source in > /usr/src/modules/pcmcia-cs. I've tried compiling rtl8139.c with > > gcc -DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c -o > realtek_cb.o -I/usr/src/modules/pcmcia-cs/include/ Errrmm, that likely won't work with current 2.4-based distributions. Build "*_cb.o" drivers was for Linux-2.2 based distributions, and even there you should really be using 'cb_shim' which allowed the standard Scyld driver in work in both from-boot and hot-swap modes. Do mkdir /tmp/netdrivers/ cd /tmp/netdrivers/ ncftpget ftp://ftp.scyld.com/pub/network/netdrivers.tgz tar xfvz netdrivers.tgz make make install -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 914 Bay Ridge Road, Suite 220 Scyld Beowulf cluster systems Annapolis MD 21403 410-990-9993