Xymon Mailing List Archive search

Build Error on HP-UX for 4.2.0

5 messages in this thread

list Neil D. ManTech Ctr Camp · Mon, 21 Aug 2006 10:16:06 -0400 ·
 Hello,

I am getting the following error trying to compile 4.2.0 on HP-UX 11.11
using gcc 4.1.1


gcc -g -O -D_REENTRANT   -DHPUX -I. -I/home/campnd/hobbit-4.2.0/include
-I/usr/local/pa20_32/include -DBBGEN_SSL  -I/usr/include   -c -o
bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'send_rpcinfo_results':
bbtest-net.c:1830: warning: assignment makes pointer from integer
without a cast
bbtest-net.c:1837: error: dereferencing pointer to incomplete type
bbtest-net.c:1849: error: dereferencing pointer to incomplete type
bbtest-net.c:1854: error: dereferencing pointer to incomplete type
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/home/campnd/hobbit-4.2.0/bbnet'
gmake: *** [bbnet-build] Error 2


-----Original Message-----
From: Nicola Canepa [mailto:user-aee08e99d83d@xymon.invalid] 
Sent: Monday, August 21, 2006 9:43 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Question about freed servers

I'm getting rid of old servers, so I don't need monitoring them anymore.
Which is the best way of keeping old data (for report availability and
graphing purposes)?

I thought about 2 hypotesis:
1 - removing the servers from bb-hosts
2 - removing the checks of every server in bb-hosts

Will I loose old data in these ways?

Nicola


Nicola Canepa
Responsabile FM       

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
Office:   +XX.XXXX.XXXXXX
Mobile:   +XX.XXX.XXXXXXX
Email:    user-aee08e99d83d@xymon.invalid
list Henrik Størner · Mon, 21 Aug 2006 17:16:25 +0200 ·
quoted from Neil D. ManTech Ctr Camp
On Mon, Aug 21, 2006 at 10:16:06AM -0400, Camp, Neil D. (ManTech) CTR wrote:
I am getting the following error trying to compile 4.2.0 on HP-UX 11.11
using gcc 4.1.1


gcc -g -O -D_REENTRANT   -DHPUX -I. -I/home/campnd/hobbit-4.2.0/include
-I/usr/local/pa20_32/include -DBBGEN_SSL  -I/usr/include   -c -o
bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'send_rpcinfo_results':
bbtest-net.c:1830: warning: assignment makes pointer from integer
without a cast
bbtest-net.c:1837: error: dereferencing pointer to incomplete type
bbtest-net.c:1849: error: dereferencing pointer to incomplete type
bbtest-net.c:1854: error: dereferencing pointer to incomplete type
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/home/campnd/hobbit-4.2.0/bbnet'
gmake: *** [bbnet-build] Error 2
Change the hobbit-4.2.0/Makefile - at the bottom after the line

   # Add local CFLAGS etc. settings here

you just add this line:

   CFLAGS += -DBROKEN_HPUX_NETDB


Regards,
Henrik
list Neil D. ManTech Ctr Camp · Mon, 21 Aug 2006 11:44:12 -0400 ·
That worked! Thanks! I hope I did not ask a redundant question. I try to
keep up with the mailing list. Just a curiosity question. Now that there
are a couple of patches out there, do you have a possible timeline for
4.2.1? 
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Monday, August 21, 2006 11:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Build Error on HP-UX for 4.2.0

On Mon, Aug 21, 2006 at 10:16:06AM -0400, Camp, Neil D. (ManTech) CTR
wrote:
I am getting the following error trying to compile 4.2.0 on HP-UX
11.11
using gcc 4.1.1


gcc -g -O -D_REENTRANT   -DHPUX -I.
-I/home/campnd/hobbit-4.2.0/include
-I/usr/local/pa20_32/include -DBBGEN_SSL  -I/usr/include   -c -o
bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'send_rpcinfo_results':
bbtest-net.c:1830: warning: assignment makes pointer from integer
without a cast
bbtest-net.c:1837: error: dereferencing pointer to incomplete type
bbtest-net.c:1849: error: dereferencing pointer to incomplete type
bbtest-net.c:1854: error: dereferencing pointer to incomplete type
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/home/campnd/hobbit-4.2.0/bbnet'
gmake: *** [bbnet-build] Error 2
Change the hobbit-4.2.0/Makefile - at the bottom after the line

   # Add local CFLAGS etc. settings here

you just add this line:

   CFLAGS += -DBROKEN_HPUX_NETDB


Regards,
Henrik
list Henrik Størner · Tue, 22 Aug 2006 12:23:40 +0200 ·
quoted from Neil D. ManTech Ctr Camp
On Mon, Aug 21, 2006 at 11:44:12AM -0400, Camp, Neil D. (ManTech) CTR wrote:
Just a curiosity question. Now that there
are a couple of patches out there, do you have a possible timeline for
4.2.1? 
I'll let the patches accumulate until it settles down, probably around
mid-September and then do a 4.2.1 patch release.


Henrik
list Neil D. ManTech Ctr Camp · Tue, 22 Aug 2006 07:31:12 -0400 ·
I just wanted to say, great work on an incredible product! 
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, August 22, 2006 6:24 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Build Error on HP-UX for 4.2.0

On Mon, Aug 21, 2006 at 11:44:12AM -0400, Camp, Neil D. (ManTech) CTR
wrote:
Just a curiosity question. Now that there
are a couple of patches out there, do you have a possible timeline for
4.2.1? 
I'll let the patches accumulate until it settles down, probably around
mid-September and then do a 4.2.1 patch release.


Henrik