Xymon Mailing List Archive search

Todays snapshot 20080103

3 messages in this thread

list Lars Ebeling · Thu, 3 Jan 2008 07:11:16 +0100 ·
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                                               -- 
Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
-- Mark Twain
list Henrik Størner · Thu, 3 Jan 2008 07:26:07 +0100 ·
quoted from Lars Ebeling
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
list Lars Ebeling · Thu, 3 Jan 2008 13:14:48 +0100 ·
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
quoted from Henrik Størner


----- 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