I have lost the sound in Ubuntu since 11.04. I have been trying on and off various paths, including a complete re-install. I have just bumped onto the
and am trying the first advice. I being thrown an error though:
E: Unable to locate package linux-alsa-driver-modules-3.0.0-17-generic
I guess this is because the the kernel has been upgraded recently and the package has not been yet compiled for this.
Besides, I have a Sonar STX card for which the appropriate module seems to be virtuoso which is delivered with a newer version of Alsa than the one provided with 11.10 apparently. I am trying to compile the alsa drivers but something goes wrong.
Here is what configure gives me:
And here is what make gives me
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /usr/src/alsa/alsa-driver-1.0.9rc4a
checking cross compile...
checking for directory with kernel source... /lib/modules/3.0.0-17-generic/build
checking for directory with kernel build...
checking for kernel version... 0.0.0
checking for GCC version... ./configure: eval: line 3568: syntax error near unexpected token `)'
./configure: eval: line 3568: `my_compiler_version=4.6.1-9ubuntu3)'
Any help would be appreciated.
make: Entering directory `/usr/src/alsa/alsa-driver-1.0.9rc4a'
make: Nothing to be done for `all-deps'.
make: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9rc4a'
Please, run the configure script as first...