[distcc] distcc 0.10 on Solaris

Martin Åkesson martin at placid.tv
Fri Sep 13 08:49:00 GMT 2002


Also there is a problem with 'make' not having the '-C' option with Sun
Workshop.I patched Makefile.in to make it work

122c122
<       for s in src; do $(MAKE) -C $$s all  || exit $$? ; done
---
>       for s in src; do cd $$s; $(MAKE) all  || exit $$? ; done
214c214
<       for s in src; do $(MAKE) -C $$s check_programs || exit $$?; done
---
>       for s in src; do cd $$s; $(MAKE) check_programs || exit $$?; done
227c227
<       for s in src; do $(MAKE) -C $$s clean || exit $$?; done
---
>       for s in src; do cd $$s; $(MAKE) clean || exit $$?; done
238c238
<       for s in src; do $(MAKE) -C $$s maintainer-clean || exit $$?; done
---
>       for s in src; do cd $$s; $(MAKE) maintainer-clean || exit $$?; done
255c255
<       for s in src; do $(MAKE) -C $$s distclean || exit $$?; done
---
>       for s in src; do cd $$s; $(MAKE) distclean || exit $$?; done

/Martin

> 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
> _______________________________________________
> distcc mailing list
> distcc at lists.samba.org
> http://lists.samba.org/cgi-bin/mailman/listinfo/distcc






More information about the distcc mailing list