View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-26-2012, 08:47 AM   #1
Registered: Jan 2004
Posts: 416

Rep: Reputation: 30
Building alsa moudles error in debian wheezy?

I want to build the alsa modules from source in debian wheezy with the command:
sudo module-assistant a-i alsa
but get this error:
│ In file included from rate.c:2:0:
│ /usr/src/modules/alsa-driver/include/adriver.h:39:27: fatal error:
│ linux/version.h: No such file or directory
│ compilation terminated.
│ make[5]: *** [fastdep] Error 1
│ make[5]: Leaving directory `/usr/src/modules/alsa-driver/acore/oss'
│ make[4]: *** [_sfdep_oss] Error 2
│ make[4]: Leaving directory `/usr/src/modules/alsa-driver/acore'
│ make[3]: *** [dep] Error 1
│ make[3]: Leaving directory `/usr/src/modules/alsa-driver'
│ make[2]: *** [include/sndversions.h] Error 2
│ make[2]: Leaving directory `/usr/src/modules/alsa-driver'
│ make[1]: *** [build-stamp] Error 2
│ make[1]: Leaving directory `/usr/src/modules/alsa-driver'
│ make: *** [kdist_image] Error 2
The file version.h is in the:
#ls -al /lib/modules/3.2.0-4-686-pae/build
version.h -> include/linux/version.h

Last edited by shams; 12-26-2012 at 08:54 AM.
Old 12-28-2012, 11:48 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,057

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
linux/version.h is one of the linux kernel headers. Install the kernel header package for your system.

Have a look at the README & INSTALL files also, and see what other dependencies are required. Hth


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
LXer: Debian Linux vs. Debian kFreeBSD With Squeeze & Wheezy LXer Syndicated Linux News 0 12-12-2012 11:00 PM
[SOLVED] Newly installed debian sid & saved debian wheezy home would like to transfer files EDDY1 Linux - Newbie 11 01-20-2012 08:43 PM
LXer: Debian to offer MultiArch support with Debian Wheezy 7 in 2013 LXer Syndicated Linux News 0 08-11-2011 02:50 AM
LXer: Debian looking at a June 2012 freeze for Debian Wheezy LXer Syndicated Linux News 0 08-10-2011 11:00 AM
Kino building error on Debian AMD64 martinyeh Linux - Software 2 06-16-2008 01:22 AM

All times are GMT -5. The time now is 10:01 PM.

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