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 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 !! |
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/ |
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 ?? |
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.
|
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 03:40 AM. |