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

D-Link DFE-690TXD



When trying to compile module for D-Link DFE-690TXD under Woody, receive the following output:

// Begin
In file included from dfe690.c:110:
/usr/include/linux/malloc.h:4: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from dfe690.c:130:
kern_compat.h:463: warning: static declaration for `pci_find_capability' follows non-static
dfe690.c: In function `rtl8129_open':
dfe690.c:716: structure has no member named `tbusy'
dfe690.c:717: structure has no member named `interrupt'
dfe690.c:718: structure has no member named `start'
dfe690.c: In function `rtl8129_timer':
dfe690.c:808: structure has no member named `interrupt'
dfe690.c:814: structure has no member named `tbusy'
dfe690.c: In function `rtl8129_tx_timeout':
dfe690.c:941: structure has no member named `tbusy'
dfe690.c: In function `rtl8129_start_xmit':
dfe690.c:972: structure has no member named `tbusy'
dfe690.c:995: structure has no member named `tbusy'
dfe690.c:999: structure has no member named `tbusy'
dfe690.c: In function `rtl8129_interrupt':
dfe690.c:1024: structure has no member named `interrupt'
dfe690.c:1027: structure has no member named `interrupt'
dfe690.c:1124: structure has no member named `tbusy'
dfe690.c:1125: `NET_BH' undeclared (first use in this function)
dfe690.c:1125: (Each undeclared identifier is reported only once
dfe690.c:1125: for each function it appears in.)
dfe690.c:1200: structure has no member named `interrupt'
dfe690.c: In function `rtl8129_close':
dfe690.c:1323: structure has no member named `start'
dfe690.c:1324: structure has no member named `tbusy'
dfe690.c: In function `rtl8129_get_stats':
dfe690.c:1389: structure has no member named `start'
// End

INSTALL.TXT on cd provided by manufacturer recommends following command to:

// Begin
gcc -DCARDBUS -DMODULE -D_KERNEL_ -Wall -Wstrict-prototypes -O6 -c dfe690.c -o dfe690_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/pcmcia/
// End

With a note that:

// Begin
The directory "pcmcia-cs-3.0.9" stands for the card service version you use. Please change it to the version on your system in order to include proper .h file. The final file is dfe690_cb.o
// End

I used the following command, per my variables:

// Begin
gcc -DCARDBUS -DMODULE -D_KERNEL_ -Wall -Wstrict-prototypes -O6 -c dfe690.c -o dfe690_cb.o -I/usr/src/modules/pcmcia-cs/include/pcmcia
// End

as I had installed the deb for pcmcia-source (3.1.33-6). Kernel version 2.4.18, no pcmcia support. All other utils versions present in Woody as of the date of this post.

Again, source file for module was provided by manufacturer. Appreciate any help.

Joe


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: