LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 12-26-2012, 08:47 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 400

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:
Quote:
sudo module-assistant a-i alsa
but get this error:
Quote:
│ 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:
Quote:
/lib/modules/3.2.0-4-686-pae/build/include/linux/version.h
Quote:
#ls -al /lib/modules/3.2.0-4-686-pae/build
version.h -> include/linux/version.h
Quote:
/usr/src/linux/include/linux/version.h
Quote:
/usr/src/linux-headers-3.2.0-4-686-pae/include/linux/version.h

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

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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
 
  


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
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 12:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration