isn't d-link dfe-528tx rtl 8139 compatible? if it is... try loading
that module and see if it works.
if that fails, have you tried an update to your kernel sources to the
latest mandriva blend? 2.6.20 has been out for weeks now... there
might be a kernel source update for your distro.
cheers.
On 03 3, 07, at 6:07 AM, Jubert Ledesma wrote:
Hi Guys!
I need help with this one. I tried to install another Ethernet Card
a D-Link DFE-528TX. It said on the package that it works for linux
kernel 2.2 and 2.4. I have 2.6.17. I'm using Mandriva and i already
have the kernel-source package installed.
here is the output when i did a make for the driver.
[EMAIL PROTECTED] # make && make install
gcc -DMODULE -Wall -Wstrict-prototypes -O6 -I /usr/src/
linux-2.6.17-5mdv/include -c dfe528.c
In file included from /usr/src/linux-2.6.17-5mdv/include/linux/
spinlock.h:87,
from /usr/src/linux-2.6.17-5mdv/include/linux/capability.h:45,
from /usr/src/linux-2.6.17-5mdv/include/linux/sched.h:7,
from /usr/src/linux-2.6.17-5mdv/include/linux/module.h:10,
from dfe528.c:100:
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h: In function
‘__raw_spin_lock’:
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h:44: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h: In function
‘__raw_read_lock’:
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h:100: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h:100: error:
expected expression before ‘else’
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h: In function
‘__raw_write_lock’:
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h:105: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/spinlock.h:105: error:
expected expression before ‘else’
In file included from /usr/src/linux-2.6.17-5mdv/include/linux/
sched.h:20,
from /usr/src/linux-2.6.17-5mdv/include/linux/module.h:10,
from dfe528.c:100:
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h: In function
‘down’:
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h:112: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h: In function
‘down_interruptible’:
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h:137: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h: In function
‘down_trylock’:
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h:161: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h: In function ‘up’:
/usr/src/linux-2.6.17-5mdv/include/asm/semaphore.h:184: error:
expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
dfe528.c:110:26: error: linux/malloc.h: No such file or directory
In file included from /usr/src/linux-2.6.17-5mdv/include/linux/
if_ether.h:111,
from /usr/src/linux-2.6.17-5mdv/include/linux/netdevice.h:29,
from dfe528.c:113:
/usr/src/linux-2.6.17-5mdv/include/linux/skbuff.h: In function
‘skb_add_data’:
/usr/src/linux-2.6.17-5mdv/include/linux/skbuff.h:1173: warning:
pointer targets in passing argument 1 of
‘csum_partial_copy_from_user’ differ in signedness
In file included from dfe528.c:130:
kern_compat.h: At top level:
kern_compat.h:203: error: expected ‘)’ before string constant
kern_compat.h: In function ‘pci_drv_register’:
kern_compat.h:242: warning: implicit declaration of function
‘pci_find_class’
kern_compat.h:242: warning: assignment makes pointer from integer
without a cast
kern_compat.h:281: warning: ‘check_region’ is deprecated (declared
at /usr/src/linux-2.6.17-5mdv/include/linux/ioport.h:124)
kern_compat.h:324: error: ‘MOD_INC_USE_COUNT’ undeclared (first use
in this function)
kern_compat.h:324: error: (Each undeclared identifier is reported
only once
kern_compat.h:324: error: for each function it appears in.)
kern_compat.h: In function ‘pci_drv_unregister’:
kern_compat.h:453: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use
in this function)
kern_compat.h: At top level:
kern_compat.h:463: error: static declaration of
‘pci_find_capability’ follows non-static declaration
/usr/src/linux-2.6.17-5mdv/include/linux/pci.h:443: error: previous
declaration of ‘pci_find_capability’ was here
dfe528.c:330: error: expected ‘)’ before string constant
dfe528.c:331: error: expected ‘)’ before string constant
dfe528.c:332: error: expected ‘)’ before string constant
dfe528.c:333: error: expected ‘)’ before string constant
dfe528.c:334: error: expected ‘)’ before string constant
dfe528.c: In function ‘rtl8139_probe1’:
dfe528.c:377: warning: implicit declaration of function
‘init_etherdev’
dfe528.c:377: warning: assignment makes pointer from integer
without a cast
dfe528.c: In function ‘rtl8129_open’:
dfe528.c:645: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in
this function)
dfe528.c:646: warning: passing argument 2 of ‘request_irq’ from
incompatible pointer type
dfe528.c:647: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in
this function)
dfe528.c:714: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c:715: error: ‘struct net_device’ has no member named
‘interrupt’
dfe528.c:716: error: ‘struct net_device’ has no member named ‘start’
dfe528.c: In function ‘rtl8129_timer’:
dfe528.c:806: error: ‘struct net_device’ has no member named
‘interrupt’
dfe528.c:812: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c: In function ‘rtl8129_tx_timeout’:
dfe528.c:939: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c: In function ‘rtl8129_start_xmit’:
dfe528.c:970: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c:993: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c:997: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c: In function ‘rtl8129_interrupt’:
dfe528.c:1029: error: ‘struct net_device’ has no member named
‘interrupt’
dfe528.c:1033: error: ‘struct net_device’ has no member named
‘interrupt’
dfe528.c:1122: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c:1123: warning: implicit declaration of function ‘mark_bh’
dfe528.c:1123: error: ‘NET_BH’ undeclared (first use in this function)
dfe528.c:1200: error: ‘struct net_device’ has no member named
‘interrupt’
dfe528.c: In function ‘rtl8129_close’:
dfe528.c:1321: error: ‘struct net_device’ has no member named ‘start’
dfe528.c:1322: error: ‘struct net_device’ has no member named ‘tbusy’
dfe528.c:1354: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in
this function)
dfe528.c: In function ‘mii_ioctl’:
dfe528.c:1362: warning: dereferencing type-punned pointer will
break strict-aliasing rules
dfe528.c: In function ‘rtl8129_get_stats’:
dfe528.c:1387: error: ‘struct net_device’ has no member named ‘start’
dfe528.c: In function ‘rtl_pwr_event’:
dfe528.c:1467: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in
this function)
dfe528.c:1501: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in
this function)
make: *** [dfe528.o] Error 1
Hope you could help me with this. Tnx.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
------------
Cocoy Dayao
[EMAIL PROTECTED]
"People who are really serious about software should make their own
hardware." --Alan Kay
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph