[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Announce] monit 4.4-beta3

From: Rory Toma
Subject: Re: [Announce] monit 4.4-beta3
Date: Thu, 26 Aug 2004 13:38:35 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

It's on my list...

Martin Pala wrote:

Daniel Rich wrote:

I've run into two problems trying to build this on FreeBSD 5.2:

During configure:
checking vm/vm_object.h presence... yes
configure: WARNING: vm/vm_object.h: present but cannot be compiled
configure: WARNING: vm/vm_object.h:     check for missing prerequisite
configure: WARNING: vm/vm_object.h: see the Autoconf documentation
configure: WARNING: vm/vm_object.h:     section "Present But Cannot Be
Compiled"configure: WARNING: vm/vm_object.h: proceeding with the
preprocessor's result
configure: WARNING: vm/vm_object.h: in the future, the compiler will
take precedence
configure: WARNING:     ## --------------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## --------------------------------------- ##

This is harmless, but can be fixed. It is caused by compile test in autoconf - the vm_object.h has some prerequisite header, which must be included in before its test.

Following test (part of shows the dependency definition which fixed the dependency related warnings for FreeBSD 4.x:

        vm/pmap.h \
        vm/vm_map.h \
        machine/pmap.h \
         #ifdef HAVE_SYS_LOCK_H
         #include <sys/lock.h>

You can either try to fix it or send me config.log and i will try to fix it.

And then during the compile:
gcc -c -g -O2 -Wall -D _REENTRANT -I/usr/include -DFREEBSD  -I.
-I./device -I./http -I./process -I./protocols process/sysdep_FREEBSD.c
-o process/sysdep_FREEBSD.o
process/sysdep_FREEBSD.c: In function `initprocesstree_sysdep':
process/sysdep_FREEBSD.c:330: error: structure has no member named
process/sysdep_FREEBSD.c:331: error: structure has no member named
process/sysdep_FREEBSD.c:362: warning: passing arg 1 of `calcru' from
incompatible pointer type
process/sysdep_FREEBSD.c:389: error: structure has no member named
process/sysdep_FREEBSD.c:401: error: structure has no member named
process/sysdep_FREEBSD.c:411: error: structure has no member named
gmake: *** [process/sysdep_FREEBSD.o] Error 1

I haven't had time to dig into it yet, but any thoughts?

It seems that there are either some headers missing or there were some incompatible changes between FreeBSD 4.x and 5.x.

Unfortunately, i have only non-root access to FreeBSD 4.x, which is not sufficient for process code testing, nor for FreeBSD 5.x issue tracing.

Any FreeBSD volunteer on the list? ;)


To unsubscribe:

Rory Toma               address@hidden
VP of Run Level 9
Digeo Digital 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]