ALSA sound driver installation woes


Recommended Posts

Now all ive gotta get right is the sound! Fedora found my soundcard by default, but I is only putting sound out through 2 chanels (I have 6). I have an onboard VIA8235 chip. I have downloaded the most current ALSA drivers, when i try to compile them I get the following output:

checking for gcc... gcc

checking for C compiler default output... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for executable suffix...

checking for object suffix... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for ranlib... ranlib

checking for a BSD compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for gcc option to accept ANSI C... none needed

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether gcc needs -traditional... no

checking for current directory... /root/ac/alsa-test-0.9.4

checking cross compile...

checking for directory with kernel source... /lib/modules/2.4.22-1.2115.nptl/build

checking for kernel version... The file /lib/modules/2.4.22-1.2115.nptl/build/include/linux/version.h does not exist.

Please, install the package with full kernel sources for your distribution

or use --with-kernel=dir option to specify another directory with kernel

sources (default is /usr/src/linux).

What can I do to get this sorted out?

Thanks

Link to comment
Share on other sites

checking for kernel version... The file /lib/modules/2.4.22-1.2115.nptl/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

Sounds like you don't have your kernel sources installed (so it can compile your sound into it).

Or, it isn't in /usr/src/linux

Fidn out if you have your source installed, first.

Link to comment
Share on other sites

Didn't you upgrade your kernel recently?

yum should have grabbed the new kernel sources.... :unsure:

Maybe it won't if you never installed the sources to begin with....

Link to comment
Share on other sites

ALSA makes me cry ... honestly, for all the times I tried to get it to work, I got different results every time. In Redhat, the only way I could get it to reliablly install was through synaptic, and in Mandrake I would occasionally get no sound at boot.

But I digress, while I'm all up for compiling and installing on Linux, synatpic and the like helped a ton on this one.

Link to comment
Share on other sites

i am have a prob with too i need to reboot to hear sound every time because if logout/lock screen or let the screensaver go on then it doesnt work *sometimes*

Link to comment
Share on other sites

The RPM has a preset place to put them (I would assume that it will be correct).

Is it the source for your current kernel version?

Link to comment
Share on other sites

Yes its the source for the current kernal version. I dont know what to do, i have tried rpm - i kernel-2.4.22-1.2188.nptl.src.rpm. And it doesnt come up with any errors, but I still cant install the ALSA drivers or nvidia drivers - they both come up with the error message saying that they need the kernels source.

Link to comment
Share on other sites

Did you look to see if your RPM installed them where your script expected them? (/usr/src/linux)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.