You are not logged in.

#1 2007-05-10 08:39:34

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

problems compiling rtl8187 from realtek site

Seeing as the ftp site pointed at by AUR package for the rtl8187 drivers is still down I'm trying to build them from the realtek site (http://www.realtek.com.tw/downloads/dow … s=true#362). After changing the ieee80211 files to use autoconf.h rather than config.h I got the 802.11 stack to build but when I tried to build the rtl driver I get the following error:

rtl8187 # make
make -C /lib/modules/2.6.19-beyond/build M=/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: Entering directory `/usr/src/linux-2.6.19-beyond'
  CC [M]  /usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8187_rx_urbsubmit':
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8180_tx':
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8187_usb_probe':
/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: 'struct net_device' has no member named 'get_wireless_stats'
make[2]: *** [/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/usr/src/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-beyond'
make: *** [modules] Error 2

I assume that this is a version issue between arch packages and the ones realtek are expecting. Has anyone else come across this and if so, how can I fix it?

Offline

#2 2007-05-10 09:10:16

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: problems compiling rtl8187 from realtek site

The errors described are related to the kernel / kernel version, it are structures defined in the kernel headers. It's well known they don't work with 2.6.2x kernels, also, i wonder why you even get this error, since already the INIT_WORK macro should take a different argument number.

I'd suggest you trying to build the according GPL driver by serialmonkey (actually i don't know if they're included already in arch). That's what the ubuntu devs did for the edgy release, since the realtec drivers are not compatible with the latest kernel versions (somewhere in 2.6.14 the changes happened).
http://rt2x00.serialmonkey.com

Kind regards,
STi


Ability is nothing without opportunity.

Offline

#3 2007-05-10 22:22:49

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: problems compiling rtl8187 from realtek site

I'm running on a 2.6.19-beyond kernel so that may be why I'm getting a different error to the one you would expect.

I had a look at the serial monkey drivers but there don't support my card - rtl8187.

cards based on the following Ralink chipsets: rt2400, rt2500, rt2570, rt61 and rt73.

I'll have to use the http://rtl-wifi.sourceforge.net/ ones instead.

Offline

#4 2007-06-16 00:23:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: problems compiling rtl8187 from realtek site

I've submitted a PKGBUILD for the newest drivers (rtl-wifi-svn): http://aur.archlinux.org/packages.php?d … 1&ID=11641

Offline

Board footer

Powered by FluxBB