From: Takashi Iwai Subject: Re: 1.0.18-tools : ac3dec won't compile Date: Sun, 30 Nov 2008 10:47:58 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 815CF244D2 for ; Sun, 30 Nov 2008 10:47:58 +0100 (CET) In-Reply-To: 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: Klaus Schulz Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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