LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-30-2005, 06:49 AM   #1
sfaae
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
Trouble installing ALSA!


I am running Debian v.3.0 r4, and I'm trying to install the ALSA program, so that I can get the soundcard up and going.

I've downloaded the source-files from the alsa homepage. When I try to run ./configure , I get this error message:

checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing /usr/src/linux/include/linux/version.h)

Does anyone know what's wrong??
 
Old 01-30-2005, 07:46 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
u need to check that u have this file in place

/usr/src/linux/include/linux/version.h

do u have the kernel source


regards
 
Old 01-30-2005, 08:32 AM   #3
sfaae
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, I downloaded the kernel source package with apt-get. They are now installed in /usr/src/kernel-- blabla , and I made a symlink /usr/src/linux to that dir. But what's funny, is that the version.h didn't show up in the /usr/src/linux/include/linux/ directory, after I installed the kernelsource... And I still get the same error msg when trying to ./configure alsa..
 
Old 01-30-2005, 09:13 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
which kernel versin are u using?

i have that file, i think it is because i recompiled my kernel!
i think if u do not have that u need to make one

regards
 
Old 01-30-2005, 10:02 AM   #5
sfaae
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I believe and really hope that the numbers behind the files in /boot indicates what kernel version I have on my system. Because I was not really sure which kernel version was installed, until I saw those numbers and assumed they were correct. 2.2.20 is the suffix of those filenames, ie. vmlinuz-2.2.20. Then I used apt-get and found the kernel source matching that version number. Shouldn't I have done this?

Anyway, the version.h is still missing... And I miss playing my mp3s! Want to install Alsa.....!
 
Old 01-30-2005, 11:18 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
why donlt u try playing mp3 with other drivrs such as OSS ,ESS ARTs

this is the contenets of my version.h file
u may too create one

#define UTS_RELEASE "2.6.10gm107"
#define LINUX_VERSION_CODE 132618
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
~

this release is the name of my custom kernel

regards
 
  


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
Trouble with ALSA drzigman Linux - Newbie 5 05-22-2005 06:07 PM
alsa trouble again!!! Garibaldi3489 Slackware 6 01-06-2005 08:57 PM
Trouble with ALSA JaakRandmets Debian 1 09-27-2004 08:01 AM
Fedora Core 2 Dell SBLive! with trouble installing ALSA 1.0.5a lonytynch Linux - Hardware 2 06-20-2004 03:24 PM
Trouble installing alsa in Mandrake 10.0 Community. scmcansh Mandriva 2 05-16-2004 03:45 AM


All times are GMT -5. The time now is 02:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration