On Fri, Dec 22, 2000 at 11:26:42PM -0800, [EMAIL PROTECTED] wrote:
> > /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.
You are completely missing the point. It's a linker error, so it has
absolutely _nothing_ to do with headers. You have to find out which
library contains the kvm_* functions and add it to the command line.
I do not know FreeBSD but on Solaris you would need to add "-lkvm"...
Gabor
--
Gabor Gombas Eotvos Lorand University
E-mail: [EMAIL PROTECTED] Hungary