[dtrace-discuss] dtrace: failed to compile script /dev/fd/11

Brendan Gregg - Sun Microsystems brendan at sun.com
Tue Jan 16 20:21:11 PST 2007


G'Day Michael,

On Tue, Jan 16, 2007 at 11:05:15PM -0500, Michael Barrett wrote:
> Does DTraceToolkit Version 0.96 support the latest release of Solaris 
> (11/06)?
> 
> # /opt/DTT/Net/tcpsnoop
> dtrace: failed to compile script /dev/fd/11: "/usr/include/sys/kstat.h", 
> line 439: invalid type combination

See Bug ID 6468001. This is due to a new Solaris keyword clash that was
supposed to be fixed in a Solaris patch (it doesn't just break the
DTraceToolkit), but due to some mix up it wasn't included in the patch.
tcpsnoop works fine in newer versions of Nevada, where the fix was
integrated.

Does the DTraceToolkit support a workaround for this Solaris version
while Bug ID 6468001 is fixed? - sorry, not yet.

In the meantime, try deleting the two lines that read,

   #include <sys/socket.h>
   #include <sys/socketvar.h>

and tell me if it works. :)

cheers,

Brendan

-- 
Brendan
[CA, USA]


More information about the dtrace-discuss mailing list