Xymon Mailing List Archive search

Build problem on Debian Etch for the may 7th snapshot

3 messages in this thread

list Yvan Laverdière · Wed, 7 May 2008 16:16:14 -0400 ·
Hi,

There seems to be a problem with the current snapshot (
http://www.hswn.dk/beta/hobbit-snapshot.tar.gz) and I can't get Hobbit to
compile. Here's the error :

eventlog.c:308: error: too many arguments to function sendmessage
make[1]: *** [eventlog.o] Error 1
make[1]: Leaving directory `/temp/snapshot/lib'
make: *** [lib-build] Error 2

From the prototype in sendmsg.c, there is, apparently, a different number of
arguments passed to the function.

From lib/eventlog.c :

sendmessage("hobbitdboard fields=hostname,testname,color,lastchange", NULL,
NULL, &bdata, 1, BBTALK_TIMEOUT)

From lib/sendmsg.c :

sendresult_t sendmessage(char *msg, char *recipient, int timeout,
sendreturn_t *reponse)


I don't mind hacking the functions to make it work but is there something
I'm missing here ?

Regards,

Yvan Laverdiere
list Simon Bradley · Fri, 9 May 2008 22:28:50 +0100 ·
I'm getting the same error on Centos5 if it helps.  I'm sure it is obvious,
but I can't see it :-(

Simon Bradley
quoted from Yvan Laverdière
There seems to be a problem with the current snapshot
(http://www.hswn.dk/beta/hobbit-snapshot.tar.gz) and I > > can't get Hobbit
to compile. Here's the error :
eventlog.c:308: error: too many arguments to function sendmessage
make[1]: *** [eventlog.o] Error 1
make[1]: Leaving directory `/temp/snapshot/lib'
make: *** [lib-build] Error 2
list Lars Ebeling · Sun, 11 May 2008 16:03:59 +0200 ·
I get the same error on HP-UX. I think it's related to this:


----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, April 30, 2008 1:31 PM
Subject: Re: [hobbit] Todays (20080430) snapshot

On Wed, Apr 30, 2008 at 08:27:06AM +0200, 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 -o bbhostgrep 
bbhostgrep.o ..
/lib/libhobbit.a -L/usr/local/lib -lz -lnsl
/usr/ccs/bin/ld: Unsatisfied symbols:
   SSL_write (code)
Wait a day or two, I'm finally getting the last bits done for the SSL
support, so there's a core module which is not currently compiling at
all.


Regards,
Henrik
quoted from Simon Bradley

----- Original Message ----- 
From: "Simon Bradley" <user-d094f300f9c9@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, May 09, 2008 11:28 PM
Subject: RE: [hobbit] Build problem on Debian Etch for the may 7th snapshot

I'm getting the same error on Centos5 if it helps.  I'm sure it is 
obvious,
but I can't see it :-(

Simon Bradley
There seems to be a problem with the current snapshot
(http://www.hswn.dk/beta/hobbit-snapshot.tar.gz) and I > > can't get 
Hobbit
to compile. Here's the error :
eventlog.c:308: error: too many arguments to function sendmessage
make[1]: *** [eventlog.o] Error 1
make[1]: Leaving directory `/temp/snapshot/lib'
make: *** [lib-build] Error 2