Son of Zev wrote:

>Hi
>
>I have just updated my alsa driver from CVS.. driver and libs installed 
>fine.... alsa-utils gives me this error (the same error when I tried to 
>compile the public beta8 release) 
>
>gcc -DHAVE_CONFIG_H -I. -I. -I../include     -g -O2 -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
>make[1]: *** [alsactl.o] Error 1
>make[1]: Leaving directory `/usr/local/src/alsa-utils-0.9.0beta8/alsactl'
>make: *** [all-recursive] Error 1
>
>_______________________________________________
>Alsa-devel mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
I'm just guessing here but I've noticed that asoundlib.h, etc are now in 
/usr/include/alsa instead of /usr/include/sys.   Maybe you have a stale 
header from a previous alsa somewhere?  Just guessing...





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

Reply via email to