Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!cathedral!siping From: siping@cathedral.cerc.wvu.wvnet.edu (Siping Liu) Newsgroups: comp.unix.questions Subject: **** a question on gprof **** Message-ID: <727@babcock.cerc.wvu.wvnet.edu> Date: 30 Aug 90 14:26:33 GMT Sender: news@cerc.wvu.wvnet.edu Lines: 9 I am trying to use gprof to analyze my C program. However, the linker tells me "Undefined symbol: mcount" after I put in -p as a C flag. What lib/header files I need to add in? Please also tell me your experience/comments on using this facility. Thanks a lot. siping@cerc.wvu.wvnet.edu