I added MAXALERTMSGSZ = 4096 and rerun make, that fixed it.
But I thought of this rerunning configure, why should that fix it? Had I
forgotten something. I have done this hundred of times.
So I started allover again. Removed my snapshot directory, untarred the
tarfile, rerun configure and make.
And got the same error
Lars
----- Original Message -----
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, January 03, 2008 7:26 AM
Subject: Re: [hobbit] Todays snapshot 20080103
On Thu, Jan 03, 2008 at 07:11:16AM +0100, Lars Ebeling wrote:
gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX
-I. -I
/home/hobbit/snapshot/include -I/usr/local/include -I/usr/local/include -DMAX_AL
ERTMSG_SCRIPTS= -c -o do_alert.o do_alert.c
do_alert.c: In function `send_alert':
do_alert.c:433: error: parse error before ')' token
do_alert.c:435: error: parse error before ';' token
make[1]: *** [do_alert.o] Error 1
You need to re-run the configure script.
Or add
# Max size of an alert message text sent to a script
MAXALERTMSGSZ = 4096
to your top-level Makefile.
Henrik