LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2004, 09:03 AM   #1
NHBlacklabs
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Makefile:66: *** Cannot find a kernel config file. Stop


Ok, so just when I think I am getting the hang of it... bam

Makefile:66: *** Cannot find a kernel config file. Stop.\

Trying to do a make && make install for the aironet mini PCI driver.

Any thoughts?
 
Old 03-24-2004, 09:04 AM   #2
zmieff
Member
 
Registered: Feb 2004
Location: Austria
Distribution: NetBSD 2.0, DragonFlyBSD 1.0
Posts: 66

Rep: Reputation: 15
have typed ./config before make and make install??
 
Old 03-24-2004, 09:27 AM   #3
NHBlacklabs
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
[root@localhost airo_mpi-20031220]# ./config make
bash: ./config: No such file or directory

What am I missing? Besides the obvious ;-)
 
Old 03-24-2004, 09:35 AM   #4
zmieff
Member
 
Registered: Feb 2004
Location: Austria
Distribution: NetBSD 2.0, DragonFlyBSD 1.0
Posts: 66

Rep: Reputation: 15
not
Code:
./config make
only
Code:
./configure
 
Old 03-24-2004, 10:31 AM   #5
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
usually just a

./configure
./make
./make install

but i think the kernel config file that it is asking for is from the kernel source. usually you need that. you can get the source for your currently running kernel (if it is the one your distro gave you) from the installation CDs
 
Old 03-24-2004, 04:43 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The config file it is looking for is .config located in the source file for that version of the kernel. It is produced by the make config or make xconfig step. It defines what modules you want compiled into the kernel, which run time kernel modules you want, as well as other options.
 
Old 03-24-2004, 06:51 PM   #7
NHBlacklabs
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, thank you for all of your replies....

Now, my kernel source is in /usr/src/linux-2.4.21-9.0.1.EL/

Do I need to make changes to the Makefile in the airo_mpi-20031220? Sorry if I am not giving enough details, just thinking that it might be looking in the wrong place for the config file?!?

I will continue to trial and error and see what I come up with....

Thought I was graduating beyond, but still just a:
 
Old 03-25-2004, 04:03 AM   #8
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
if you're in an rpm based distro then generally the kernel-source rpm contains a .config file as well.
even if you're in slackware, i would think that the kernel source would be available, and usually with a .config file.
and even if you use gentoo or arch that require you to compile from source, while compiling the kernel you will make a .config file

just cd to /usr/src/<kernel> and do an ls -a|more

.config should be in that list

if not, just go to the kernel source dir, and put in make xconfig or make menuconfig. if a .config file isn't available, a readymade one will be constructed using defaults in a subdir of the kernel

you should now have a .config file ready to use
 
  


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
WINE - CONFIG File, can't find it to do first config Hero Doug Linux - Software 1 09-06-2005 11:03 AM
can I find a .config file for mandrake's precompiled kernels? schantz Linux - General 2 12-17-2003 03:47 PM
How do i find the proper linux config file? justinfl General 2 10-08-2003 11:01 PM
How can I find/generate a kernel .config file? David Reid Linux - Newbie 5 08-08-2002 05:30 AM
RTCW can not find mesalib nor config file Rodcl Linux - Newbie 16 04-24-2002 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 AM.

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