Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-04-2006, 08:44 PM
|
#1
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Rep:
|
ieee80211 installation problem... Out of option here
At first I thought I needed the kernel sources, which I did installed but I still get the same error message. Can you guys help me out? I dont have ANY idea what is going on, since Im just a newbie and I would like to understand. Obviously, it's looking for a file that is not present. Thanks very much guys.
Quote:
[root@localhost ieee80211-1.1.12]# make
Checking in /lib/modules/2.6.12-17mdk-i586-up-1GB for ieee80211 components...
find: /lib/modules/2.6.12-17mdk-i586-up-1GB/build/: No such file or directory
grep: /lib/modules/2.6.12-17mdk-i586-up-1GB/build//.config: No such file or directory
grep: /lib/modules/2.6.12-17mdk-i586-up-1GB/build//include/linux/autoconf.h: No such file or directory
make -C /lib/modules/2.6.12-17mdk-i586-up-1GB/build M=/home/matt/Desktop/ieee80211-1.1.12 MODVERDIR=/home/matt/Desktop/ieee80211-1.1.12 modules
make: *** /lib/modules/2.6.12-17mdk-i586-up-1GB/build: No such file or directory. Stop.
make: *** [modules] Error 2
[root@localhost ieee80211-1.1.12]#
|
|
|
|
04-04-2006, 09:09 PM
|
#2
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
When you installed the new kernel, did you upgrade the kernel source as well? By the looks of your message, you have a newer Mandriva kernel (default for Mandriva 2006 is 2.6.12-12mdk). look and see if you have the correct version of the source tree in /usr/src. It should be linux-2.6.12-17mdk. If it isn't there, you'll need to get it with urpmi (or the Mandriva Control Center - software updates).
If it is there, then check to see if /lib/modules/2.6.12-17mdk-i586-up-1GB/build/ is linked to that directory (ls -l /lib/modules/). If not linked, then type "ln -s /usr/src/linux-2.6.12-17mdk /lib/modules/2.6.12-17mdk-i586-up-1GB/build/. You will need to be root to do this.
|
|
|
04-04-2006, 09:27 PM
|
#3
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
thanks.... so the problem really is that the source of my kernel is not the correct one... Cant do urpmi since I dont have internet access but Ill get it on rpmfind.net
I downloaded the 2.6.12-12 earlier..... It wasnt the right one was it? Because I didnt upgrade my kernel, I dont even know how to do that.
when it says
Quote:
Checking in /lib/modules/2.6.12-17mdk-i586-up-1GB for ieee80211 components...
|
It means that I have the 2.6.12-17 kernel??
If so, I just found out that rpmfind.net doesnt have this source, where can I find it? kernel.org? If so, how do I put that on my computer?
Cant thank you guys enough!!!! I feel like Im going to make this sucker work with your help 
|
|
|
04-04-2006, 09:57 PM
|
#4
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
That's what it means. You can verify this with "uname -r".
Although it looks like you now have another problem. The update directory where the kernel source "normally" would reside has been updated. So, in order to get you going, you are going to have to install both a new kernel and the source code.
Luckily, I have a link to both. Kernel is here, and the source is here.
Download both of these, then type "rpm -ivh kernel* in the directory you download these to. The new kernel will add itsself to your boot loader without replacing the old one. Reboot, and you should be able to rebuild.
Oh, and welcome to Linux (it gets easier, trust me).
|
|
|
04-05-2006, 05:34 AM
|
#5
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
lol
I hope it gets easier because I've been having all sort of problem since the begining (more than 2 years ago). But now I am older and I really want to get this thing going so Im putting a real honest effort. I am doing a lot of reading and browsing forums for stuff that might come in handy. Thanks to you guys, you help me understand my problem, you're not giving me the answer aways. This is brilliant since this way I am going to learn. And this is what I want!
Thanks Ill try that when I get home after work!
|
|
|
04-05-2006, 08:09 PM
|
#6
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
ok thanks it worked... What that does is install a new kernel right??
|
|
|
04-06-2006, 12:08 AM
|
#7
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
Yes, you should now have a new kernel. You should also have the correct source code for that kernel, and can now build the driver you were trying to build earlier.
Good luck. If you need help, just ask.
|
|
|
04-06-2006, 05:30 AM
|
#8
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Wow!
Didnt think installing a new kernel was that easy!! :P
Where did the system put the kernel source when I installed the rpm?
|
|
|
04-06-2006, 08:56 PM
|
#9
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
it's in the /usr/src folder right?
|
|
|
04-07-2006, 12:09 AM
|
#10
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
The kernel source should be in /usr/src/linux-2.6.12-18mdk, and there should be a link to it at /usr/src/linux as well as /lib/modules/2.6.12-18mdk/build.
|
|
|
04-07-2006, 05:29 AM
|
#11
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Ive seen that some times, what do you mean by a link?
|
|
|
04-08-2006, 07:48 PM
|
#12
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
I understand that a link is a shortcut (under windows that is) but what I dont get is why do we need to make a link there?
|
|
|
04-09-2006, 12:35 AM
|
#13
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
Some applications look there for a link to the source. It's mainly for compatibility. Don't worry, it doesn't take up more space on the system.
|
|
|
04-09-2006, 08:24 AM
|
#14
|
Member
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274
Original Poster
Rep:
|
Alrighty!!!
Thanks a lot1
|
|
|
All times are GMT -5. The time now is 11:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|