Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!csli!prasad From: prasad@csli.Stanford.EDU (Prasad Akella) Newsgroups: comp.unix.wizards Subject: problem with gcc/cc and ld Message-ID: <12793@csli.Stanford.EDU> Date: 22 Mar 90 02:47:11 GMT Sender: prasad@csli.Stanford.EDU (Prasad Akella) Reply-To: prasad@cnc-sun.stanford.edu (Prasad Akella) Organization: Calvin and Hobbes, Inc. Lines: 22 here is a script of what i tried. there is apparently some conflict between libutils.a and mydynamics.o. anyone be able to help out? thanks -prasad@cnc-sun.stanford.edu Script started on Wed Mar 21 18:31:49 1990 cnc-sun:/home/prasad/sim/pm[101] make -n gcc kinematics.o mydynamics.o -lutils -lm cnc-sun:/home/prasad/sim/pm[103] gcc kinematics.o mydynamics.o -lm ld: Undefined symbol _M_dAllocVec cnc-sun:/home/prasad/sim/pm[104] make gcc kinematics.o mydynamics.o -lutils -lm _link: ld: mydynamics.o: multiply defined *** Error code 1 make: Fatal error: Command failed for target `a.out' cnc-sun:/home/prasad/sim/pm[105] exit exit script done on Wed Mar 21 18:32:40 1990