minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

dotd.o won't compile #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to compile both distcc3.1 and distcc3.2rc1 in my Slackware64 box 
(Linux kernel 3.2.29, gcc 4.7.1)

"./configure" just ran just fine, but when I "make", it stopped at:

gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/usr/local/etc\"" 
-DPKGDATADIR="\"/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"  -Werror 
-g -O2 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Wmissing-declarations -Wuninitialized -pthread -o src/dotd.o 
-c src/dotd.c
src/dotd.c: In function ‘dcc_get_dotd_info’:
src/dotd.c:173:9: error: variable ‘ret’ set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [src/dotd.o] Error 1

Original issue reported on code.google.com by jendral....@gmail.com on 26 Dec 2012 at 7:51

GoogleCodeExporter commented 9 years ago
Simple workaround is to configure with --disable-Werrror.

Original comment by fer...@google.com on 26 Dec 2012 at 8:11

GoogleCodeExporter commented 9 years ago
This was fixed in r754.

Original comment by mand...@gmail.com on 27 Dec 2012 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by mand...@gmail.com on 8 May 2013 at 2:20