PDA

View Full Version : wlan driver problem


trigon
2005-08-19, 08:18 PM CDT
Hi everyone, I'm new to Linux... :)

I've recently installed FC4 on my machine and I'm having trouble getting the wireless network card working. It's a Belkin F5D6001uk 802.11b PCI card, it has a Realtek RTL8180L chipset. After a little digging around these forums I managed to download this file:

rtl8180_linuxdrv_v15_fedora3.zip (from http://www.realtek.com.tw/ )

I'm confident I've got the right file(s) but when I open a terminal window and try to 'make' it I'm presented with the following error message:

[root@localhost rtl8180_1.5_release26]# dir
8180_26_private.ko r8180_if.h r8180_pci_init.h readme26.txt wlandown
Makefile r8180_pci_init.c r8180_type.h rls_note_1220 wlanup
[root@localhost rtl8180_1.5_release26]# make
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/root/Desktop/wirelessdrivers/rtl8180_1.5_release26 MODVERDIR=/root/Desktop/wirelessdrivers/rtl8180_1.5_release26 modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /root/Desktop/wirelessdrivers/rtl8180_1.5_release26/r8180_pci_init.o
/root/Desktop/wirelessdrivers/rtl8180_1.5_release26/r8180_pci_init.c: In function ‘rtl8180_pci_probe’:
/root/Desktop/wirelessdrivers/rtl8180_1.5_release26/r8180_pci_init.c:146: error: ‘struct pci_dev’ has no member named ‘slot_name’
/root/Desktop/wirelessdrivers/rtl8180_1.5_release26/r8180_pci_init.c:150: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[2]: *** [/root/Desktop/wirelessdrivers/rtl8180_1.5_release26/r8180_pci_init.o] Error 1
make[1]: *** [_module_/root/Desktop/wirelessdrivers/rtl8180_1.5_release26] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2
[root@localhost rtl8180_1.5_release26]#


Please can someone help me decipher these cryptic error messages and point me in the right direction? :confused:

bitrain
2005-08-20, 05:02 AM CDT
Do you have gcc32, if so, you have to use that one or hack the source files. If you don't have it, try yum install compat-gcc (or something that looks like that). I don't know how to adjust the makefile you have without configure.

offtopic: use ls instead of dir, it can give more info

trigon
2005-08-24, 06:13 PM CDT
Thanks for the reply, I will try to force it to use gcc32. I guess it doesn't work straight away because the driver was written for FC3 :(

*sigh* I learn fast, the supreme stability of Linux comes at the expense of convenience.

CyberOptiq
2005-08-24, 06:16 PM CDT
Check out this tutorial and see if it helps: http://forums.fedoraforum.org/showthread.php?t=29659