[Nagiosplug-devel] Report on nagios-plugins-200211181100 for Solaris

Voon, Ton Ton.Voon at egg.com
Tue Nov 19 02:25:01 CET 2002


The man page for recv on SunOS 5.6:  <<recv.txt>> 
I changed line 101 from:
        result = recv (sd, &raw_server_time, sizeof (raw_server_time), 0);
to:
        result = recv (sd, (void *)&raw_server_time, sizeof
(raw_server_time), 0);
and this seemed to compile fine, but I'm not sure if this is a good fix.

> -----Original Message-----
> From:	Karl DeBisschop [SMTP:karl at debisschop.net]
> Sent:	Tuesday, November 19, 2002 7:35 AM
> To:	Voon, Ton
> Cc:	'nagiosplug-devel at lists.sourceforge.net'
> Subject:	Re: [Nagiosplug-devel] Report on nagios-plugins-200211181100
> for Solaris
> 
> On Mon, 2002-11-18 at 06:40, Voon, Ton wrote:
> > Compile report for nagios-plugins-200211181100 on Solaris.
> > 
> > $ gcc -v
> > Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
> > gcc version 2.8.1
> > $ uname -a
> > SunOS tortoise 5.6 Generic_105181-25 sun4u sparc SUNW,Ultra-80
> > 
> > Using Solaris' make command. No automake, aclocal or autoconf.
> > 
> > $ ./configure
> > $ make
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.     -g -O2 -c
> > check_time.c
> > check_time.c: In function `main':
> > check_time.c:101: warning: passing arg 2 of `recv' from incompatible
> pointer
> > type
> 
> I'm stumped.
> 
> Can you send me the man page from SunOS 5.6?
> 
> > All plugins compile successfully - compilation is much smoother now.
> 
> Thanks in great measure to the patience and repeated build tests of the
> Sun/Solris users on the list.
> 
> -- 
> Karl DeBisschop <karl at debisschop.net>


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: recv.txt
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20021119/a2a602a4/attachment.txt>


More information about the Devel mailing list