get error install MySQLdb on Mac OS X

PS.OHM ps.ohms at gmail.com
Mon Feb 1 09:43:29 CET 2010


On Jan 29, 5:02 am, Sean DiZazzo <half.ital... at gmail.com> wrote:
> On Jan 28, 12:53 pm, "PS.OHM" <ps.o... at gmail.com> wrote:
>
> > Hello Guys
>
> > I havegetsomeerrorwhen i install MySQLdb on Mac OS X
>
> > after i key command $python setup.py build
>
> > rusult is
> > :
> > :
> >error: command 'gcc-4.0' failed with exit status 1
>
> > How to config this poblem?
>
> Please show a little bit more of theerror



iME-macbook-pro:MySQL-python-1.2.3c1 iME$ python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.3-fat-2.6/MySQLdb
running build_ext
building '_mysql' extension
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -
Dversion_info=(1,2,3,'gamma',1) -D__version__=1.2.3c1 -I/Applications/
MAMP/Library/include/mysql -I/Library/Frameworks/Python.framework/
Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.3-
fat-2.6/_mysql.o -fno-omit-frame-pointer -D_P1003_1B_VISIBLE -
DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -
DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c:38:19: error: mysql.h: No such file or directory
_mysql.c:39:26: error: mysqld_error.h: No such file or directory
_mysql.c:40:20: error: errmsg.h: No such file or directory
_mysql.c:76: error: syntax error before ‘MYSQL’
_mysql.c:76: warning: no semicolon at end of struct or union
_mysql.c:79: error: syntax error before ‘}’ token
_mysql.c:79: warning: data definition has no type or storage class
_mysql.c:90: error: syntax error before ‘MYSQL_RES’
_mysql.c:90: warning: no semicolon at end of struct or union
_mysql.c:94: error: syntax error before ‘}’ token
_mysql.c:94: warning: data definition has no type or storage class
_mysql.c:106: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_Exception’:
_mysql.c:120: error: ‘c’ undeclared (first use in this function)
_mysql.c:120: error: (Each undeclared identifier is reported only once
_mysql.c:120: error: for each function it appears in.)
_mysql.c:123: error: ‘CR_MAX_ERROR’ undeclared (first use in this
function)
_mysql.c:131: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use
in this function)
_mysql.c:132: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in
this function)
_mysql.c:133: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this
function)
_mysql.c:134: error: ‘ER_PARSE_ERROR’ undeclared (first use in this
function)
_mysql.c:135: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this
function)
_mysql.c:136: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this
function)
_mysql.c:137: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in
this function)
_mysql.c:138: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use
in this function)
_mysql.c:139: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use
in this function)
_mysql.c:140: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use
in this function)
_mysql.c:141: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first
use in this function)
_mysql.c:170: error: ‘ER_DUP_ENTRY’ undeclared (first use in this
function)
_mysql.c:213: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:358: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_Initialize’:
_mysql.c:363: error: ‘MYSQL_RES’ undeclared (first use in this
function)
_mysql.c:363: error: ‘result’ undeclared (first use in this function)
_mysql.c:364: error: ‘conn’ undeclared (first use in this function)
_mysql.c:368: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:368: error: ‘fields’ undeclared (first use in this function)
_mysql.c:370: error: ‘args’ undeclared (first use in this function)
_mysql.c:370: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c:375: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:445: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_traverse’:
_mysql.c:450: error: ‘self’ undeclared (first use in this function)
_mysql.c:451: error: ‘arg’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:460: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_clear’:
_mysql.c:462: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:471: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_Initialize’:
_mysql.c:475: error: ‘MYSQL’ undeclared (first use in this function)
_mysql.c:475: error: ‘conn’ undeclared (first use in this function)
_mysql.c:500: error: ‘self’ undeclared (first use in this function)
_mysql.c:503: error: ‘args’ undeclared (first use in this function)
_mysql.c:503: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c:550: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use
in this function)
_mysql.c:554: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in
this function)
_mysql.c:555: error: ‘CLIENT_COMPRESS’ undeclared (first use in this
function)
_mysql.c:558: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in
this function)
_mysql.c:560: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in
this function)
_mysql.c:562: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use
in this function)
_mysql.c:564: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use
in this function)
_mysql.c:567: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in
this function)
_mysql.c: In function ‘_mysql_connect’:
_mysql.c:654: error: ‘c’ undeclared (first use in this function)
_mysql.c:656: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:667: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_traverse’:
_mysql.c:671: error: ‘self’ undeclared (first use in this function)
_mysql.c:672: error: ‘arg’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:678: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_clear’:
_mysql.c:680: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:690: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_close’:
_mysql.c:693: error: ‘args’ undeclared (first use in this function)
_mysql.c:696: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:718: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_affected_rows’:
_mysql.c:721: error: ‘args’ undeclared (first use in this function)
_mysql.c:722: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:752: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_dump_debug_info’:
_mysql.c:756: error: ‘args’ undeclared (first use in this function)
_mysql.c:757: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:771: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_autocommit’:
_mysql.c:775: error: ‘args’ undeclared (first use in this function)
_mysql.c:783: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:797: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_commit’:
_mysql.c:801: error: ‘args’ undeclared (first use in this function)
_mysql.c:806: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:819: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_rollback’:
_mysql.c:823: error: ‘args’ undeclared (first use in this function)
_mysql.c:828: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:851: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_next_result’:
_mysql.c:855: error: ‘args’ undeclared (first use in this function)
_mysql.c:863: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:936: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_errno’:
_mysql.c:939: error: ‘args’ undeclared (first use in this function)
_mysql.c:940: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:952: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_error’:
_mysql.c:955: error: ‘args’ undeclared (first use in this function)
_mysql.c:956: error: ‘self’ undeclared (first use in this function)
_mysql.c:957: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:970: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_escape_string’:
_mysql.c:976: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1005: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_string_literal’:
_mysql.c:1011: error: ‘args’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_escape’:
_mysql.c:1088: error: syntax error before ‘)’ token
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c: At top level:
_mysql.c:38:19: _mysql.c:1164: error: syntax error before ‘*’ token
error: mysql.h: No such file or directory
_mysql.c: In function ‘_mysql_ResultObject_describe’:
_mysql.c:1168: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1168: error: ‘fields’ undeclared (first use in this function)
_mysql.c:39:26: error: _mysql.c:1170: error: ‘args’ undeclared (first
use in this function)
mysqld_error.h: No such file or directory
_mysql.c:1171: error: syntax error before ‘)’ token_mysql.c:40:20:
 error: _mysql.c:1171: error: syntax error before ‘)’ token
errmsg.h: No such file or directory
_mysql.c:1172: error: ‘self’ undeclared (first use in this function)
_mysql.c:76: error: syntax error before ‘MYSQL’
_mysql.c:76: warning: no semicolon at end of struct or union
_mysql.c:79: error: syntax error before ‘}’ token
_mysql.c:79: warning: data definition has no type or storage class
_mysql.c: At top level:_mysql.c:90: error: syntax error before
‘MYSQL_RES’
_mysql.c:90: warning: no semicolon at end of struct or union
_mysql.c:94: error: syntax error before ‘}’ token
_mysql.c:1200: error: syntax error before ‘*’ token

_mysql.c: In function ‘_mysql_ResultObject_field_flags’:_mysql.c:94:
warning: data definition has no type or storage class

_mysql.c:1204: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1204: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1206: error: ‘args’ undeclared (first use in this function)
_mysql.c:106: error: syntax error before ‘*’ token
_mysql.c:1207: error: syntax error before ‘)’ token
_mysql.c:1207: error: syntax error before ‘)’ token
_mysql.c:1208: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_Exception’:
_mysql.c:120: error: ‘c’ undeclared (first use in this function)
_mysql.c:120: error: (Each undeclared identifier is reported only once
_mysql.c:120: error: for each function it appears in.)
_mysql.c:123: error: ‘CR_MAX_ERROR’ undeclared (first use in this
function)
_mysql.c:131: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use
in this function)
_mysql.c:132: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in
this function)
_mysql.c:133: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this
function)
_mysql.c:134: error: ‘ER_PARSE_ERROR’ undeclared (first use in this
function)
_mysql.c:135: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this
function)
_mysql.c: At top level:
_mysql.c:136: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this
function)
_mysql.c:137: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in
this function)
_mysql.c:138: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use
in this function)
_mysql.c:139: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use
in this function)
_mysql.c:140: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use
in this function)
_mysql.c:141: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first
use in this function)
_mysql.c:170: error: ‘ER_DUP_ENTRY’ undeclared (first use in this
function)
_mysql.c:213: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c:1249: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_row_to_tuple’:
_mysql.c:1256: error: ‘self’ undeclared (first use in this function)
_mysql.c:1258: warning: assignment makes pointer from integer without
a cast
_mysql.c:1262: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:_mysql.c: At top level:
_mysql.c:358: error: syntax error before ‘*’ token

_mysql.c:1274: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_row_to_dict’:
_mysql.c:1280: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1280: error: ‘fields’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_Initialize’:
_mysql.c:363: error: ‘MYSQL_RES’ undeclared (first use in this
function)
_mysql.c:363: error: ‘result’ undeclared (first use in this function)
_mysql.c:364: error: ‘conn’ undeclared (first use in this function)
_mysql.c:368: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:368: error: ‘fields’ undeclared (first use in this function)
_mysql.c:370: error: ‘args’ undeclared (first use in this function)
_mysql.c:370: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c:375: error: ‘self’ undeclared (first use in this function)

_mysql.c:1282: error: ‘self’ undeclared (first use in this function)
_mysql.c:1284: warning: assignment makes pointer from integer without
a cast
_mysql.c:1289: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:445: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_traverse’:
_mysql.c:450: error: ‘self’ undeclared (first use in this function)
_mysql.c:451: error: ‘arg’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c: At top level:_mysql.c:460: error: syntax error before ‘*’
token

_mysql.c:1313: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_clear’:
_mysql.c:462: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_row_to_dict_old’:
_mysql.c:1319: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1319: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1321: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1323: warning: assignment makes pointer from integer without
a cast
_mysql.c:471: error: syntax error before ‘*’ token
_mysql.c:1328: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1350: error: syntax error before ‘*’ token
_mysql.c:1354: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql__fetch_row’:
_mysql.c:1361: error: ‘MYSQL_ROW’ undeclared (first use in this
function)
_mysql.c:1361: error: syntax error before ‘row’
_mysql.c:1363: error: ‘skiprows’ undeclared (first use in this
function)
_mysql.c:1363: error: ‘maxrows’ undeclared (first use in this
function)
_mysql.c:1365: error: ‘self’ undeclared (first use in this function)
_mysql.c:1366: error: ‘row’ undeclared (first use in this function)
_mysql.c:1372: error: syntax error before ‘)’ token
_mysql.c:1373: error: syntax error before ‘)’ token
_mysql.c: In function ‘_mysql_ConnectionObject_Initialize’:
_mysql.c:1377: error: ‘r’ undeclared (first use in this function)
_mysql.c:475: error: ‘MYSQL’ undeclared (first use in this function)

_mysql.c:475: error: ‘conn’ undeclared (first use in this function)
_mysql.c:1380: warning: assignment makes pointer from integer without
a cast
_mysql.c:500: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:

_mysql.c:1400: error: syntax error before ‘*’ token
_mysql.c:503: error: ‘args’ undeclared (first use in this function)
_mysql.c:503: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_fetch_row’:
_mysql.c:1404: error: syntax error before ‘*’ token
_mysql.c:550: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use
in this function)_mysql.c:1416: error: ‘args’ undeclared (first use in
this function)

_mysql.c:1416: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c:554: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in
this function)

_mysql.c:555: error: ‘CLIENT_COMPRESS’ undeclared (first use in this
function)
_mysql.c:558: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in
this function)
_mysql.c:560: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in
this function)
_mysql.c:562: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use
in this function)_mysql.c:1419: error: syntax error before ‘)’ token

_mysql.c:1419: error: syntax error before ‘)’ token_mysql.c:564:
error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use in this
function)

_mysql.c:567: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in
this function)
_mysql.c: In function ‘_mysql_connect’:
_mysql.c:654: error: ‘c’ undeclared (first use in this function)
_mysql.c:656: error: syntax error before ‘)’ token
_mysql.c:1427: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:667: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_traverse’:
_mysql.c:671: error: ‘self’ undeclared (first use in this function)
_mysql.c:672: error: ‘arg’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:678: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_clear’:
_mysql.c:680: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1507: error: syntax error before ‘*’ token
_mysql.c: At top level:
_mysql.c:690: error: syntax error before ‘*’ token_mysql.c: In
function ‘_mysql_ConnectionObject_character_set_name’:

_mysql.c:1511: error: ‘args’ undeclared (first use in this function)
_mysql.c:1512: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ConnectionObject_close’:
_mysql.c:693: error: ‘args’ undeclared (first use in this function)

_mysql.c:696: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_get_client_info’:
_mysql.c:1603: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:718: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_affected_rows’:
_mysql.c:721: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1613: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_host_info’:

_mysql.c:1616: error: ‘args’ undeclared (first use in this function)
_mysql.c:1617: error: ‘self’ undeclared (first use in this function)
_mysql.c:1618: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast_mysql.c:722: error: ‘self’
undeclared (first use in this function)

_mysql.c: At top level:
_mysql.c:1628: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_proto_info’:
_mysql.c:1631: error: ‘args’ undeclared (first use in this function)
_mysql.c:1632: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1643: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_server_info’:
_mysql.c:1646: error: ‘args’ undeclared (first use in this function)
_mysql.c:1647: error: ‘self’ undeclared (first use in this function)
_mysql.c:1648: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1659: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_info’:
_mysql.c:1663: error: ‘args’ undeclared (first use in this function)
_mysql.c:1664: error: ‘self’ undeclared (first use in this function)
_mysql.c:1665: warning: assignment makes pointer from integer without
a cast
_mysql.c: At top level:
_mysql.c:752: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_dump_debug_info’:
_mysql.c:756: error: ‘args’ undeclared (first use in this function)
_mysql.c:757: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:

_mysql.c:1694: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_insert_id’:
_mysql.c:1697: error: ‘my_ulonglong’ undeclared (first use in this
function)
_mysql.c:1697: error: syntax error before ‘r’
_mysql.c:1698: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:_mysql.c:1699: error: ‘self’ undeclared (first
use in this function)

_mysql.c:771: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_autocommit’:
_mysql.c:775: error: ‘args’ undeclared (first use in this function)
_mysql.c:1701: error: ‘r’ undeclared (first use in this function)

_mysql.c:783: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1712: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_kill’:

_mysql.c:1717: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:_mysql.c:1718: error: ‘self’ undeclared (first
use in this function)

_mysql.c:797: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_commit’:
_mysql.c:801: error: ‘args’ undeclared (first use in this function)
_mysql.c:806: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1735: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_field_count’:
_mysql.c: At top level:
_mysql.c:819: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_rollback’:
_mysql.c:823: error: ‘args’ undeclared (first use in this function)
_mysql.c:828: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:851: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_next_result’:
_mysql.c:855: error: ‘args’ undeclared (first use in this function)
_mysql.c:863: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:936: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_errno’:
_mysql.c:939: error: ‘args’ undeclared (first use in this function)
_mysql.c:940: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:952: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_error’:
_mysql.c:955: error: ‘args’ undeclared (first use in this function)
_mysql.c:956: error: ‘self’ undeclared (first use in this function)
_mysql.c:957: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:970: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_escape_string’:
_mysql.c:976: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1005: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_string_literal’:
_mysql.c:1011: error: ‘args’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_escape’:
_mysql.c:1088: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:1164: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_describe’:
_mysql.c:1168: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1168: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1170: error: ‘args’ undeclared (first use in this function)
_mysql.c:1171: error: syntax error before ‘)’ token
_mysql.c:1171: error: syntax error before ‘)’ token
_mysql.c:1172: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1200: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_field_flags’:
_mysql.c:1204: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1204: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1206: error: ‘args’ undeclared (first use in this function)
_mysql.c:1207: error: syntax error before ‘)’ token
_mysql.c:1207: error: syntax error before ‘)’ token
_mysql.c:1208: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1249: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_row_to_tuple’:
_mysql.c:1256: error: ‘self’ undeclared (first use in this function)
_mysql.c:1258: warning: assignment makes pointer from integer without
a cast
_mysql.c:1262: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1274: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_row_to_dict’:
_mysql.c:1280: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1280: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1282: error: ‘self’ undeclared (first use in this function)
_mysql.c:1284: warning: assignment makes pointer from integer without
a cast
_mysql.c:1289: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1313: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_row_to_dict_old’:
_mysql.c:1319: error: ‘MYSQL_FIELD’ undeclared (first use in this
function)
_mysql.c:1319: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1321: error: ‘self’ undeclared (first use in this function)
_mysql.c:1323: warning: assignment makes pointer from integer without
a cast
_mysql.c:1328: error: ‘row’ undeclared (first use in this function)
_mysql.c:1738: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1350: error: syntax error before ‘*’ token

_mysql.c:1354: error: syntax error before ‘*’ token
_mysql.c:1739: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql__fetch_row’:
_mysql.c:1361: error: ‘MYSQL_ROW’ undeclared (first use in this
function)
_mysql.c:1361: error: syntax error before ‘row’
_mysql.c:1363: error: ‘skiprows’ undeclared (first use in this
function)

_mysql.c:1363: error: ‘maxrows’ undeclared (first use in this
function)
_mysql.c:1365: error: ‘self’ undeclared (first use in this function)
_mysql.c:1366: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1752: error: syntax error before ‘*’ token
_mysql.c:1372: error: syntax error before ‘)’ token
_mysql.c:1373: error: syntax error before ‘)’ token
_mysql.c:1377: error: ‘r’ undeclared (first use in this function)
_mysql.c:1380: warning: assignment makes pointer from integer without
a cast
_mysql.c: At top level:
_mysql.c:1400: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_fetch_row’:
_mysql.c:1404: error: syntax error before ‘*’ token
_mysql.c:1416: error: ‘args’ undeclared (first use in this function)
_mysql.c:1416: error: ‘kwargs’ undeclared (first use in this function)
_mysql.c:1419: error: syntax error before ‘)’ token
_mysql.c:1419: error: syntax error before ‘)’ token
_mysql.c:1427: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1507: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_character_set_name’:
_mysql.c:1511: error: ‘args’ undeclared (first use in this function)
_mysql.c:1512: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_get_client_info’:
_mysql.c:1603: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1613: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_host_info’:
_mysql.c:1616: error: ‘args’ undeclared (first use in this function)
_mysql.c:1617: error: ‘self’ undeclared (first use in this function)
_mysql.c:1618: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1628: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_proto_info’:
_mysql.c:1631: error: ‘args’ undeclared (first use in this function)
_mysql.c:1632: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_num_fields’:
_mysql.c: At top level:
_mysql.c:1643: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_get_server_info’:
_mysql.c:1646: error: ‘args’ undeclared (first use in this function)
_mysql.c:1647: error: ‘self’ undeclared (first use in this function)
_mysql.c:1648: warning: passing argument 1 of ‘PyString_FromString’
makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1659: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_info’:
_mysql.c:1663: error: ‘args’ undeclared (first use in this function)
_mysql.c:1664: error: ‘self’ undeclared (first use in this function)
_mysql.c:1665: warning: assignment makes pointer from integer without
a cast
_mysql.c: At top level:
_mysql.c:1694: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_insert_id’:
_mysql.c:1697: error: ‘my_ulonglong’ undeclared (first use in this
function)
_mysql.c:1697:_mysql.c:1755: error: ‘args’ undeclared (first use in
this function)
_mysql.c:1756: error: syntax error before ‘)’ token
_mysql.c:1756: error: syntax error before ‘)’ token
_mysql.c:1757: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1768: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_num_rows’:
_mysql.c:1771: error: ‘args’ undeclared (first use in this function)
_mysql.c:1772: error: syntax error before ‘)’ token
_mysql.c:1772: error: syntax error before ‘)’ token
_mysql.c:1773: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1797: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_ping’:
_mysql.c:1801: error: ‘args’ undeclared (first use in this function)
_mysql.c:1802: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1820: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_query’:
_mysql.c:1825: error: ‘args’ undeclared (first use in this function)
_mysql.c:1826: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1850: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_select_db’:
_mysql.c:1855: error: ‘args’ undeclared (first use in this function)
_mysql.c:1856: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1872: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_shutdown’:
_mysql.c:1876: error: ‘args’ undeclared (first use in this function)
_mysql.c:1877: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1899: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_stat’:
_mysql.c:1903: error: ‘args’ undeclared (first use in this function)
_mysql.c:1904: error: ‘self’ undeclared (first use in this function)
_mysql.c:1906: warning: assignment makes pointer from integer without
a cast
_mysql.c: At top level:
_mysql.c:1920: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_store_result’:
_mysql.c:1924: error: ‘r’ undeclared (first use in this function)
_mysql.c:1926: error: ‘args’ undeclared (first use in this function)
_mysql.c:1927: error: ‘self’ undeclared (first use in this function)
_mysql.c:1932: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:1961: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_thread_id’:
_mysql.c:1965: error: ‘args’ undeclared (first use in this function)
_mysql.c:1966: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1981: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_use_result’:
_mysql.c:1985: error: ‘r’ undeclared (first use in this function)
_mysql.c:1987: error: ‘args’ undeclared (first use in this function)
_mysql.c:1988: error: ‘self’ undeclared (first use in this function)
_mysql.c:1993: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:2011: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_dealloc’:
_mysql.c:2015: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2025: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_repr’:
_mysql.c:2028: error: ‘self’ undeclared (first use in this function)
 error: syntax error before ‘r’
_mysql.c:1698: error: ‘args’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2042: error: syntax error before ‘*’ token
_mysql.c:1699: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_data_seek’:
_mysql.c:2046: error: ‘args’ undeclared (first use in this function)
_mysql.c:1701: error: ‘r’ undeclared (first use in this function)
_mysql.c:2047: error: syntax error before ‘)’ token
_mysql.c:2047: error: syntax error before ‘)’ token
_mysql.c:2048: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2057: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_row_seek’:
_mysql.c:2061: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2061: error: syntax error before ‘r’
_mysql.c:2062: error: ‘args’ undeclared (first use in this function)
_mysql.c:2063: error: syntax error before ‘)’ token
_mysql.c:2063: error: syntax error before ‘)’ token
_mysql.c:2064: error: ‘self’ undeclared (first use in this function)
_mysql.c:2069: error: ‘r’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2079: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_row_tell’:
_mysql.c:2082: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2082: error: syntax error before ‘r’
_mysql.c:2083: error: ‘args’ undeclared (first use in thi_mysql.c: At
top level:s function)

_mysql.c:1712: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_kill’:
_mysql.c:1717: error: ‘args’ undeclared (first use in this function)
_mysql.c:2084: error: syntax error before ‘)’ token

_mysql.c:2084: error: syntax error before ‘)’ token
_mysql.c:1718: error: ‘self’ undeclared (first use in this function)
_mysql.c:2085: error: ‘self’ undeclared (first use in this function)
_mysql.c:2090: error: ‘r’ undeclared (first use in this function)
_mysql.c: At top level:_mysql.c: At top level:

_mysql.c:1735: error: syntax error before ‘*’ token
_mysql.c:2096: error: syntax error before ‘*’ token_mysql.c: In
function ‘_mysql_ConnectionObject_field_count’:

_mysql.c:1738: error: ‘args’ undeclared (first use in this function)
_mysql.c:1739: error: ‘self’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_dealloc’:

_mysql.c:2098: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:_mysql.c: At top level:

_mysql.c:1752: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_num_fields’:
_mysql.c:2106: error: syntax error before ‘*’ token
_mysql.c:1755: error: ‘args’ undeclared (first use in this function)
_mysql.c: In function ‘_mysql_ResultObject_repr’:
_mysql.c:1756: error: syntax error before ‘)’ token
_mysql.c:2110: error: ‘self’ undeclared (first use in this function)
_mysql.c:1756: error: syntax error before ‘)’ token
_mysql.c:1757: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1768: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_num_rows’:
_mysql.c:1771: error: ‘args’ undeclared (first use in this function)
_mysql.c:1772: error: syntax error before ‘)’ token
_mysql.c:1772: error: syntax error before ‘)’ token
_mysql.c:1773: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1797: error: syntax error before ‘*’ token_mysql.c: At top
level:
_mysql.c:2330: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2337: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2344: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2351: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2358: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2421: error: syntax error before ‘_mysql_ResultObject’
_mysql.c:2433: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2438: error: ‘self’ undeclared (first use in this function)
_mysql.c:2438: error: ‘name’ undeclared (first use in this function)
_mysql.c:2438: warning: passing argument 2 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2438: warning: passing argument 3 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2442: warning: passing argument 1 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2443: error: ‘struct PyMemberDef’ has no member named ‘open’
_mysql.c:2450: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2451: warning: passing argument 1 of ‘PyMember_GetOne’ from
incompatible pointer type
_mysql.c:2453: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2461: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_getattr’:
_mysql.c:2466: error: ‘self’ undeclared (first use in this function)
_mysql.c:2466: error: ‘name’ undeclared (first use in this function)
_mysql.c:2466: warning: passing argument 2 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2466: warning: passing argument 3 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2476: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2477: warning: passing argument 1 of ‘PyMember_GetOne’ from
incompatible pointer type
_mysql.c:2479: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2487: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_setattr’:
_mysql.c:2491: error: ‘v’ undeclared (first use in this function)
_mysql.c:2502: error: ‘name’ undeclared (first use in this function)
_mysql.c:2502: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2503: error: ‘self’ undeclared (first use in this function)
_mysql.c:2503: warning: passing argument 1 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2503: warning: passing argument 3 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2505: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2512: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_setattr’:
_mysql.c:2516: error: ‘v’ undeclared (first use in this function)
_mysql.c:2527: error: ‘name’ undeclared (first use in this function)
_mysql.c:2527: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2528: error: ‘self’ undeclared (first use in this function)
_mysql.c:2528: warning: passing argument 1 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2528: warning: passing argument 3 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2530: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type

_mysql.c: In function ‘_mysql_ConnectionObject_ping’:
_mysql.c:1801: error: ‘args’ undeclared (first use in this function)
_mysql.c:1802: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1820: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_query’:
_mysql.c:1825: error: ‘args’ undeclared (first use in this function)
_mysql.c:1826: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1850: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_select_db’:
_mysql.c:1855: error: ‘args’ undeclared (first use in this function)
_mysql.c:1856: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1872: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_shutdown’:
_mysql.c:1876: error: ‘args’ undeclared (first use in this function)
_mysql.c:1877: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1899: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_stat’:
_mysql.c:1903: error: ‘args’ undeclared (first use in this function)
_mysql.c:1904: error: ‘self’ undeclared (first use in this function)
_mysql.c:1906: warning: assignment makes pointer from integer without
a cast
_mysql.c: At top level:
_mysql.c:1920: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_store_result’:
_mysql.c:1924: error: ‘r’ undeclared (first use in this function)
_mysql.c:1926: error: ‘args’ undeclared (first use in this function)
_mysql.c:1927: error: ‘self’ undeclared (first use in this function)
_mysql.c:1932: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:1961: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_thread_id’:
_mysql.c:1965: error: ‘args’ undeclared (first use in this function)
_mysql.c:1966: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1981: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_use_result’:
_mysql.c:1985: error: ‘r’ undeclared (first use in this function)
_mysql.c:1987: error: ‘args’ undeclared (first use in this function)
_mysql.c:1988: error: ‘self’ undeclared (first use in this function)
_mysql.c:1993: error: syntax error before ‘)’ token
_mysql.c: At top level:
_mysql.c:2011: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_dealloc’:
_mysql.c:2015: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2025: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_repr’:
_mysql.c:2028: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2042: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_data_seek’:
_mysql.c:2046: error: ‘args’ undeclared (first use in this function)
_mysql.c:2047: error: syntax error before ‘)’ token
_mysql.c:2047: error: syntax error before ‘)’ token
_mysql.c:2048: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2057: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_row_seek’:
_mysql.c:2061: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2061: error: syntax error before ‘r’
_mysql.c:2062: error: ‘args’ undeclared (first use in this function)
_mysql.c:2063: error: syntax error before ‘)’ token
_mysql.c:2063: error: syntax error before ‘)’ token
_mysql.c:2064: error: ‘self’ undeclared (first use in this function)
_mysql.c:2069: error: ‘r’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2079: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_row_tell’:
_mysql.c:2082: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2082: error: syntax error before ‘r’
_mysql.c:2083: error: ‘args’ undeclared (first use in this function)
_mysql.c:2084: error: syntax error before ‘)’ token
_mysql.c:2084: error: syntax error before ‘)’ token
_mysql.c:2085: error: ‘self’ undeclared (first use in this function)
_mysql.c:2090: error: ‘r’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2096: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_dealloc’:
_mysql.c:2098: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2106: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_repr’:
_mysql.c:2110: error: ‘self’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2330: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2337: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2344: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2351: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2358: error: syntax error before ‘_mysql_ConnectionObject’
_mysql.c:2421: error: syntax error before ‘_mysql_ResultObject’
_mysql.c:2433: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2438: error: ‘self’ undeclared (first use in this function)
_mysql.c:2438: error: ‘name’ undeclared (first use in this function)
_mysql.c:2438: warning: passing argument 2 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2438: warning: passing argument 3 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2442: warning: passing argument 1 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2443: error: ‘struct PyMemberDef’ has no member named ‘open’
_mysql.c:2450: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2451: warning: passing argument 1 of ‘PyMember_GetOne’ from
incompatible pointer type
_mysql.c:2453: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2461: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_getattr’:
_mysql.c:2466: error: ‘self’ undeclared (first use in this function)
_mysql.c:2466: error: ‘name’ undeclared (first use in this function)
_mysql.c:2466: warning: passing argument 2 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2466: warning: passing argument 3 of ‘Py_FindMethod’ from
incompatible pointer type
_mysql.c:2476: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2477: warning: passing argument 1 of ‘PyMember_GetOne’ from
incompatible pointer type
_mysql.c:2479: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2487: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ConnectionObject_setattr’:
_mysql.c:2491: error: ‘v’ undeclared (first use in this function)
_mysql.c:2502: error: ‘name’ undeclared (first use in this function)
_mysql.c:2502: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2503: error: ‘self’ undeclared (first use in this function)
_mysql.c:2503: warning: passing argument 1 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2503: warning: passing argument 3 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2505: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
_mysql.c: At top level:
_mysql.c:2512: error: syntax error before ‘*’ token
_mysql.c: In function ‘_mysql_ResultObject_setattr’:
_mysql.c:2516: error: ‘v’ undeclared (first use in this function)
_mysql.c:2527: error: ‘name’ undeclared (first use in this function)
_mysql.c:2527: warning: passing argument 2 of ‘strcmp’ from
incompatible pointer type
_mysql.c:2528: error: ‘self’ undeclared (first use in this function)
_mysql.c:2528: warning: passing argument 1 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2528: warning: passing argument 3 of ‘PyMember_SetOne’ from
incompatible pointer type
_mysql.c:2530: warning: passing argument 2 of ‘PyErr_SetString’ from
incompatible pointer type
lipo: can't figure out the architecture type of: /var/folders/o5/
o5kYdZHuE3uFkIwBSAbeXE+++TI/-Tmp-//cctMmmFT.out
error: command 'gcc-4.0' failed with exit status 1



More information about the Python-list mailing list