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

Klaus Schulz kls.schlz at googlemail.com
Sun Nov 30 16:52:35 CET 2008


Takashi.

Is this a bug and will it be solved? I don't need it for me personally. I
want to get the tools compiled for the Ubuntu community using my
upgrade script.

How do I get rid of this option? It is not that obvious on a first glance
for me. ( I am still learning)


THX
Klaus


On Sun, Nov 30, 2008 at 10:47 AM, Takashi Iwai <tiwai at suse.de> wrote:

> 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