LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rt2500 with 2.6.20.3 kernel (https://www.linuxquestions.org/questions/slackware-14/rt2500-with-2-6-20-3-kernel-538097/)

Tux-Slack 03-16-2007 03:25 PM

rt2500 with 2.6.20.3 kernel
 
before this kernel i used the slackware 11 extra kernel 2.6.17.13
and after installation i had to install packages from slackdvd /extra
installed the rt2500 driver for my minipci wlan card
now i compiled a new kernel, 2.6.20.3
and when i try to install the rt2500 driver again i get this error message:

In file included from /tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c:50:
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rt_config.h:58:40: linux/config.h: No such file or directory
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c: In function `RT2500_probe':
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c:220: warning: long unsigned int format, resource_size_t arg (arg 4)
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c:287: warning: long unsigned int format, resource_size_t arg (arg 3)
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c: In function `RT2500_open':
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c:343: warning: passing arg 2 of `request_irq' from incompatible pointer type
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c: In function `rt2500_resume':
/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.c:947: warning: ignoring return value of `pci_enable_device', declared with attribute warn_unused_result
make[2]: *** [/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/tmp/build/tmp-rt2500/rt2500-1.1.0.b4/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20.3'
rt2500.ko failed to build!
make: *** [debug] Error 1

Alien Bob 03-16-2007 04:39 PM

You will need a development snapshot out of CVS with kernels >= 2.6.19
This is the link to the daily snapshot for rt2500: http://rt2x00.serialmonkey.com/rt2500-cvs-daily.tar.gz - use it in stead of the 1.1.ob4 release.

Eric

r3g 03-17-2007 10:26 AM

I've had similar errors on FC6 after upgrading to 2.6.19 kernel. I was using the release version of the 1.1.0.4b driver, but when I used the latest CVS intead it, worked a treat.

Tux-Slack 03-17-2007 01:58 PM

thank you
this solved the problem, and alot of my nerves ;)


All times are GMT -5. The time now is 03:59 AM.