On 22-Dec-00 at 21:39, Ilya ([EMAIL PROTECTED]) wrote:
> you were correct, that fixed it. but now i am stuck in a new place... any
> ideas? ;)
> make all CFLAGS=-O
> ### Making all in /root/temp/cyrus-imapd-2.0.9/man
> ### Making all in /root/temp/cyrus-imapd-2.0.9/sieve
> ### Making all in /root/temp/cyrus-imapd-2.0.9/acap
> ### Making all in /root/temp/cyrus-imapd-2.0.9/lib
> ### Making all in /root/temp/cyrus-imapd-2.0.9/master
> gcc -L/usr/local/lib -R/usr/local/lib -L/usr/include/openssl/lib -g -O2 -o
> master master.o masterconf.o
> cyrusMasterMIB.o -lucdagent -lucdmibs -lsnmp -lfl -ldb -lssl -lcrypto
> -lwra p -lcom_err
> /usr/local/lib/libsnmp.so: warning: mktemp() possibly used unsafely;
> consider using mkstemp()
> /usr/local/lib/libucdmibs.so: undefined reference to `auto_nlist_value'
> /usr/local/lib/libucdmibs.so: undefined reference to `kvm_getswapinfo'
> /usr/local/lib/libucdmibs.so: undefined reference to `auto_nlist'
> /usr/local/lib/libucdagent.so: undefined reference to `kvm_geterr'
> /usr/local/lib/libucdagent.so: undefined reference to `kvm_read'
> /usr/local/lib/libucdagent.so: undefined reference to `kvm_openfiles'
> *** Error code 1
find /usr/include -name '*.h' -print | xargs grep kvm_getswapinfo
shows it in <kvm.h>. The rest of the kvm items are probably also
in there. My first guess would be a missing system-specific include.
(Or possibly one in an #ifdef that should be checking for FreeBSD
but isn't.)
I don't know where the auto_ things should be defined - they aren't
in any standard system headers. You might try grepping through the
.c and .h files in the cyrus sources to see if you can find them or
find references that would give a better clue.
-Pat