[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Announce] monit 4.4-beta3
From: |
Martin Pala |
Subject: |
Re: [Announce] monit 4.4-beta3 |
Date: |
Thu, 26 Aug 2004 21:23:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4 |
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
headers?
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 configure.ac before its test.
Following test (part of configure.ac) shows the dependency definition
which fixed the dependency related warnings for FreeBSD 4.x:
AC_CHECK_HEADERS([ \
vm/pmap.h \
vm/vm_map.h \
machine/pmap.h \
],
[],
[],
[
#ifdef HAVE_SYS_LOCK_H
#include <sys/lock.h>
#endif
])
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
`kp_proc'
process/sysdep_FREEBSD.c:331: error: structure has no member named
`kp_eproc'
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
`p_limit'
process/sysdep_FREEBSD.c:401: error: structure has no member named
`kp_eproc'
process/sysdep_FREEBSD.c:411: error: structure has no member named
`kp_proc'
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? ;)
Martin