Hey,

I have a library that can use several memory pools. These memory pools are
shared lib that can be dlopened at runtime.
One of them can use pthread and when i open it, i get the following message:

symbol _mcount: referenced symbol not found

I compile with -pthread and link with -lpthread

If I remove the support of pthread, then, i can dlopen the shared lib
without problem.

with Google, i found that mcount is defined if doing some profiling
instrumentation with gprof. Is there a link with the installed pthread and
gprof ? Or is there a missing lib i should link against ?

thank you

Vincent Torri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20090819/fdf23970/attachment.html>

Reply via email to