[distcc] distcc-2.12.1 on Solaris

Martin Pool mbp at sourcefrog.net
Sun Feb 29 02:18:25 GMT 2004


On 14 Jan 2004, Dimitri Papadopoulos-Orfanos <papadopo at shfj.DECOY.cea.NOSPAM.fr> wrote:
> Hi,
> 
> distcc-2.12.1 builds just fine on Solaris 8 using the Sun ONE Studio 7
> compiler, except for one warning you may want to fix:
> 
> "src/mon-gnome.c", line 425: warning: implicit function declaration: 
> getloadavg
> 
> 
> Indeed getloadavg is not a POSIX function, it's a BSD function that's 
> probably available on most UNIX systems, but not necessarily in the same 
> header or library.
> 
> On Linux it is documented to live in <stdlib.h> while on Solaris it 
> lives in <sys/loadavg.h>:

Thanks.

In CVS I have just checked for the header rather than adding the
getloadavg.c replacement.  If there are platforms without that
function I'll just leave out the information.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040229/1099ff29/attachment.bin


More information about the distcc mailing list