Vincent Torri <vincent.torri at gmail.com> wrote:
> > > symbol _mcount: referenced symbol not found
> >
> > The code was compiles with -xpg and thus you ned to link with
> > -xpg too.
> >
> > See "man gprof"
> >
> > which code ? pthread ? Because i don't compile with -pg. I have verified.
Try to find out which code need _mcount.
If the linker does not tell you, you may call:
nm -r *.o | grep mcount
then check how this code is compiled. Maybe there is a buggy
makefile that includes -xpg (note with gcc, this is -pg).
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily