esnme/ultramysql — Issue #5: ./python/umysql.h:81:3: error: expected specifier-qualifier-list before 'UINT8'
Author: brunoqc
Created: 2012-02-09 21:25:42+00:00
State: open

Hi,

I'm unable to build `ultramysql`. Any idea?

C:\ultramysql>python setup.py build
running build
running build_ext
building 'umysql' extension
C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWIN32_LEAN_AND_MEAN -I./python -I./lib -IC:\Python27\include -IC:\Python27\PC -c ./python/umysql.c -o build\temp.win32-2.7\Release\.\python\umysql.o
In file included from ./python/umysql.c:60:0:
./python/umysql.h:81:3: error: expected specifier-qualifier-list before 'UINT8'
./python/umysql.c: In function 'API_resultSetField':
./python/umysql.c:150:3: error: 'UMTypeInfo' has no member named 'type'
./python/umysql.c: In function 'DecodeString':
./python/umysql.c:257:13: error: 'UMTypeInfo' has no member named 'charset'
./python/umysql.c:492:103: error: 'UMTypeInfo' has no member named 'charset'
./python/umysql.c: In function 'API_resultRowValue':
./python/umysql.c:511:15: error: 'UMTypeInfo' has no member named 'type'
./python/umysql.c:655:73: error: 'UMTypeInfo' has no member named 'type'
./python/umysql.c: At top level:
./python/umysql.c:679:3: warning: initialization from incompatible pointer type
./python/umysql.c: In function 'EscapeQueryArguments':
./python/umysql.c:1058:5: warning: implicit declaration of function '_alloca'
./python/umysql.c: At top level:
./python/umysql.c:1278:3: warning: initialization from incompatible pointer type
./python/umysql.c:1374:3: warning: initialization from incompatible pointer type
error: command 'gcc' failed with exit status 1