First, I'm sorry for spamming this question. I asked it in a different forum and got no help, and this forum seems more appropriate.
I have a Blitzz PC Card wireless NIC for my laptop. It uses the RealTek 8180 chipset. I
hate the NDIS driver that this card uses in XP, so I am avoiding ndiswrapper if I can. Blitzz also provides a ridiculously bad and outdated linux driver on their web site, so I won't touch that.
Luckily, RealTek has an AWESOME driver on their web site that was written with FC3 in mind. I used it in an install of FC3 until recently with excellent results. Weirdly, part of the driver is closed, and you have to compile the open part like normal. But it all works.
My filesystem got horribly corrupted a few days ago and rather than beat my head on the wall trying to fix it, I just went with a fresh install of FC4.
Now when I try to compile the driver, the shell barfs this at me:
Code:
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/data/rtl MODVERDIR=/data/rtl modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /data/rtl/r8180_pci_init.o
/data/rtl/r8180_pci_init.c: In function ‘rtl8180_pci_probe’:
/data/rtl/r8180_pci_init.c:146: error: ‘struct pci_dev’ has no member named ‘slot_name’
/data/rtl/r8180_pci_init.c:150: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[2]: *** [/data/rtl/r8180_pci_init.o] Error 1
make[1]: *** [_module_/data/rtl] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2
A bunch of googling turned up similar cases from other people, but with different drivers. The common factor seems to be gcc4. Most of them found remedies by having some genius look at the driver and suggest minor changes.
So, my educated guess is that this driver is not compatible with gcc4, and I hope I can find someone smarter than me to figure out a remedy.
Then again, maybe I am way off track and someone can tell me a quick fix to get the driver to compile.
I really want to get this thing working because I am having to boot into XP to search for solutions, then boot into Linux to try them, then boot back into XP if they don't work, then boot back into Linux to try a new remedy, and on and on and on. It would be nice if I could just stay in Linux and do it all.
TIA folks!