CentOS下安装python-mysqldb出现的问题(五)

2014-11-24 17:52:27 · 作者: · 浏览: 3
sql.c:2019: warning: implicit declaration of function ? PyMem_Free ?
_mysql.c: At top level:
_mysql.c:2022: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2039: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2054: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2076: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c: In function ? _mysql_ResultObject_dealloc ? :
_mysql.c:2098: error: ? _mysql_ResultObject ? has no member named ? result ?
_mysql.c:2098: warning: passing argument 1 of ? mysql_free_result ? from incompatible pointer type
_mysql.c: At top level:
_mysql.c:2103: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2113: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? _mysql_ConnectionObject_methods ?
_mysql.c:2328: error: array type has incomplete element type
_mysql.c:2329: error: ? T_INT ? undeclared here (not in a function)
_mysql.c:2329: warning: implicit declaration of function ? offsetof ?
_mysql.c:2329: error: expected expression before ? _mysql_ConnectionObject ?
_mysql.c:2329: error: ? RO ? undeclared here (not in a function)
_mysql.c:2336: error: ? T_OBJECT ? undeclared here (not in a function)
_mysql.c:2336: error: expected expression before ? _mysql_ConnectionObject ?
_mysql.c:2343: error: ? T_UINT ? undeclared here (not in a function)
_mysql.c:2343: error: expected expression before ? _mysql_ConnectionObject ?
_mysql.c:2350: error: expected expression before ? _mysql_ConnectionObject ?
_mysql.c:2357: error: expected expression before ? _mysql_ConnectionObject ?
_mysql.c:2364: error: ? NULL ? undeclared here (not in a function)
_mysql.c:2367: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? _mysql_ResultObject_methods ?
_mysql.c:2419: error: array type has incomplete element type
_mysql.c:2420: error: expected expression before ? _mysql_ResultObject ?
_mysql.c:2430: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2458: error: expected ? = ? , ? , ? , ? ; ? , ? asm ? or ? __attribute__ ? before ? * ? token
_mysql.c:2488: error: expected declaration specifiers or ? ... ? before ? PyObject ?
_mysql.c: In function ? _mysql_ConnectionObject_setattr ? :
_mysql.c:2490: error: ? v ? undeclared (first use in this function)
_mysql.c:2491: warning: implicit declaration of function ? PyErr_SetString ?
_mysql.c:2491: error: ? PyExc_AttributeError ? undeclared (first use in this function)
_mysql.c:2496: warning: implicit declaration of function ? PyMember_Set ?
_mysql.c: At top level:
_mysql.c:2513: error: expected declaration specifiers or ? ... ? before ?