slm@cs.arizona.edu (Sandy Miller) (04/13/91)
I have a program which links in the X libraries and creates windows, etc. using the Athena widgets and using X11R4. My "boss" would like me to run it with gprof to discover what is so slow (the X stuff, or the underlying algorithm). Unfortunately, when I try to compile and link with -pg or -p, I get the following error: ld: _DYNAMIC bootstrapping not available: use -Bstatic But when I add -Bstatic to the link arguments, I get the funcitons _XShapeQueryExtension and _XShapeCombineMask as undefined. Has anyone been able to compile X window programs with gprof or prof and been successful. If so, could you let me in on the secret? ;-) Thanks a million, -sandy