Something is going wrong with the exec of dtrace. The error you see
is what you get when you are running the Bourne shell and try
to execute the dtrace script as a shell script. Could you have
a typo in the #! line?

jason west wrote:
> i am trying to install software on 5.11 with an installer script that is 
> giving me grief about not using 5.10.  problem is that when i run the posted 
> script...
> #!/usr/sbin/dtrace -Cws
> #include </usr/include/sys/utsname.h>
> syscall::uname:entry
> {
>         this->in = (struct utsname *)arg0;
> }
> syscall::uname:return
> {
>         copyoutstr($$1, (uintptr_t)&this->in->release[0], SYS_NMLN);
> }
> 
> it returns 
> syscall::uname:entry: not found
> syntax error at line 5: `(' unexpected
> 
> am i missing something?  any help on this would be greatly appreciated.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]

-- 
blu

You know something is wrong when the New England Patriots face stiffer
penalties for spying on innocent Americans than Dick Cheney and
George Bush.                             - Gov. Bill Richardson
----------------------------------------------------------------------
Brian Utterback - Solaris RPE, Sun Microsystems, Inc.
Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to