Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 10:22:42 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: dtrace failing with "no struct pkt_node definition is available"
Message-ID:  <20150604172241.GA3357@charmander>
In-Reply-To: <CAFMmRNyTphDhdxo-odUB_0VqtC2V5vKy8JH1UyTfXQR5b8RvsQ@mail.gmail.com>
References:  <CAFMmRNyTphDhdxo-odUB_0VqtC2V5vKy8JH1UyTfXQR5b8RvsQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150604172241.GA3357>