LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble installing ALSA! (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-installing-alsa-284016/)

sfaae 01-30-2005 06:49 AM

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??

masand 01-30-2005 07:46 AM

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

sfaae 01-30-2005 08:32 AM

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..

masand 01-30-2005 09:13 AM

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

sfaae 01-30-2005 10:02 AM

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.....!

masand 01-30-2005 11:18 AM

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


All times are GMT -5. The time now is 08:14 PM.