LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-03-2003, 12:49 AM   #1
bongski55
Member
 
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
kater
Member
 
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
kazuni
Member
 
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
Code:
uname -r
and check your file's kernel-compatible verson :]
 
Old 06-03-2003, 08:04 AM   #4
gbbenson
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
bongski55
Member
 
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
fancypiper
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

/usr/src/linux

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
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
 
  


Reply


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


All times are GMT -5. The time now is 08:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration