Vincent Torri <vincent.torri at gmail.com> wrote:

> 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

The code was compiles with -xpg and thus you ned to link with 
-xpg too. 

See "man gprof"


Reply via email to