LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-08-2004, 06:50 AM   #1
maxmanseb
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake 10
Posts: 2

Rep: Reputation: 0
Problem mandrake 10 modversions.h


I have a big problem :

After the installation of my HSF drivers, when I load hsfconfig I have an error : "missing file /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h The cause of this problem is usually a missing or miscofigured kernel source tree", which also occurs when I try to install the NVIDIA drivers : "The kernel header file /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h does not exist. The most likely reason for this is that the kernel header files in /lib/modules/2.6.3-4mdk/build/include have not been configured"

In fact, this modversions.h doesn't exist on my computer. I have a Mandrake 10 community with the given kernel and kernel source (2.6.3).

Please give me solutions to this problem, and please don't forget that I'm a new user of linux, so if you can find me simple and well describe solution...

Thank you !
 
Old 04-08-2004, 09:02 AM   #2
Popolof
LQ Newbie
 
Registered: Apr 2004
Location: Reims France
Distribution: mandrake 10 & Debian
Posts: 1

Rep: Reputation: 0
Sorry I'm french so....

I had the same problem, it's just that your modem drivers aren't compatible with the 2.6 kernel, the problem is the same for Nvidia, the need the modvesions.h file but it had been deplaced in another directory (i don't remember the exact path) (search it with the command ' find /usr/src -name "modversions.h" ') .

A solution is to download updated drivers for your hsf modem or change your kernel!!

For Nvidia there are new drivers for the kernel 2.6.
 
Old 04-29-2004, 08:52 PM   #3
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Rep: Reputation: 30
maxmanseb,

You and I are on identical kernels and have exactly the same problem. I think our driver might be here:

http://linmodems.technion.ac.il/pack...em/kernel-2.6/

I can't check this out until tonight but you might be able to get a head start.
 
Old 05-27-2004, 09:26 PM   #4
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Rep: Reputation: 30
So close this thread, I managed to work out that the modversions.h was missing because I needed to go to /usr/src/linux and so a "make mrproper", then edit my Makefile to correct the kernel version. Then, a "make xconfig", load my config file from /boot, then save and quit. Finally a "make dep" to set everything right, and build the headers.

I never did this before because I thought you only do these steps to make a complete kernel. I didn't realise you perform the first few steps to get just the kernel headers set up.
 
  


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
Problem with modversions.h when compiling modem driver jimdaworm Slackware 4 10-15-2004 04:24 AM
Problem with modversions.h Roger Almenar Linux - Hardware 0 07-21-2004 05:22 PM
modversions.h JanDeMan Linux - Newbie 3 06-14-2004 07:48 AM
The Old HSP56 Modversions.h problem GMA Linux - Newbie 1 01-17-2004 07:40 AM
modversions.h not there closet geek Linux - Software 4 06-02-2003 03:00 PM


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