LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-08-2006, 08:51 AM   #1
Alias_NeO
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Rep: Reputation: 0
RTL8187 Driver install problem.


Hi, all

I just downloaded the rtl8180 driver from sourceforge and extracted the contents to a directory on my desktop, i read the install document which said use "make" and so i did, and came up with the following problems.



Code:
make -C /lib/modules/2.6.17-1.2174_FC5/build SUBDIRS=/home/neo/Desktop/rtl8180-0.21 MODVERDIR=/home/neo/Desktop/rtl8180-0.21 modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2174_FC5-x86_64'
scripts/Makefile.build:17: /home/neo/Desktop/rtl8180-0.21/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/neo/Desktop/rtl8180-0.21/Makefile'. Stop.
make[1]: *** [_module_/home/neo/Desktop/rtl8180-0.21] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2174_FC5-x86_64'
make: *** [2.6] Error 2
after this, terminal returns to prompt and all the files from the directory disappear.

Any ideas on how i can fix this please?

I am running Redhat FC5 and performed "yum update" lastnight and acceted the installation of all 800+ packages which came to over 1GB.

Thanks in advance.
 
Old 09-08-2006, 08:04 PM   #2
Alias_NeO
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Driver installed

Ok, I have gotten a little further. I had to replace the MODVERDIR with the (new?) "M" in the modules makefile and then they compiled fine.

I am now having a problem compiling the driver, the driver uses the old MODULE_PARM so i replaced these with the new module_param equivelents.

Now i get problems in compile with different errors:

output error: r8187_core.c:2338: warning: ISO C90 forbids mixed declarations and code


Code:
2332:int rtl8180_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)

2333:{

2334:	struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev);

2335:	

2336:	down(&priv->wx_sem);

2337:	

2338:	struct iwreq *wrq = (struct iwreq *) rq;

2339:	int ret=-1;

2340:	switch (cmd) {

2341:	    case RTL_IOCTL_WPA_SUPPLICANT:

2342:		ret = ieee80211_wpa_supplicant_ioctl(priv->ieee80211, &wrq->u.data);

2343:		break;


2344:
2345:	    default:

2346:		ret = -EOPNOTSUPP;

2347:		break;

2348:	}


2349:
2350:	up(&priv->wx_sem);

2351:	

2352:	return ret;

2353:}
error output: r8180_wx.c:167: error: implicit declaration of function ‘rtl8187_set_rxconf’


Code:
157:static int r8180_wx_set_mode(struct net_device *dev, struct iw_request_info *a,
158:			     union iwreq_data *wrqu, char *b)
159:{
160:	struct r8180_priv *priv = ieee80211_priv(dev);
161:	int ret;
162:	
163:	down(&priv->wx_sem);
164:	
165:	ret = ieee80211_wx_set_mode(priv->ieee80211,a,wrqu,b);
166:	
167:	rtl8187_set_rxconf(dev);
168:	
169:	up(&priv->wx_sem);
170:	return ret;
171:}
If anyone could help me t o fix these i'd be grateful. Thanks

Last edited by Alias_NeO; 09-09-2006 at 08:18 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to install NVIDIA driver punx120 Debian 2 11-13-2004 02:06 PM
Driver Install Problem Chico_GreenLeaf Linux - Newbie 4 05-23-2004 05:30 AM
Driver install problem askia4life Linux - Hardware 7 04-05-2004 06:47 PM
NIC driver install problem Unforgiver Linux - Newbie 4 03-17-2004 02:36 PM
Driver Install Problem Assassin Linux - Newbie 5 11-28-2003 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration