LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling problem - rtl8180 (https://www.linuxquestions.org/questions/slackware-14/compiling-problem-rtl8180-348881/)

maginotjr 08-01-2005 10:59 AM

Compiling problem - rtl8180
 
why amI having this problem?
Code:

root@slackbox:/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21# make
make -C /lib/modules/2.6.12.1/build SUBDIRS=/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21 MODVERDIR=/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21 modules
make[1]: Entering directory `/usr/src/linux-2.6.12.1'
  CC [M]  /home/dealer/p.d/Libs_and_Devel/rtl8180-0.21/r8180_core.o
/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21/r8180_core.c: In function `rtl8180_pci_probe':
/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21/r8180_core.c:3632: error: structure has no member named `slot_name'
make[2]: *** [/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21/r8180_core.o] Error 1
make[1]: *** [_module_/home/dealer/p.d/Libs_and_Devel/rtl8180-0.21] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.1'
make: *** [2.6] Error 2


maginotjr 08-01-2005 12:13 PM

this problem can be result of no pcmcia card installed right now? I going to buy this card maybe tonight or tomorrow so I was making all the configs so I could test it in place....

But im guessing this may be happening because the d-link dwl610 is not plugged on my pcmcia...

gbonvehi 08-01-2005 12:56 PM

No, that's a problem with the sources excepting a structure's member (it's a kind of variable in C) named slot_name but it can't find it. Check that you've the correct version of libraries that the software requieres to compile.

maginotjr 08-01-2005 02:53 PM

Im gettingan error when booting the system
something like
cardmgr[2188]: no slot found or no socket

maginotjr 08-01-2005 03:00 PM

i forgot, im bootinh with dwl 610 wireless pcmcia card in the slot and having this error... maybe I have to compile some module?

maginotjr 08-01-2005 03:22 PM

booting with kernel 2.4 it show cardmgr: watching 1 socket

gbonvehi 08-01-2005 03:46 PM

Take a look at this page: http://www.canit.se/~oli/wl/
You'll need pcmcia-cs and wireless-tools packages installed.

maginotjr 08-01-2005 04:18 PM

I compiled the right modules in my 2.6 kernel and now my cardmgr recognize socket 1 ... I will see your link

maginotjr 08-01-2005 04:50 PM

your link is for kernel 2.4 and for the realtek driver from realtek... Im using kernel 2.6 and have the right drive that is from rtl8180 sourceforge..

:/
I just want to know why isnt compiling.

maginotjr 08-01-2005 05:02 PM

here is the solution!!
problem solved! :D
http://sourceforge.net/forum/forum.p...orum_id=390417

gbonvehi 08-01-2005 05:08 PM

I found a post in German and as far as I understood that driver doesn't work under 2.6.12.X kernels: http://www.debianforum.de/forum/viewtopic.php?p=302045

It seems it's been corrected or have been corrected in CVS version.

Edit: Well, it seems you found one in English, good for you ;)

maginotjr 08-06-2005 12:19 AM

yeah, now is working fine.

thanks anyway. The only thing I done was download the CVS version of the driver.
:D


All times are GMT -5. The time now is 09:45 AM.