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 10-19-2010, 05:13 PM   #1
argondos
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian wheezy/sid
Posts: 9

Rep: Reputation: 0
modversions.h does not exist, how to re create it ??


Hello,

I've had some (lots) of problems trying to install snd_bt_sco in order to make my bluetooth headset work on my Debian lenny, and I ended up installing alsa.
However, even if the ./configure works perfectly, the make sends the following error :
Code:
cc1: error: /lib/modules/2.6.26-2-686/build/include/linux/modversions.h: No such file or directory
I've looked in my root directory with the find command, and there's no modversions.h anywhere on my computer.
I've also tried to reinstall linux headers, but debian tells me they're up to date (either with apt-get, build-essential or synaptic). I've also read on the internet that I had to rebuild the kernel, but I would prefer to avoid this method as I am a Linux newbie, and that I didn't installed Debian myself on this computer.

Is there another way to get this modversions.h, or even a place to download it ??

Thanks for your answers !!
 
Old 10-19-2010, 05:20 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
http://packages.debian.org/search?se...table&arch=any

apt-get reinstall linux-headers-2.6.26-2-686

will place it in /usr/src/linux-headers-2.6.26-2-686/include/config/
 
Old 10-19-2010, 05:31 PM   #3
argondos
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian wheezy/sid
Posts: 9

Original Poster
Rep: Reputation: 0
EDIT : The command given above still does not work, but I have no more weird error message about linux-headers not existing, it was just that I mispelled headers.

Anyway, even after doing apt-get remove linux-headers-`uname -r` and apt-get install linux-headers-`uname -r`, I still got the original error when trying to make alsa

any clue ??

Last edited by argondos; 10-19-2010 at 06:52 PM.
 
Old 10-19-2010, 06:06 PM   #4
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
What do you mean "tried to install snd_bt_sco"? Did you try to build this module with the module-assistant package? Do you have the kernel sources? I built my own kernel and the modversions.h seems to be in the /include/linux/config/ directory of the build area. However, mine seems to be empty. What is the hardware adapter you are using on your machine? Although my bluetooth seems to be supported by kernel 2.6.32 (lsmod shows the bluetooth module loaded) I am not sure as I don't have any bluetooth devices to connect to.
 
Old 10-19-2010, 06:37 PM   #5
argondos
LQ Newbie
 
Registered: Oct 2010
Distribution: Debian wheezy/sid
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
What is the hardware adapter you are using on your machine?
I am using the implemented bluetooth dongle of my laptop. The gnome-bluetooth program manage to detect my headset, but it is only meant to send files via bluetooth.

Quote:
What do you mean "tried to install snd_bt_sco"?
I downloaded the sources in order to install it (I think I tried with a package too, but I'm not sure anymore, I've try a lot of things to make it work ...). When I do so, I have a message saying that snd_bt_sco needs other programs to be installed, so I downloaded bluez, that needed other programs to work, among wich alsa, wich needed several libraries, including modversion.h (I managed to install the other)

Quote:
Do you have the kernel sources?
I'm afraid not. In fact I'm using a laptop given to me by my school, and as I am studying abroad for this year, I can't reach them...
 
  


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
[SOLVED] Move a file to some path and create that path when it doesn't exist WhisperiN Linux - Newbie 6 10-09-2010 11:47 AM
Create music on Linux: Does Subtractor Reason software exist for linux? kenneho General 7 11-26-2009 12:25 AM
modversions.h gearloose Linux From Scratch 0 04-10-2007 05:13 PM
modversions.h JanDeMan Linux - Newbie 3 06-14-2004 06:48 AM
modversions.h not there closet geek Linux - Software 4 06-02-2003 02:00 PM

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

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

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