[comp.unix.wizards] problem with gcc/cc and ld

prasad@csli.Stanford.EDU (Prasad Akella) (03/22/90)

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