Thanks. This works on my dev box running [dtrace: Sun D 1.3]. I ran the whole DTrace script through cpp (with all the preserved flags that dtrace would have used to invoke cpp) and the output will run stand-alone now (no cpp needed).
Our prod hosts are a little behind. They have [dtrace: Sun D 1.1] and choke on this section of the script: typedef struct apr_bucket_refcount apr_bucket_refcount; struct apr_bucket_refcount { int refcount; }; struct apr_bucket_heap { apr_bucket_refcount refcount; // I don't think the typedef is applied correctly here. // I can prepend 'struct' to get past it. char *base; apr_size_t alloc_len; void (*free_func)(void *data); }; If this is a parser issue that was fixed between the two versions, I'm wondering what my options are. Is there any way to take the compiled code from one host to another? -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org