From: Pinchart, L. <Pin...@PC...> - 2003-06-13 12:04:18
|
> Yes, mingw. I have access to MSVC6 and 7, but don't normally use them = > for open-source projects. When building pypgsql with mingw, I get lots of undefined references at linking: [...] build\temp.win32-2.2\Release\libpqmodule.o(.text+0x620):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyExc_ValueError =BB build\temp.win32-2.2\Release\libpqmodule.o(.text+0x86d):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyExc_MemoryError =BB build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf50):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyInt_Type =BB build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf5a):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyInt_Type =BB build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf87):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyLong_Type =BB build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf91):libpqmodule.c: r=E9f=E9rence ind=E9finie vers =AB _imp__PyLong_Type =BB [...] libpq.a has been built using gcc/cygwin (if there's a way to build it = with mingw please let me know). I'm not experienced with mingw, so any help = would be appreciated. > I also build my own statically linked libpq using the latest=20 > PostgreSQL=20 > sources and my mingw patch for it:=20 > http://pypgsql.sourceforge.net/misc/postgresql.html Thanks |