Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-03-2003, 12:49 AM   #1
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Rep: Reputation: 30
"Configure Kernel" Error

I installed Mandrake 8.2 on a pc that also runs Knoppix(no problems with Knoppix).

I tried to compile my winmodem drivers on the Mandrake installation but an error saying that I should "compile the kernel first" at the end of the compilation process(which obviously was not successful).

What does it mean by "configuring the kernel"?

I have not encountered this error in compiling the drivers in Knoppix .
Old 06-03-2003, 07:25 AM   #2
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Please, paste the full error message here. It seems that your winmodem driver needs a specifig feature in the kernel which you don't have built into the kernel or as module.
Old 06-03-2003, 07:30 AM   #3
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256

Rep: Reputation: 30
and which winmodem drivers are u using? is taht the right version for your kernel? check your version using
uname -r
and check your file's kernel-compatible verson :]
Old 06-03-2003, 08:04 AM   #4
LQ Newbie
Registered: Jan 2003
Location: Munich, Germany
Distribution: Linux from Scratch
Posts: 29

Rep: Reputation: 15
Not all distros copy the kernel source code on to the filesystem upon installation. When you're compiling modules, some kernel header files need to be somewhere in the include path. That's probably what the complaint is.

Check for the source code in /usr/src/linux. If its not there, then you probably need to load it there off of one of the Mandrake CD's, and then configure the kernel using "make menuconfig", or something similar.
Old 06-03-2003, 02:21 PM   #5
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Original Poster
Rep: Reputation: 30
The error is as follows:

>>/usr/src/linux/include/linux/modversions.h:missing. You need to configure your kernel first!<<

I have located my kernel source at /usr/include/linux. The missing file modversions.h only has all lines commented,which is not normal(?)

I have Mandrake 8.2. I went to the mandrake hardware database and found that as of this vesion my winmodem is already working although not fully supported.

Well,I think I will just go back to Knoppix.
Old 06-03-2003, 02:33 PM   #6
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Kernel source should be located in /usr/src/linux-<kernel version>

You should have a symbolic link


pointing to your source code directory

/usr/src/linux-<kernel version>

That is what packages look for. If you put it somewhere else, you have to hack the config files

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
You didn't install the developmental packages? As root, command:
urpmi gcc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
server-error-internal-error with CUPS "Configure Printer" fskmh Slackware 6 06-05-2013 02:51 PM
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 04:12 PM > Forums > Linux Forums > Linux - Software

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

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