Can't build binutils on OpenSuSE or Ubuntu

Sebastian Huber sebastian.huber at embedded-brains.de
Sun Aug 11 17:27:36 UTC 2013


On 2013-08-11 16:26, Moran, Chris wrote:
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.20.1/bfd -I.
> -I../../binutils-2.20.1/bfd -I../../binutils-2.20.1/bfd/../include
> -DBINDIR=\"/opt/rtems/bin\" -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Werror -g -O2 -MT verilog.lo -MD -MP -MF
> .deps/verilog.Tpo -c ../../binutils-2.20.1/bfd/verilog.c -o verilog.o
> ../../binutils-2.20.1/bfd/verilog.c: In function âverilog_write_sectionâ:
> ../../binutils-2.20.1/bfd/verilog.c:225:15: error: variable âaddressâ set
> but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors

You can configure it with --disable-werror.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list