Michael Barrett
2007-Jan-17 04:05 UTC
[dtrace-discuss] dtrace: failed to compile script /dev/fd/11
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
Brendan Gregg - Sun Microsystems
2007-Jan-17 04:21 UTC
[dtrace-discuss] dtrace: failed to compile script /dev/fd/11
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 combinationSee 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]