[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undefined symbol _kvm_open
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Undefined symbol _kvm_open
- From: JAMES RAZMUS II <lotsomail_(_at_)_usa_(_dot_)_net>
- Date: 28 Jun 2001 07:18:17 MDT
I am trying to port the Proc::ProcessTable Perl Module to OpenBSD 2.9. I am
using the kvm interface to fetch process information. I have written some c
code to do this which compiles to a .o file just fine. It then gets combined
with ProcessTable.o to create a shared object ProjectTable.so. This all
appears to work correctly until I do a make test and get the following:
/usr/libexec/ld.so: Undefined symbol "_kvm_open" called from
perl:/home/jtr2/dev/misc/Proc-ProcessTable-0.31/blib/arch/auto/Proc/ProcessTable/ProcessTable.so
at 0x401b311c
I suspect the makefile generated by the Make Maker module is missing some
linker flags or something like that, but I am way out on a limb here trying to
learn as I go.
Can anyone offer advice on how to resolve this, where to look, etc? I have
been through the man pages for kvm, kvm_open, ld, ldconfig, and others that I
can't remember just now... Any help would be greatly appreciated.
Thanks in advance,
Jim
Visit your host, monkey.org