problem with gcc/cc and ld

Prasad Akella prasad at csli.Stanford.EDU
Thu Mar 22 12:47:11 AEST 1990


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 at 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



More information about the Comp.unix.wizards mailing list