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

Tomas Ögren stric at cs.umu.se
Tue Jun 3 11:13:48 GMT 2003


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.

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

Otherwise 2.5 seems to work fine.

(I'm not on the list)

Tomas Ögren, stric at cs.umu.se, http://www.cs.umu.se/~stric/
`- Student and SysAdmin at Computing Science, University of Umeå

More information about the distcc mailing list