Thank you. SUNWhea is not installed on most of my servers (big company = big restrictions), none of the headers needed are there. On some servers where this package is present, dtrace itself is not found (SUNWdtrc, SUNWdtrp ). Anyway, these headers are used only in 3 scripts under Net. Connections script works for me (on properly built servers), but two others fail like this:
dtrace: failed to compile script /dev/fd/11: line 166: failed to resolve `tcp_g_q: Unknown symbol name
bash-3.00# ./Net/tcpsnoop -p 22185
dtrace: failed to compile script /dev/fd/11: line 173: failed to resolve : Unknown variable name
From: Dan Mick [mailto:dan.mick-QHcLZuEGTsvQT0dZRfirstname.lastname@example.org]
Sent: Wednesday, April 06, 2011 8:59 PM
To: Kovalev, Ivan [CCC-OT_IT]
Subject: Re: [dtrace-discuss] DTraceToolkit-0.99 headers
Post by Kovalev, Ivan
I could not find header files for DTraceToolkit-0.99 . In particular, number of scripts under Net are referring to
It looks like they were meant to be part of the kit? I am running Solaris10 (if it makes any difference).
dtrace-discuss mailing list
Those are standard system headers, and ought to come from /usr/include. Is
there any chance you don't have SUNWhea installed?