monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit net.c p.y validate.c


From: Rory Toma
Subject: Re: monit net.c p.y validate.c
Date: Tue, 21 Oct 2003 16:20:08 -0700

Yep. Here is the warning:

gcc -c -g -O2 -Wall -D _REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-I/usr/local/ssl/include -I/usr/local/ssl/include -DSOLARIS  -I.
-I./device -I./http -I./process -I./protocols external/strftime.c -o
external/strftime.o
external/strftime.c: In function `memcpy_lowcase':
external/strftime.c:246: warning: subscript has type `char'
external/strftime.c: In function `memcpy_uppcase':
external/strftime.c:259: warning: subscript has type `char'
external/strftime.c: In function `gnu_strftime':
external/strftime.c:630: warning: subscript has type `char'

On Tue, 2003-10-21 at 15:59, Jan-Henrik Haukeland wrote:
> Rory Toma <address@hidden> writes:
> 
> 
> >     Now compiles on FreeBSD. Mostly compiles on Solaris, except
> 
> Nice!
> 
> >     for the following error:
> >     
> >     md5.c: In function `md5_crypt':
> >     md5.c:455: warning: implicit declaration of function `MIN'
> >     
> >     and...
> >     
> >     Undefined                       first referenced
> >     symbol                             in file
> >     MIN                                 md5.o
> 
> Looks like this is a standard MIN macro. I just added this to
> monitor.h, which should do the trick. 
> 
> >     ld: fatal: Symbol referencing errors. No output written to monit
> >     collect2: ld returned 1 exit status
> >     make: *** [monit] Error 1
> >     
> >     there are also some strftime errors on Solaris...
> 
> Details please :-) Unless you have already fixed it
-- 
Rory Toma               address@hidden
VP of Run Level 9       http://www.trs80.net
Digeo Digital           http://www.digeo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]