Xymon Mailing List Archive search

Snapshot compile error

4 messages in this thread

list Matthew Daubenspeck · Thu, 10 Jan 2008 08:05:13 -0500 ·
I'm not sure if this is the right place to post such errors, but I was
trying to install 10-Jan-08 snapshot and got the following error:

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/hobbit/snapshot/include -I/usr/include -I/usr/include -DMAX_ALERTMSG_SCRIPTS= -c -o do_alert.o do_alert.c
do_alert.c: In function 'message_text':
do_alert.c:182: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness
do_alert.c:190: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
do_alert.c:253: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
do_alert.c:272: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
do_alert.c:288: warning: pointer targets in return differ in signedness
do_alert.c: In function 'send_alert':
do_alert.c:433: error: expected expression before ')' token
do_alert.c:435: error: expected expression before ';' token
make[1]: *** [do_alert.o] Error 1
make[1]: Leaving directory `/home/hobbit/snapshot/hobbitd'
make: *** [hobbitd-build] Error 2

This is an on AMD64 system...
-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
08:04:07 up 58 days, 23:51, 3 users, load average: 0.07, 0.03, 0.00
list Henrik Størner · Thu, 10 Jan 2008 16:41:57 +0100 ·
quoted from Matthew Daubenspeck
On Thu, Jan 10, 2008 at 08:05:13AM -0500, Matthew Daubenspeck wrote:
I'm not sure if this is the right place to post such errors, but I was
trying to install 10-Jan-08 snapshot and got the following error:

do_alert.c:433: error: expected expression before ')' token
do_alert.c:435: error: expected expression before ';' token
make[1]: *** [do_alert.o] Error 1
Add 
   MAXALERTMSGSZ = 4096
to your top-level Makefile.


Henrik
list Matthew Daubenspeck · Thu, 10 Jan 2008 15:49:26 -0500 ·
quoted from Henrik Størner
On Thu, Jan 10, 2008 at 04:41:57PM +0100, Henrik Stoerner wrote:
Add 
   MAXALERTMSGSZ = 4096
to your top-level Makefile.
That did the trick, thanks!
quoted from Matthew Daubenspeck

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165

15:49:10 up 59 days, 7:36, 3 users, load average: 0.01, 0.02, 0.00
list Michael Dunne · Wed, 20 Feb 2008 17:00:40 GMT ·
Greetings,
I recognize that the snapshots are a work in progress, I would just like to make it known that the last several days have failed to compile for me. I am trying to compile on OS X 10.4.11 and I receive the following error:gcc -g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -I. -I/Users/hobbit/Desktop/snapshot/include -I/opt/local/include -I/opt/local/include -DMAX_ALERTMSG_SCRIPTS= -c -o do_alert.o do_alert.c
            do_alert.c: In function 'make_alertid':
            do_alert.c:71: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness
            do_alert.c: In function 'message_text':
            do_alert.c:212: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness
            do_alert.c:220: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
            do_alert.c:283: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
            do_alert.c:302: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness
            do_alert.c:318: warning: pointer targets in return differ in signedness
            do_alert.c: In function 'send_alert':
            do_alert.c:464: error: parse error before ')' token
            do_alert.c:466: error: parse error before ';' token
            make[1]: *** [do_alert.o] Error 1
            make: *** [hobbitd-build] Error 2
Thanks,
Mike