[dtrace-discuss] (dtrace error) "operator -> cannot be applied to a forward declaration ..."

Adam Leventhal ahl at eng.sun.com
Fri Jun 5 06:59:44 PDT 2009


> The error I am getting is:
>
> "operator -> cannot be applied to a forward declaration: no struct  
> proc_t definition is available"


You need to use the same syntax as in C. This means either 'proc_t' or
'struct proc'.

Adam

--
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl




More information about the dtrace-discuss mailing list