Re: dtrace failing with "no struct pkt_node definition is available"

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 4 Jun 2015 10:22:42 -0700
On Thu, Jun 04, 2015 at 01:06:23PM -0400, Ryan Stone wrote:
> I'm getting this error when I try to run dtrace on a recent head:
> 
> dtrace: failed to compile script error.d: "/usr/lib/dtrace/tcp.d", line
> 292: operator -> cannot be applied to a forward declaration: no struct
> pkt_node definition is available.
> 
> I confirmed that I do have ctf data in my kernel.  I was able to get the
> dtrace script to run by removing tcp.d.  Has something changed in the
> kernel that tcp.d needs to catch up with?

Hi Ryan,

This was a temporary problem caused by the addition to tcp.d of a
siftr(4)-specific translator - if siftr isn't loaded, you'll get this
error. I fixed the problem a few weeks ago in r283026, so it should
be sufficient to update to a more recent head and rebuild
cddl/lib/libdtrace.
Received on Thu Jun 04 2015 - 15:22:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC