Problema ao instalar driver de rede

1. Problema ao instalar driver de rede

Brasilio
darsp

(usa Gentoo)

Enviado em 30/05/2009 - 20:41h

Ola a todos!
Estou com u problema aqui ao tentar instalar um drive de rede wireless no suse 11.0

A placa é uma RTL8185 na teoria o suse ja instala o drive mais reconhece ela como RTL8180 e acredito eu que por esse motivo ela não ativa, tento ativar ele, mas ela não fica ativada.

Tentei usar o ndiswrapper com driver windows que funcionava no 10.3, mais no 11 não esta funcionando.

Então baixei o driver da realtek para linux descopactei mais quando rodo
#./makedr acusa o seguinte:

rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /rtl8185_linux_26.1010.0531.2006/ieee80211/tmp
make -C /lib/modules/2.6.25.20-0.1-default/build M=/rtl8185_linux_26.1010.0531.2006/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.25.20-0.1-obj/i386/default'
make -C /usr/src/linux-2.6.25.20-0.1 O=/usr/src/linux-2.6.25.20-0.1-obj/i386/default/. modules
CC [M] /rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.o
In file included from /rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:17:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211.h:1159: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:412: warning: passing argument 2 of ‘queue_delayed_work’ fromincompatible pointer type
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:486: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:885: warning: passing argument 2 of ‘queue_delayed_work’ fromincompatible pointer type
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1359:4: warning: #warning CHECK_LOCK_HERE
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1399:2: warning: #warning CHECK_LOCK_HERE
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1470: warning: ISO C90 forbids mixed declarations and code
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2059: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: ‘INIT_WORK’ undeclared (first use in this function)
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: (Each undeclared identifier is reported only once
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: for each function it appears in.)
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2168:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2169:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2170:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2171:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2172:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2191: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[4]: *** [/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.o] Error 1
make[3]: *** [_module_/rtl8185_linux_26.1010.0531.2006/ieee80211] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.20-0.1-obj/i386/default'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/tmp
make -C /lib/modules/2.6.25.20-0.1-default/build M=/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.25.20-0.1-obj/i386/default'
make -C /usr/src/linux-2.6.25.20-0.1 O=/usr/src/linux-2.6.25.20-0.1-obj/i386/default/. modules
CC [M] /rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.o
In file included from /rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:61:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180.h:29:26: error: linux/config.h: No such file or directory
In file included from /rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180.h:44,
from /rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:61:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/ieee80211.h: In function ‘ieee80211_priv’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/ieee80211.h:1158: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_proc_module_init’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:541: error: ‘proc_net’ undeclared (first use in this function)
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:541: error: (Each undeclared identifier is reported only once
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:541: error: for each function it appears in.)
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_proc_module_remove’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:547: error: ‘proc_net’ undeclared (first use in this function)
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_rx’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2080: error: implicit declaration of function ‘rdtsc’
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953:67: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_init’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953: error: ‘INIT_WORK’ undeclared (first use in this function)
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:3276: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:3276: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_pci_probe’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:3960: error: implicit declaration of function ‘SET_MODULE_OWNER’
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:4031: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_pci_module_init’:
/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:4156: error: implicit declaration of function ‘pci_module_init’
make[4]: *** [/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.o] Error 1
make[3]: *** [_module_/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.20-0.1-obj/i386/default'
make: *** [modules] Error 2

Alguem pode me ajudar, quaquer coisa é valida.
Desde ja eu agradeço.


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts