Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-08-2004, 06:50 AM   #1
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
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
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Rep: Reputation: 30

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

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
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

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