[alsa-devel] 1.0.18-tools : ac3dec won't compile

Takashi Iwai tiwai at suse.de
Sun Nov 30 10:47:58 CET 2008


At Sat, 29 Nov 2008 15:30:39 +0100,
Klaus Schulz wrote:
> 
> Hi there.
> 
> Just tried to get the tools 1.0.18 compiled.
> 
> 
> Following error message was printed when I tried to make ac3dec:
> 
> 
> gcc -DHAVE_CONFIG_H -I. -I..     -Wall -Werror -O3 -g  -MT extract_ac3.o -MD
> -MP -MF .deps/extract_ac3.Tpo -c -o extract_ac3.o extract_ac3.c
> cc1: warnings being treated as errors
> extract_ac3.c: In function 'read_write_next_bytes':
> extract_ac3.c:163: error: ignoring return value of 'write', declared with
> attribute warn_unused_result
> extract_ac3.c:174: error: ignoring return value of 'write', declared with
> attribute warn_unused_result
> make[2]: *** [extract_ac3.o] Error 1
> make[2]: Leaving directory
> `/usr/src/Alsa-1.0.18a/alsa-tools-1.0.18/ac3dec/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/Alsa-1.0.18a/alsa-tools-1.0.18/ac3dec'
> make: *** [all] Error 2
> 
> 
> Any ideas?

Remove -Werror from the compile option.


Takashi


More information about the Alsa-devel mailing list