Hello,
I am having problems compiling the driver for my wireless network card that uses the mentioned chip.
I am currently using opensuse 11.1 and by default it brings a “native” driver for but is not working properly because of a poor signal strength once it gets connected.
I really don’t know if this is a driver problem or something else with kNetworkManager because the card gets connected but has a lot of packet loss and I am pretty sure that is a software problem because I used literally the same card in another desktop computer but running opensuse 10.3. The problems cames after upgrade.
After a lot of researching I still can’t find a way out and I even tried ndiswrapper but was worse and screws my entire network connections so I rolled back until the beginning.
Finally I downloaded the latest driver and I followed the steps listed in README file but I got this errors during make:
In file included from /tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.h:44,
from /tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:61:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/ieee80211.h: In function ‘ieee80211_priv’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/ieee80211.h:1212: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
In file included from /tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:61:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.h:46:27: error: asm/semaphore.h: No such file or directory
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_init’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: ‘proc_net’ undeclared (first use in this function)
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: (Each undeclared identifier is reported only once
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: for each function it appears in.)
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_remove’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:594: error: ‘proc_net’ undeclared (first use in this function)
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘alloc_tx_desc_ring’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1588: warning: cast from pointer to integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1588: warning: cast to pointer from integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1589: warning: cast to pointer from integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1589: warning: cast from pointer to integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘alloc_rx_desc_ring’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1766: warning: cast from pointer to integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1766: warning: cast to pointer from integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1767: warning: cast to pointer from integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1767: warning: cast from pointer to integer of different size
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_init’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3159: warning: assignment from incompatible pointer type
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_pci_probe’:
/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:4213: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[4]: *** [/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.o] Error 1
make[3]: *** [_module_/tmp/rtl8185_linux_26.1027.0823.2007/rtl8185] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
make: *** [modules] Error 2
I hope I find a solution because I don’t know what else to do.
Thanks…