[Bf-committers] Problem in libblender_bpython

Douglas Bischoff bf-committers@blender.org
Tue, 6 May 2003 10:55:33 -0400


Hello, all:

This got reported before under the heading of "Quicktime on OS X" but I  
think it is a totally separate issue. It appears that the compiler in  
THAT problem wasn't liking a few flags I was passing to it in an  
attempt to optimize the code and eliminate debug info.

The newer problem seems to be related to the new way of handling  
bpython linking. I am hopeful we can SOLVE this issue instead of just  
commenting it out for OS X. At the moment it appears to be a simple  
duplicate definition... is it a matter of scope or should this function  
simply be renamed?

Here is the command & error, all done through Autoconf:
----
gcc -O3 -funsigned-char -u __dummy -u _PyMac_Error -framework System  
-framework Python -framework CoreServices -framework Foundation -o  
blender -framework OpenGL -framework AGL -framework Carbon -framework  
QuickTime  -L/sw/lib  
-L/Library/Frameworks/Python.framework/Versions/2.2/lib/python2.2/ 
config source/.libs/libblender_source.al  
intern/bsp/.libs/libblender_BSP.al  
intern/decimation/.libs/libblender_LOD.al  
intern/ghost/.libs/libblender_GHOST.al  
intern/string/.libs/libblender_STR.al  
intern/guardedalloc/.libs/libblender_guardedalloc.al  
intern/bmfont/.libs/libblender_BMF.al  
intern/container/.libs/libblender_CTR.al  
intern/memutil/.libs/libblender_MEM.al  
intern/keymaker/.libs/libblender_belgium.al  
intern/iksolver/.libs/libblender_IK.al  
intern/moto/.libs/libblender_MT.al intern/python/frozen/libfrozen.a  
-lpython2.2 -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz
ld: multiple definitions of symbol _object_copy
/usr/lib/libobjc.A.dylib(libobjc.ppc.o) definition of _object_copy
source/.libs/libblender_source.al(libblender_bpython_la-b_interface.lo)  
definition of _object_copy in section (__TEXT,__text)
make[2]: *** [blender] Error 1
----

Thanks for helping work on it!

-Bish