Fedora Linux Support Community & Resources Center
  #1  
Old 2nd February 2007, 04:59 AM
semetay Offline
Registered User
 
Join Date: Jan 2007
Posts: 9
rtl8187 driver compiling

Hello,

I am trying to install rtl8187 driver which is on my asus m2n32 mainboard. I tried everything but still no luck. here is what I am gettin when I do ./makedrv

[root@localhost rtl8187_linux_26.1010.0622.2006]# sh ./makedrv
ieee80211/
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_wx.c
ieee80211/license
ieee80211/Makefile
ieee80211/Modules.symvers
ieee80211/readme
beta-8187/
beta-8187/r8180_hw.h
beta-8187/r8187.h~
beta-8187/r8180_rtl8225.h
beta-8187/license
beta-8187/.tmp_versions/
beta-8187/.tmp_versions/r8187.mod
beta-8187/Makefile
beta-8187/r8180_93cx6.c
beta-8187/tags
beta-8187/authors
beta-8187/r8187_core.c~
beta-8187/r8180_pm.h
beta-8187/r8180_rtl8225.c
beta-8187/copying
beta-8187/r8180_wx.h
beta-8187/Modules.symvers
beta-8187/r8180_rtl8225z2.c
beta-8187/readme
beta-8187/r8187_core.c
beta-8187/ieee80211.h
beta-8187/r8180_93cx6.h
beta-8187/changes
beta-8187/r8187.h
beta-8187/r8180_pm.c
beta-8187/install
beta-8187/ieee80211_crypt.h
beta-8187/r8180_wx.c
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/rtl8187_linux_26.1010.0622.2006/ieee80211/tmp
make -C /lib/modules/2.6.19-1.2895.fc6/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ダ~ieee80211_softmac_scan_wqダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1360:4: warning: #warning CHECK_LOCK_HERE
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1400:2: warning: #warning CHECK_LOCK_HERE
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c: In function ダ~ieee80211_rx_frame_softmacダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1471: warning: ISO C90 forbids mixed declarations and code
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1473: warning: ダ~chlenダT may be used uninitialized in this function
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1360:4: warning: #warning CHECK_LOCK_HERE
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:1400:2: warning: #warning CHECK_LOCK_HERE
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.o
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.o
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.o
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_module.o
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.o
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.c: In function ダ~ieee80211_wx_set_wapダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.c:143: warning: ISO C90 forbids mixed declarations and code
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt.o
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.o
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.c: In function ダ~ieee80211_ccmp_aes_encryptダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.c:75: warning: ダ~crypto_cipher_encryptダT is deprecated (declared at include/linux/crypto.h:853)
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.o
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function ダ~ieee80211_tkip_encryptダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:317: warning: ダ~crypto_cipher_encryptダT is deprecated (declared at include/linux/crypto.h:853)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function ダ~ieee80211_tkip_decryptダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:396: warning: ダ~crypto_cipher_decryptダT is deprecated (declared at include/linux/crypto.h:879)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c: In function ダ~michael_micダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:448: warning: ダ~crypto_digest_initダT is deprecated (declared at include/linux/crypto.h:714)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:449: warning: ダ~crypto_digest_setkeyダT is deprecated (declared at include/linux/crypto.h:740)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:450: warning: ダ~crypto_digest_updateダT is deprecated (declared at include/linux/crypto.h:717)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.c:451: warning: ダ~crypto_digest_finalダT is deprecated (declared at include/linux/crypto.h:719)
CC [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.o
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c: In function ダ~prism2_wep_encryptダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c:141: warning: ダ~crypto_cipher_encryptダT is deprecated (declared at include/linux/crypto.h:853)
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c: In function ダ~prism2_wep_decryptダT:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.c:185: warning: ダ~crypto_cipher_decryptダT is deprecated (declared at include/linux/crypto.h:879)
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt-rtl.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep-rtl.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip-rtl.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp-rtl.o
Building modules, stage 2.
MODPOST 5 modules
CC /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.mod.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.ko
CC /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt-rtl.mod.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt-rtl.ko
CC /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp-rtl.ko
CC /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip-rtl.ko
CC /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep-rtl.mod.o
LD [M] /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep-rtl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/rtl8187_linux_26.1010.0622.2006/beta-8187/tmp
make -C /lib/modules/2.6.19-1.2895.fc6/build M=/root/rtl8187_linux_26.1010.0622.2006/beta-8187 modules
make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'
CC [M] /root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ダ~rtl8187_rx_urbsubmitダT:
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:700: warning: passing argument 6 of ダ~usb_fill_bulk_urbダT from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ダ~rtl8180_txダT:
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:1428: warning: passing argument 6 of ダ~usb_fill_bulk_urbダT from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ダ~rtl8180_ioctlダT:
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:2298: warning: ISO C90 forbids mixed declarations and code
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c: In function ダ~rtl8187_usb_probeダT:
/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.c:2421: error: ダ~struct net_deviceダT has no member named ダ~get_wireless_statsダT
make[2]: *** [/root/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187_core.o] Error 1
make[1]: *** [_module_/root/rtl8187_linux_26.1010.0622.2006/beta-8187] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'
make: *** [modules] Error 2

any idea why I get these errors?

Thank you in advance...

semetay

fyi I tried ndiswrapper as well. which seemed to be installing xp64 inf file but can not find any network and no light on the adapter either.
Reply With Quote
  #2  
Old 5th February 2007, 05:29 PM
davfel Offline
Registered User
 
Join Date: Dec 2006
Posts: 166
I get the same errors with the new kernel.... I am told it is not a bug and that the drivers do not support the newer kernel...so right now i use the older kernel. if you find an answer please post it.
thanks ,
dave
Reply With Quote
  #3  
Old 6th February 2007, 10:20 PM
swedish cook's Avatar
swedish cook Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
Damn me too. Looks like their "2.6.x" driver wasn't that great - according to this page http://lwn.net/Articles/2.6-kernel-api/ that structure member was depricated in 2.6 and its now removed in 2.6.19. Hope everyone who reads this emails them then just maybe they will resolve.
Reply With Quote
  #4  
Old 6th February 2007, 10:43 PM
swedish cook's Avatar
swedish cook Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
From the looks of the comments at the top of beta-8187/r8187_core.c seems like Realtek may not have had a big hand in this driver, sending a nice email to the author ...
Reply With Quote
  #5  
Old 6th February 2007, 11:59 PM
swedish cook's Avatar
swedish cook Offline
Registered User
 
Join Date: Feb 2007
Posts: 3
OK I'm posting this on 2.6.19 using rtl8187 driver, currently its a nasty hack but hey its working.

1. Edit makedrv and comment out the tar lines otherwise they'll undo the mod below
2. Modify line 2421 of beta-8187/r8187_core.c to be " dev->get_stats = r8180_get_wireless_stats;" - I got this thanks to posts on Gentoo site from Christian Holler - cheers
3. ./makedrv
4. Now this is the bit that stinks, the compilation works ok but on my x86 64 system at least its now chopping the last character off my ESSID so if I do "iwconfig wlan0 essid "WENDY"" and then "iwconfig" the ESSID its using is "WEND" !!! .... for now I've added an extra character on and it works. Lord knows what errors will result, feels like the datastructures aren't properly aligned anymore .......

Can anyone find whats still wrong here ?

Also what have you guys got by the way of scripts to bring it up on boot ?
Reply With Quote
Reply

Tags
compiling, driver, rtl8187

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install RTL8187 driver {LCD}STELIOS Servers & Networking 11 6th January 2012 07:33 AM
Compiling Driver Problem buttons Using Fedora 4 11th July 2008 04:40 PM
rtl8187 Driver Problem dpgamer Hardware & Laptops 0 14th January 2008 06:10 AM
Realtek rtl8187 wireless driver fails with 2.6.19 kernel ColinA Hardware & Laptops 3 22nd March 2007 01:49 AM
RealTek RTL8187 driver install problem davfel Servers & Networking 27 22nd March 2007 01:19 AM


Current GMT-time: 16:37 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinョ Copyright ゥ2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat