From: "Klaus Schulz" Subject: Re: 1.0.18-tools : ac3dec won't compile Date: Sun, 30 Nov 2008 16:52:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by alsa0.perex.cz (Postfix) with ESMTP id 6A06324417 for ; Sun, 30 Nov 2008 16:52:37 +0100 (CET) Received: by yw-out-1718.google.com with SMTP id 9so813483ywk.2 for ; Sun, 30 Nov 2008 07:52:36 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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 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 >