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 at cerc.wvu.wvnet.edu