LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-20-2004, 02:08 PM   #1
lenseboy
LQ Newbie
 
Registered: May 2004
Distribution: MANDRAKE 9.1
Posts: 14

Rep: Reputation: 0
kernel header and ./configure problems


I am experiencing difficulties while trying to install the driver for my wireless card.

1. I have downloaded the appropriate driver, I've extracted the tarballs but when I run the ./configure command I get: "bash: ./configure: No such file or directory". The configure file is there so I'm not too sure what I'm doing wrong.

2. When I try run "make" I get this error: "WARNING: kernel build/output directory not found!
You probably need to install the kernel development/header file package! (which matches your currently running kernel)

Kernel version file: /lib/modules/2.4.21-0.13mdk/build/include/linux/version.h
Kernel configuration file: /lib/modules/2.4.21-0.13mdk/build/.config
Make damn sure these really match your currently running kernel!!"

Now I dont know how to get this kernel directory setup and where to find the files it's looking for.

Please could anyone help ?

Thanks
 
Old 06-20-2004, 04:53 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Basically you need to install the kernel source code. You can find that either on your Mandrake CD's or at the Mandrake web site. If you don't know what kernel version you are running, check the output of uname -a to find out. Then install the kernel source code that matches.
 
Old 06-22-2004, 11:31 AM   #3
lenseboy
LQ Newbie
 
Registered: May 2004
Distribution: MANDRAKE 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
i get the following output...Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 unknown unkn
own GNU/Linux

- i cant find this kernel on my cds, what file should i be looking for ?
- i could not find it on the mandrake site either, there only seems to be iso downloads.

does anyone have this kernel ?
 
Old 06-22-2004, 02:03 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Google showed this as the first hit:
http://rpm.pbone.net/index.php3/stat....i686.rpm.html
 
Old 06-23-2004, 10:27 AM   #5
lenseboy
LQ Newbie
 
Registered: May 2004
Distribution: MANDRAKE 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Alright i've installed the kernel, I still dont see the folder "Linux" appear in my /usr/src/ directory.
Am I doing something wrong, do I need to do something else ?
I really a good step-by step guide on how to do this.
 
Old 06-23-2004, 12:13 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you installed the kernel source code, you should see a folder appear. It is usally named linux-2.x.x Where the x.x is replaced by the kernel version number and any added info. So in your case you should see something like linux2.4.21-0.13.

To make the linux folder, you need to create a soft link in the /usr/src directory. Open a console, jump into the /usr/src directory and type

ln -s linux2.x.x linux

Just be sure to replace the linux2.x.x with whatever the real kernel source directory is.
 
  


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
php5 ./configure error: Cannot find MySQL header files ldp Linux - Software 29 05-15-2018 04:30 PM
Where can I get kernel-header 2.4.29? subaruwrx Linux - General 10 03-22-2005 08:41 PM
kernel header blind958 Mandriva 1 07-14-2004 09:10 PM
./configure not finding header files mikeyt_333 Linux - Software 5 06-30-2004 06:09 PM
Configure kernel header files?? dbet Linux - Newbie 1 12-15-2003 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:03 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