[distcc] Compiler error for distcc 2.5 on Solaris 8 with gcc 2.95

Martin Pool mbp at samba.org
Thu Jun 5 06:10:07 GMT 2003


On  3 Jun 2003, Tomas ?gren <stric at cs.umu.se> wrote:
> Hello.
> 
> Compiling distcc 2.5 on Solaris 8/32bit with gcc 2.95 gives some
> errors.. First, AF_LOCAL is not defined.. but AF_UNIX is the same thing
> (the POSIX name apparently). Second, 'sun' is defined to '1'.. So using
> it as a variable name in src/netutil.c line 100 doesn't work that well,
> renaming it to anything else works fine.
> 
> Also;
> src/dsignal.c:62: conflicting types for `dcc_master_pid'
> src/daemon.h:27: previous declaration of `dcc_master_pid'
> 
> dsignal.c has pid_t, daemon.h has int

Thanks, fixed in CVS.

> Otherwise 2.5 seems to work fine.

-- 
Martin 



More information about the distcc mailing list