On Dec 5, 2007 1:24 AM,  <[EMAIL PROTECTED]> wrote:
> >check_fnames: error: forbidden names found in pics/rpc_provider.o
> >    close
> >    dlinfo
> >    fprintf
> >    ioctl
>     open64
> >    strerror
>
>
> Libraries should not call the "naked" version of these symbols as those
> can also be defined in user programs and those will then be called instead.
>
>
> You will need to call _close etc instead; this is done through including
> "synonyms.h" before you include anything else.  (See your typical other
> library source file)

The problem is that I did not generate these from C.  I used (roughly)
the following, as suggested at
http://blogs.sun.com/ahl/entry/user_land_tracing_gets_better and
referenced by Adam earlier in this thread.

dtrace -G -o rpc_provider.o -s rpc_provider.d

My previous post listed the actual d provider source and the bulk of
the Makefile.* updates.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to