Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to build/load dtrace module?



On Sat, 28 Nov 2015, Kamil Rytarowski wrote:

--[PinePGP]--------------------------------------------------[begin]--
On 28.11.2015 14:17, Paul Goyette wrote:
I just did a complete 'build.sh -V MKDTRACE=yes release' and
installed it in a QEMU virtual system.

When I try to load the dtrace module, I get

# modload dtrace kobj_checksyms, 884: [dtrace]: linker error:
symbol `dtrace_invop_calltrap_addr' not found kobj_checksyms, 884:
[dtrace]: linker error: symbol `dtrace_invop_jump_addr' not found
kobj_checksyms, 884: [dtrace]: linker error: symbol
`dtrace_trap_func' not found WARNING: module error: unable to affix
module `dtrace', error 8

Where are these three symbols (supposed to be) defined?  And what
do I need to do to make it happen?

Thanks in advance!


https://wiki.netbsd.org/tutorials/how_to_enable_and_run_dtrace/

You also need MKCTF=yes.

Oh, yeah, I remember that one now.  Thanks!



+------------------+--------------------------+-------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
+------------------+--------------------------+-------------------------+


Home | Main Index | Thread Index | Old Index