On Thu, 27 Sep 2001, James Tappin wrote:

> The latest CVS of alsa-utils fails to compile. As this looks to have just
> been tagged as 0.9b8 this needs urgent action.
>
> Following a thorough clean (make cvsclean or make distclean) of current
> drivers, libs & utils, the following errors occur:
>
> alsactl:
> make[1]: Entering directory `/data5/software/Alsa/CVS/alsa-utils/alsactl'
> gcc -DHAVE_CONFIG_H -I. -I. -I../include     -O2 -Wall -pipe -g -c
> alsactl.c
> alsactl.c: In function `get_int_state':
> alsactl.c:1055: `SND_CTL_POWER_D0' undeclared (first use in this function)
> alsactl.c:1055: (Each undeclared identifier is reported only once
> alsactl.c:1055: for each function it appears in.)
> alsactl.c:1057: `SND_CTL_POWER_D1' undeclared (first use in this function)
> alsactl.c:1059: `SND_CTL_POWER_D2' undeclared (first use in this function)
> alsactl.c:1061: `SND_CTL_POWER_D3' undeclared (first use in this function)
> alsactl.c:1063: `SND_CTL_POWER_D3hot' undeclared (first use in this
> function)
> alsactl.c:1065: `SND_CTL_POWER_D3cold' undeclared (first use in this
> function)
> alsactl.c: In function `get_str_state':
> alsactl.c:1075: `SND_CTL_POWER_D0' undeclared (first use in this function)
> alsactl.c:1077: `SND_CTL_POWER_D1' undeclared (first use in this function)
> alsactl.c:1079: `SND_CTL_POWER_D2' undeclared (first use in this function)
> alsactl.c:1082: `SND_CTL_POWER_D3hot' undeclared (first use in this
> function)
> alsactl.c:1084: `SND_CTL_POWER_D3cold' undeclared (first use in this
> function)
> alsactl.c:1076: warning: unreachable code at beginning of switch statement
> alsactl.c: In function `show_power':
> alsactl.c:1104: warning: implicit declaration of function
> `snd_ctl_get_power_state'
> alsactl.c: In function `set_power':
> alsactl.c:1127: warning: implicit declaration of function
> `snd_ctl_set_power_state'
>
> (The quick/dirty fix of adding #include <alsa/control.h> causes other
> errors).

This file should be already included in <alsa/asoundlib.h>.

> amixer:
> make[1]: Entering directory `/data5/software/Alsa/CVS/alsa-utils/amixer'
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -Wall -pipe
> -g -c amixer.c
> amixer.c: In function `cset':
> amixer.c:951: too many arguments to function
> `snd_ctl_elem_value_get_boolean'

Oops. Thanks.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA project  http://www.alsa-project.org


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to