编译cx_Oracle时遇到的一些问题

时间:2014-04-21 03:12:12

标签: python c

使用" python setup.py build"编译cx​​_Oracle5.1.2时出现问题。有一些构建错误如下:

Callback.c:49: error: ‘udt_Variable’ has no member named ‘data’
Callback.c:50: error: ‘udt_Variable’ has no member named ‘actualLength’
Callback.c:51: error: ‘udt_Variable’ has no member named ‘returnCode’
Callback.c:52: error: ‘udt_Variable’ has no member named ‘size’
Callback.c:52: error: ‘udt_VariableType’ has no member named ‘size’
Callback.c:53: error: ‘udt_Variable’ has no member named ‘bufferSize’
Callback.c:53: error: ‘udt_VariableType’ has no member named ‘size’
Callback.c:54: error: ‘udt_VariableType’ has no member named ‘isVariableLength’
Callback.c:55: error: ‘udt_Variable’ has no member named ‘bufferSize’
Callback.c: At top level:
Callback.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Callback.c:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Callback.c:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Callback.c:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

我该怎么办? 感谢。

0 个答案:

没有答案