From: Christian Hopp <address@hidden>
Reply-To: This is the general mailing list for monit
<address@hidden>
To: This is the general mailing list for monit <address@hidden>
Subject: Re: make sintaxs errors
Date: Fri, 24 Sep 2004 11:54:07 +0200 (CEST)
On Fri, 24 Sep 2004, Martin Pala wrote:
> These errors are related to autoconf compilation test - it means that
there
> are missing some prerequesite headers during autoconf header check. It
is
> harmless (headers are present and available). The fix of these warnings
is
> possible by explicit definition of prerequisire headers in
'configure.ac'.
>
> The problem you mentioned is probably caused by some missing
prerequisite
> header specific for HP/UX in monit's 'control.c':
>
> --8<--
> > gcc -c -g -O2 -Wall -D _REENTRANT -DHPUX -I. -I./device -I./http
> > -I./process -I./protocols control.c -o control.o
> > In file included from control.c:31:
> > /usr/include/sys/socket.h:484: parse error before "sendfile"
> > /usr/include/sys/socket.h:485: parse error before "bsize_t"
> > /usr/include/sys/socket.h:486: parse error before "sendpath"
> > /usr/include/sys/socket.h:487: parse error before "bsize_t"
> > gmake: *** [control.o] Error 1
> --8<--
>
> The header is most probably the same which causes autoconf warning.
Certain versions GCC + HP/UX 11.11 seem to have some trouble together, see
here (at bottom of that page):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1096018822178+28353475&threadId=534433
Try to compile on HP/UX 11.0 if possible, maybe it helps. Or try a newer
gcc version.
C.Hopp
--
Christian Hopp email:
address@hidden
Institut für Elektrische Informationstechnik fon:
+49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf. fax:
+49-5323-72-3197
pgpkey:
https://www.iei.tu-clausthal.de/pgp-keys/
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general