[DB-SIG] mxODBC: Function sequence error

M.-A. Lemburg mal at egenix.com
Fri May 28 10:47:18 EDT 2004


Thomas Waechter wrote:
>> Try to compile a version of mxODBC with debugging enabled
>>
>> python setup.py mx_autoconf --enable-debug install
> 
> I tried to compile mxODBC, but it didn't compile through. It worked for 
> mx-base, but mx-commercial stopped with the following error:

This due to some code having been removed from the Python 2.3
header files.

We'll upload a debug to our web-server later today.

> C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD 
> /W3 /GX
> /DNDEBUG /O2 /Gf /GB /GD /Ob2 -D_GNU_SOURCE=1 
> -IC:\allusers\tw856136\python\incl
> ude -IC:\allusers\tw856136\python\include /Tc_configtest.c 
> /Fo_configtest.obj
> _configtest.c
> _configtest.c(5) : error C2133: 'mxarray' : Unbekannte Groesse
> failure.
> removing: _configtest.c _configtest.obj
> running install
> running build
> running build_ext
> building 'mx.ODBC.Windows.mxODBC' extension
> C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD 
> /W3 /GX
> /DNDEBUG /O2 /Gf /GB /GD /Ob2 -DMS_ODBC_MANAGER -DBAD_STATIC_FORWARD=1 
> -DMAL_DEB
> UG -UHAVE_STRPTIME -UHAVE_TIMEGM -Imx/ODBC/Windows 
> -IC:\allusers\tw856136\python
> \include -IC:\allusers\tw856136\python\PC /Tpmx/ODBC/Windows/mxODBC.cpp 
> /Fobuild
> \temp.win32-2.3\Release\mx\ODBC\Windows\mxODBC\mx/ODBC/Windows/mxODBC.obj
> mxODBC.cpp
> mx/ODBC/Windows/mxODBC.cpp(593) : error C2133: 'mxODBCursor_Methods' : 
> Unbekannte Groesse
> mx/ODBC/Windows/mxODBC.cpp(5799) : error C2086: 'mxODBCursor_Methods' : 
> Neudefinition
> mx/ODBC/Windows/mxODBC.cpp(5870) : error C2133: 'mxODBC_Methods' : 
> Unbekannte Groesse
> mx/ODBC/Windows/mxODBC.cpp(6528) : error C2086: 'mxODBC_Methods' : 
> Neudefinition
> error: command '"C:\Programme\Microsoft Visual Studio\VC98\BIN\cl.exe"' 
> failed with exit status 2
> 
> Is there anything special? Unfortunately I couldn't have a look for help 
> at the website, because egenix.com it is down at the moment.

Thanks for the note; we had some network problems. Should be
fixed again now.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 28 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
EuroPython 2004, Göteborg, Sweden                            9 days left

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the DB-SIG mailing list