[egenix-users] Cygwin compile problem in commercial 2.0.6

M.-A. Lemburg mal at lemburg.com
Mon Nov 17 11:06:31 CET 2003


Steve Holden wrote:
> The subject line pretty much explains the problem. The gory details
> follow, truncated to remain useful for the clueful (among which I don't
> count myself in this particular arena):
> 
> $ python setup.py install
> running install
> running build
> running mx_autoconf
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -D_GNU_SOURCE=1 -I/usr/inc
> lude/python2.3 -I/usr/include -c _configtest.c -o _configtes
> t.o
> success!
> removing: _configtest.c _configtest.o
> running build_ext
> building 'mx.ODBC.iODBC.mxODBC' extension
> creating build
> creating build/temp.cygwin-1.5.5-i686-2.3
> creating build/temp.cygwin-1.5.5-i686-2.3/mx
> creating build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC
> creating build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC
> creating build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC/mxODBC
> creating build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC/mxODBC/mx
> creating build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC/mxODBC/mx/ODBC
> creating
> build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC/mxODBC/mx/ODBC/iODBC
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DiODBC -Imx/ODBC/iODBC -I
> /usr/local/iODBC/include -I/usr/include/python2.3 -I/usr/inc
> lude -c mx/ODBC/iODBC/mxSQLCodes.c -o
> build/temp.cygwin-1.5.5-i686-2.3/mx/ODBC/iODBC/mxODBC/mx/ODBC/iODBC/mxSQ
> LCodes.o
> In file included from /usr/include/w32api/sql.h:13,
>                  from mx/ODBC/iODBC/mxODBC.h:239,
>                  from mx/ODBC/iODBC/mxSQLCodes.c:17:
> /usr/include/w32api/sqltypes.h:17: error: parse error before "UDWORD"
> /usr/include/w32api/sqltypes.h:18: error: parse error before "UWORD"
> /usr/include/w32api/sqltypes.h:24: error: parse error before "PTR"
> /usr/include/w32api/sqltypes.h:25: error: parse error before "HENV"
> /usr/include/w32api/sqltypes.h:26: error: parse error before "HDBC"
> 
> ... lots more similar problems, then eventually ...

Could you cut&paste the top of sqltypes.h ? It seems that
Cygwin has messed up some of these header files...

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Nov 17 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

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



More information about the egenix-users mailing list