RE: Re: Can't connect using Win95 client
"Pinchart, Laurent" <[email protected]> Fri, 13 Jun 2003 14:01:06 +0200
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
> 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éférence indéfinie vers « _imp__PyExc_ValueError » build\temp.win32-2.2\Release\libpqmodule.o(.text+0x86d):libpqmodule.c: référence indéfinie vers « _imp__PyExc_MemoryError » build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf50):libpqmodule.c: référence indéfinie vers « _imp__PyInt_Type » build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf5a):libpqmodule.c: référence indéfinie vers « _imp__PyInt_Type » build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf87):libpqmodule.c: référence indéfinie vers « _imp__PyLong_Type » build\temp.win32-2.2\Release\libpqmodule.o(.text+0xf91):libpqmodule.c: référence indéfinie vers « _imp__PyLong_Type » [...] 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 > PostgreSQL > sources and my mingw patch for it: > http://pypgsql.sourceforge.net/misc/postgresql.html Thanks ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5