Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!rice!sun-spots-request From: mcmacken@watserv1.waterloo.edu (John R. F. McMacken) Newsgroups: comp.sys.sun Subject: brain-dead cc profiler (cc -pg) Keywords: SunOS Message-ID: <2890@brazos.Rice.edu> Date: 8 Nov 89 20:17:37 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 22 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 190, message 10 of 12 Has any sun wizard out there seen this problem with the native c complier profiler option? The system is a Sun 3/60 running SunOS 4.0.1. The following obscure program will illustrate: diana% cat main.c main() {printf("hello\n");} diana% cc main.c diana% ./a.out hello diana% cc -pg main.c _edata: ld: user attempt to redefine loader-defined symbol _end: user attempt to redefine loader-defined symbol _etext: /lib/libc_p.a(des_crypt.o): multiply defined diana% exit Thanks for any help, John McMacken mcmacken@watserv1.waterloo.{edu,cdn} Electrical Engineering, mcmacken@watserv1.uwaterloo.ca University of Waterloo, {backbone}!watmath!watserv1!mcmacken Waterloo, Ontario, Canada Waterloo, Ontario, Canada