Xymon Mailing List Archive search

Snapshot Compile errors

3 messages in this thread

list Michael Dunne · Thu, 04 Aug 2005 08:28:28 -0400 ·
Greetings,

When I attempt to compile the latest snapshot (As well as 4.1.1) I receive
the following error:

gmake[1]: Entering directory `/Users/hobbit/Desktop/snapshot/client'
gcc -g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1 -DDarwin -I.
-I/Users/hobbit/Desktop/snapshot/include
-I/opt/local/var/db/dports/software/pcre/5.0_0/opt/local/include/
darwin-meminfo.c   -o darwin-meminfo
darwin-meminfo.c:16:25: vm/vm_param.h: No such file or directory
darwin-meminfo.c: In function `main':
darwin-meminfo.c:48: warning: control reaches end of non-void function
gmake[1]: *** [darwin-meminfo] Error 1
gmake[1]: Leaving directory `/Users/hobbit/Desktop/snapshot/client'
gmake: *** [client] Error 2


Any suggestions would be greatly appreciated.

Thanks,


Michael Dunne
Systems Support Specialist
AccuWeather, Inc. 
XXX-XXX-XXXX Ext. XXXX

~Deliberation, n.: The act of examining one's bread to determine which
side it is buttered on. (Ambrose Bierce, "The Devil's Dictionary")~
list Henrik Størner · Thu, 4 Aug 2005 16:33:14 +0200 ·
quoted from Michael Dunne
On Thu, Aug 04, 2005 at 08:28:28AM -0400, Michael Dunne wrote:
Greetings,

When I attempt to compile the latest snapshot (As well as 4.1.1) I receive
the following error:
darwin-meminfo.c:16:25: vm/vm_param.h: No such file or directory
OK, I naively assumed that Darwin was "just another BSD system" in
this respect.

For a quick fix, you can edit the client/Makefile and just delete these
three lines:

	ifeq ($(OSTYPE),darwin)
        	EXTRATOOLS=darwin-meminfo
	endif

and the build should complete OK. The downside is that the Hobbit client
will fail to report memory statistics (the "memory" column).

If anyone has an ssh-accessible Mac OS X or Darwin system where I could
try and fix this, send me a note. Unfortunately, Darwin won't install
in a VMware session.


Regards,
Henrik
list Michael Dunne · Sun, 03 Sep 2006 14:17:44 -0400 ·
Greetings,

  When I try to compile the latest snapshot (OS X) I receive the following
errors:

make[1]: Entering directory `/Users/hobbit/Desktop/snapshot/bbnet'
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 -DBBGEN_SSL
-DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -I/usr/include  -I/usr/include -c -o
bbtest-net.o bbtest-net.c
bbtest-net.c: In function 'load_tests':
bbtest-net.c:510: error: 'MULTIPING_POOL' undeclared (first use in this
function)
bbtest-net.c:510: error: (Each undeclared identifier is reported only once
bbtest-net.c:510: error: for each function it appears in.)
bbtest-net.c: In function 'main':
bbtest-net.c:2190: warning: pointer targets in passing argument 1 of
'dupstrbuffer' differ in signedness
bbtest-net.c:2239: warning: enumeration value 'TOOL_CONTEST' not handled in
switch
bbtest-net.c:2239: warning: enumeration value 'TOOL_FPING' not handled in
switch
bbtest-net.c:2239: warning: enumeration value 'TOOL_HTTP' not handled in
switch
bbtest-net.c:2239: warning: enumeration value 'TOOL_LDAP' not handled in
switch
gmake[1]: *** [bbtest-net.o] Error 1
gmake[1]: Leaving directory `/Users/hobbit/Desktop/snapshot/bbnet'
gmake: *** [bbnet-build] Error 2


I understand the snapshots are a work in progress, just wanted to advise.

Thanks,

Mike

Michael Dunne
Systems Support Specialist
AccuWeather, Inc. 

~HISTORY, n. An account mostly false, of events mostly unimportant, which
are brought about by rulers mostly knaves, and soldiers mostly fools.

(Ambrose Bierce, "The Devil's Dictionary")~