Build error in alsa-utils-1.0.14rc4 Was: Re: Lenovo Y400 sound

Erik Christiansen erik at dd.nec.com.au
Fri May 18 02:42:34 UTC 2007


On Wed, May 16, 2007 at 05:32:53AM -0400, Daniel T. Chen wrote:
> On Wed, 2007-05-16 at 18:04 +1000, Erik Christiansen wrote:
> > Making all in po
> > make[2]: Entering directory `/usr/local/src/alsa-utils-1.0.14rc4/alsaconf/po'
> > mv: cannot stat `t-ja.gmo': No such file or directory
> > make[2]: *** [ja.gmo] Error 1
> > make[2]: Leaving directory `/usr/local/src/alsa-utils-1.0.14rc4/alsaconf/po'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/alsa-utils-1.0.14rc4/alsaconf'
> > make: *** [all-recursive] Error 1
> 
> You don't need newer alsa-lib or alsa-utils to resolve your issue.
> Newer alsa-driver will suffice.

Grateful thanks, Daniel. Trying to revert, I first grabbed an older
alsa-utils, specifically alsa-utils-0.9.0rc1, but that was also
unbuildable:

Making all in alsamixer
make[1]: Entering directory `/usr/local/src/alsa-utils-0.9.0rc1/alsamixer'
gcc -DHAVE_CONFIG_H -I. -I. -I../include     -g -O2 -c alsamixer.c
alsamixer.c: In function 'mixer_write_cbar':
alsamixer.c:525: error: syntax error before string constant
alsamixer.c: In function 'mixer_update_cbar':
alsamixer.c:672: error: syntax error before string constant
alsamixer.c: In function 'mixer_reinit':
alsamixer.c:1398: error: syntax error before string constant
alsamixer.c:1435: error: syntax error before string constant
make[1]: *** [alsamixer.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-utils-0.9.0rc1/alsamixer'
make: *** [all-recursive] Error 1

It looks like gcc is barfing on __FUNCTION__ . My native compiler is gcc
(GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9).

OK, I tried updating gcc & build-essential, but no differnce.

So I tried a forced package refresh:

$ sudo apt-get install --reinstall alsa-base alsa-utils libesd-alsa0

but that didn't fix alsa-utils:

$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such device

Is it possible to recover using packages?  (Or any other clean way? ;-)

Erik




More information about the ubuntu-users mailing list