On Thu, Mar 01, 2012 at 08:58:52AM +0100, John Marino wrote:
I was able to recreate this error on tinderbox-dragonfly.
Would linking libkvm statically solve this?
Could someone describe the problem again, please?
Last error messages I saw had:
process_util_bsd.cc:(.text+0x859): undefined reference to `kvm_open'
process_util_bsd.cc:(.text+0x885): undefined reference to `kvm_getprocs'
process_util_bsd.cc:(.text+0x9b2): undefined reference to `kvm_close'
are these gone with libkinfo/libkvm or whatever?
/usr/libexec/binutils221/elf/ld: libxul.so: hidden symbol `kvm_getprocs' isn't
defined
This might be a missing include or something, please check how kvm_getprocs
is defined when used in process_util_bsd.cc. It could be a wrong extern
declaration, which (due to default visibility hidden) needs an explicit
visibility attribute. An example for this happening is the extern declaration
of "environ" in the same source file: