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, Nov 28, 2015 at 02:13:05PM +0100, Kamil Rytarowski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> 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.

I don't see that mentioned on the wiki page...

On the other hand, I still think that if MKDTRACE needs MKCTF, it
should enable it.

Or at least warn if it's not defined, if enabling it seems too scary.
 Thomas


Home | Main Index | Thread Index | Old Index