Re: [Orbit-python-list] Problem with Mac OS X
Status: Inactive
Brought to you by:
tack
From: Neil T. <nt...@ea...> - 2001-09-07 12:52:09
|
I think I solved this problem by adding "extern" to the definition of servant_base. I have no idea if this is a proper fix, did not research the source code and have not tested it extensively. But orbit-python does now work for accessing our GEAS server from python using our IDL. Please check and see if this is the correct way to solve this problem. Here is the diff. Thank you. PortableServermodule.c --- PortableServermoduleOld.c Fri Sep 7 07:26:57 2001 +++ PortableServermodule.c Wed Sep 5 20:07:45 2001 @@ -1,6 +1,6 @@ #include "CORBAmodule.h" -PyObject *servant_base; // PortableServer.Servant +extern PyObject *servant_base; // PortableServer.Servant PyMethodDef PortableServer_methods[] = { { NULL, NULL } At 8:00 PM -0500 9/5/01, Neil Tiffin wrote: >Version 0.3.0 compiles and installs just fine on Mac OS X (10.0.4). >however, when I try to run our test programs I get the following >error. Can anyone point me to the solution. > >dyld: python multiple definitions of symbol _servant_base >/Volumes/AnagadaII/sw/lib/python2.1/site-packages/CORBAmodule.so >definition of _servant_base >/Volumes/AnagadaII/sw/lib/python2.1/site-packages/PortableServermodule.so >definition of _servant_base -- Neil ne...@gn... GNU Enterprise http://www.gnuenterprise.org/ http://www.gnuenterprise.org/~neilt/sc.html |