[distcc] Re: distcc 0.10 on Solaris

Martin Pool mbp at samba.org
Fri Sep 13 02:32:00 GMT 2002


On 12 Sep 2002, Dimitri PAPADOPOULOS-ORFANOS <papadopo at shfj.cea.fr> wrote:
> Hi,
> 
> Trying to build on Solaris 8 with the Sun ONE Studio 7 compiler:
> 
> cc -O -I/usr/local/popt/include   -c -o implicit.o implicit.c
> "distcc.h", line 63: syntax error before or at: pid_t
> "distcc.h", line 63: warning: undefined or missing type for: pid_t
> "distcc.h", line 64: warning: undefined or missing type for: const
> "distcc.h", line 64: warning: undefined or missing type for: const
> "distcc.h", line 64: warning: undefined or missing type for: const
> "distcc.h", line 66: syntax error before or at: pid
> "distcc.h", line 66: warning: undefined or missing type for: pid
> "distcc.h", line 66: warning: undefined or missing type for: int
> "distcc.h", line 66: warning: undefined or missing type for: long
> "distcc.h", line 66: warning: undefined or missing type for: long
> cc: acomp failed for implicit.c
> 
> pid_t is defined in <sys/types.h>:
> 	http://www.opengroup.org/onlinepubs/007904975/basedefs/sys/types.h.html
> and adding in distcc.h in:
> 	#include <sys/types.h>
> is enough to fix this.
> 
> Otherwise there's still the known W_EXITCODE issue, which I work
> around in the usual manner.

Thanks, I think this is fixed in 0.10.1.  There are no other
significant changes. 

-- 
Martin 



More information about the distcc mailing list