On Thu, May 14, 2009 at 2:14 PM, akm <[email protected]> wrote: > Hi , > > I was trying to create binary egg of storm of package. > > > I added following lines in the setup.cfg > > [build] > > compiler=mingw32 > > > > This tells to always use the MingW compiler whenever it has to compile > something from C such as cextensions.c. > > But i'm getting the follwing error : > [snip] > I noticed that the command it failed did -IC:\Python25\PC. > > I do not have this PC directory in my python directory. Am I missing > something? > > Do I need to install something?
As discussed on IRC, there are some win32 incompatibilities in current Storm trunk due to its lack of support for relocations in static initialisers (which essentially means you can't declare a global variable to contain a pointer to a function or variable found in another DLL). I've put a branch up for review that fixes those problems (lp:~jamesh/storm/bug-268151), but you reported the following link errors on IRC: 20:01 <akm1> jamesh, am getting different error...build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x429):cextensions.c: undefined reference to `_imp__PyExc_TypeError' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x517):cextensions.c: undefined reference to `_imp___Py_NoneStruct' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x51f):cextensions.c: undefined reference to `_imp___Py_NoneStruct' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x58e):cextensions.c: undefined reference to `_imp__PyExc_TypeError' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x61c):cextensions.c: undefined reference to `_imp___Py_NoneStruct' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x623):cextensions.c: undefined reference to `_imp___Py_NoneStruct' 20:01 <akm1> build\temp.win32-2.5\Release\storm\cextensions.o(.text+0x647):cextensions.c: undefined reference to `_imp___Py_NoneStruct' These are symbols that should be provided by the Python DLL. I'm not familiar enough with the mingw32 toolchain on Windows to help here unfortunately. I don't think these errors indicate errors on the Storm side though. If I'm wrong, it'd be nice to know what else needs changing. James. -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
