[Pythonmac-SIG] Re: More update [MacOSX] Re: Where are you with Carbonized Python Mac
Modules?
Jack Jansen
jack@oratrix.nl
Mon, 20 Nov 2000 10:34:43 +0100
> Python 2.0 (#7, 11/17/00, 16:20:11)
> [GCC Apple DevKit-based CPP 5.0] on Darwin1.2
> Type "copyright", "credits" or "license" for more information.
> >>> import Win
> >>> import Menu
> dyld: python multiple definitions of symbol _BMObj_Convert
> Winmodule.so definition of _BMObj_Convert
> Menumodule.so definition of _BMObj_Convert
What is your linker commandline for (for example) Winmodule.so? It appears
you're somehow not sharing your copy of Qdmodule.so among Winmodule and
Menumodule. Hmm, or you're recursively importing Winmodule or something.
Since MacPython 1.5.2 the core toolbox modules (AE, Ctl, Dlg, Evt, Menu, Qd,
Res, Win) are expecting to have access to each others globals, mainly the
xxx_New and xxx_Convert routines. The circular dependencies were getting too
much to handle. It could be that you're running into the same problem here.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm