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
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
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!
-- 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
participants (2)
-
henrik@hswn.dk
-
matt@oddprocess.org