[Zope-DB] mysql python adapter installation error

yhwu6 at yahoo.com yhwu6 at yahoo.com
Mon Nov 1 12:26:26 EST 2004


Thanks for Andreas's quicky reply. I attached a text
file of all the error message I got. Seems to me that
it couldn't find mysql.h and the rest files. I reset
the environmental variables of include_dirs
library_dirs and mysqlclient, etc. But still got the
same error. 
Regards,

LL
--- Andreas Jung <andreas at andreas-jung.com> wrote:

> 
> 
> --On Freitag, 29. Oktober 2004 13:37 Uhr -0700
> yhwu6 at yahoo.com wrote:
> 
> > Greetings,
> >
> > I am new to this list, thank you in advance for
> your
> > help.
> > The environment I have now is Zope2.7.3,
> Mysql4.0.20,
> > python 2.3.4, and adapter: MySQL-python-0.9.3b1. I
> > untarred the adapter in the zope top folder and
> used
> > the python zope use executed python setup.py
> install
> > I got the error:
> > error: command 'gcc' failed with exit status 1
> > and alot errors look like this:
> > _mysql.c:281: warning: `_mysql_server_end' defined
> but
> > not used
> 
> This *warning* is unlikely the reason for the
> failure ot the compiliation 
> process.
> There *must* be other *error* messages.
> 
> -aj
> 
> 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
-------------- next part --------------
running install
running build
running build_py
creating build
creating build/lib.darwin-7.5.0-Power_Macintosh-2.3
copying CompatMysqldb.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3
copying _mysql_exceptions.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3
creating build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/__init__.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/converters.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/connections.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/cursors.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/sets.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/times.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/stringtimes.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/mxdatetimes.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
copying MySQLdb/pytimes.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb
creating build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.darwin-7.5.0-Power_Macintosh-2.3/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.darwin-7.5.0-Power_Macintosh-2.3
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/sw/include -I/usr/local/include/python2.3 -c _mysql.c -o build/temp.darwin-7.5.0-Power_Macintosh-2.3/_mysql.o
_mysql.c:41:19: mysql.h: No such file or directory
_mysql.c:42:26: mysqld_error.h: No such file or directory
_mysql.c:43:20: errmsg.h: No such file or directory
_mysql.c:73: error: parse error before "MYSQL"
_mysql.c:73: warning: no semicolon at end of struct or union
_mysql.c:76: error: parse error before '}' token
_mysql.c:76: warning: type defaults to `int' in declaration of `_mysql_ConnectionObject'
_mysql.c:76: warning: data definition has no type or storage class
_mysql.c:87: error: parse error before "MYSQL_RES"
_mysql.c:87: warning: no semicolon at end of struct or union
_mysql.c:91: error: parse error before '}' token
_mysql.c:91: warning: type defaults to `int' in declaration of `_mysql_ResultObject'
_mysql.c:91: warning: data definition has no type or storage class
_mysql.c:103: error: parse error before '*' token
_mysql.c:104: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_Exception':
_mysql.c:125: warning: implicit declaration of function `mysql_errno'
_mysql.c:125: error: `c' undeclared (first use in this function)
_mysql.c:125: error: (Each undeclared identifier is reported only once
_mysql.c:125: error: for each function it appears in.)
_mysql.c:128: error: `CR_MAX_ERROR' undeclared (first use in this function)
_mysql.c:136: error: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
_mysql.c:137: error: `ER_DB_CREATE_EXISTS' undeclared (first use in this function)
_mysql.c:138: error: `ER_SYNTAX_ERROR' undeclared (first use in this function)
_mysql.c:139: error: `ER_PARSE_ERROR' undeclared (first use in this function)
_mysql.c:140: error: `ER_NO_SUCH_TABLE' undeclared (first use in this function)
_mysql.c:141: error: `ER_WRONG_DB_NAME' undeclared (first use in this function)
_mysql.c:142: error: `ER_WRONG_TABLE_NAME' undeclared (first use in this function)
_mysql.c:143: error: `ER_FIELD_SPECIFIED_TWICE' undeclared (first use in this function)
_mysql.c:144: error: `ER_INVALID_GROUP_FUNC_USE' undeclared (first use in this function)
_mysql.c:145: error: `ER_UNSUPPORTED_EXTENSION' undeclared (first use in this function)
_mysql.c:146: error: `ER_TABLE_MUST_HAVE_COLUMNS' undeclared (first use in this function)
_mysql.c:152: error: `ER_DUP_ENTRY' undeclared (first use in this function)
_mysql.c:174: warning: implicit declaration of function `mysql_error'
_mysql.c:174: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: In function `_mysql_server_init':
_mysql.c:193: warning: unused variable `s'
_mysql.c:194: warning: unused variable `cmd_argc'
_mysql.c:194: warning: unused variable `i'
_mysql.c:194: warning: unused variable `groupc'
_mysql.c:195: warning: unused variable `item'
_mysql.c:269: warning: label `finish' defined but not used
_mysql.c: At top level:
_mysql.c:319: error: parse error before '*' token
_mysql.c:322: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_Initialize':
_mysql.c:324: error: `MYSQL_RES' undeclared (first use in this function)
_mysql.c:324: error: `result' undeclared (first use in this function)
_mysql.c:325: error: `conn' undeclared (first use in this function)
_mysql.c:329: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:329: error: `fields' undeclared (first use in this function)
_mysql.c:331: error: `args' undeclared (first use in this function)
_mysql.c:331: error: `kwargs' undeclared (first use in this function)
_mysql.c:336: error: `self' undeclared (first use in this function)
_mysql.c:341: warning: implicit declaration of function `mysql_use_result'
_mysql.c:343: warning: implicit declaration of function `mysql_store_result'
_mysql.c:350: warning: implicit declaration of function `mysql_num_fields'
_mysql.c:353: warning: implicit declaration of function `mysql_fetch_fields'
_mysql.c: At top level:
_mysql.c:372: error: parse error before '*' token
_mysql.c:375: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_traverse':
_mysql.c:377: error: `self' undeclared (first use in this function)
_mysql.c:378: warning: implicit declaration of function `visit'
_mysql.c:378: error: `arg' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:387: error: parse error before '*' token
_mysql.c:388: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_clear':
_mysql.c:389: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:398: error: parse error before '*' token
_mysql.c:401: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_Initialize':
_mysql.c:402: error: `MYSQL' undeclared (first use in this function)
_mysql.c:402: error: `conn' undeclared (first use in this function)
_mysql.c:406: error: `MYSQL_PORT' undeclared (first use in this function)
_mysql.c:420: error: `self' undeclared (first use in this function)
_mysql.c:423: error: `args' undeclared (first use in this function)
_mysql.c:423: error: `kwargs' undeclared (first use in this function)
_mysql.c:444: warning: implicit declaration of function `mysql_init'
_mysql.c:447: warning: implicit declaration of function `mysql_options'
_mysql.c:447: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
_mysql.c:451: error: `MYSQL_OPT_COMPRESS' undeclared (first use in this function)
_mysql.c:452: error: `CLIENT_COMPRESS' undeclared (first use in this function)
_mysql.c:455: error: `MYSQL_OPT_NAMED_PIPE' undeclared (first use in this function)
_mysql.c:457: error: `MYSQL_INIT_COMMAND' undeclared (first use in this function)
_mysql.c:459: error: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function)
_mysql.c:461: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
_mysql.c:462: warning: implicit declaration of function `mysql_real_connect'
_mysql.c: In function `_mysql_connect':
_mysql.c:508: error: `c' undeclared (first use in this function)
_mysql.c:510: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:521: error: parse error before '*' token
_mysql.c:524: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_traverse':
_mysql.c:525: error: `self' undeclared (first use in this function)
_mysql.c:526: error: `arg' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:532: error: parse error before '*' token
_mysql.c:533: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_clear':
_mysql.c:534: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:544: error: parse error before '*' token
_mysql.c:546: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_close':
_mysql.c:547: error: `args' undeclared (first use in this function)
_mysql.c:549: error: `self' undeclared (first use in this function)
_mysql.c:551: warning: implicit declaration of function `mysql_close'
_mysql.c: At top level:
_mysql.c:567: error: parse error before '*' token
_mysql.c:569: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_affected_rows':
_mysql.c:570: error: `args' undeclared (first use in this function)
_mysql.c:571: error: `self' undeclared (first use in this function)
_mysql.c:572: warning: implicit declaration of function `mysql_affected_rows'
_mysql.c: In function `_mysql_debug':
_mysql.c:588: warning: implicit declaration of function `mysql_debug'
_mysql.c: At top level:
_mysql.c:601: error: parse error before '*' token
_mysql.c:603: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_dump_debug_info':
_mysql.c:605: error: `args' undeclared (first use in this function)
_mysql.c:606: error: `self' undeclared (first use in this function)
_mysql.c:608: warning: implicit declaration of function `mysql_dump_debug_info'
_mysql.c: At top level:
_mysql.c:623: error: parse error before '*' token
_mysql.c:625: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_errno':
_mysql.c:626: error: `args' undeclared (first use in this function)
_mysql.c:627: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:639: error: parse error before '*' token
_mysql.c:641: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_error':
_mysql.c:642: error: `args' undeclared (first use in this function)
_mysql.c:643: error: `self' undeclared (first use in this function)
_mysql.c:644: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:657: error: parse error before '*' token
_mysql.c:659: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_escape_string':
_mysql.c:663: error: `args' undeclared (first use in this function)
_mysql.c:668: warning: implicit declaration of function `mysql_escape_string'
_mysql.c: At top level:
_mysql.c:694: error: parse error before '*' token
_mysql.c:696: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_string_literal':
_mysql.c:700: error: `args' undeclared (first use in this function)
_mysql.c: In function `_mysql_escape':
_mysql.c:779: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:855: error: parse error before '*' token
_mysql.c:857: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_describe':
_mysql.c:859: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:859: error: `fields' undeclared (first use in this function)
_mysql.c:861: error: `args' undeclared (first use in this function)
_mysql.c:862: error: parse error before ')' token
_mysql.c:862: error: parse error before ')' token
_mysql.c:863: error: `self' undeclared (first use in this function)
_mysql.c:875: warning: implicit declaration of function `IS_NOT_NULL'
_mysql.c: At top level:
_mysql.c:891: error: parse error before '*' token
_mysql.c:893: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_field_flags':
_mysql.c:895: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:895: error: `fields' undeclared (first use in this function)
_mysql.c:897: error: `args' undeclared (first use in this function)
_mysql.c:898: error: parse error before ')' token
_mysql.c:898: error: parse error before ')' token
_mysql.c:899: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:940: error: parse error before '*' token
_mysql.c:942: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_tuple':
_mysql.c:947: error: `self' undeclared (first use in this function)
_mysql.c:949: warning: implicit declaration of function `mysql_fetch_lengths'
_mysql.c:949: warning: assignment makes pointer from integer without a cast
_mysql.c:953: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:965: error: parse error before '*' token
_mysql.c:967: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_dict':
_mysql.c:971: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:971: error: `fields' undeclared (first use in this function)
_mysql.c:973: error: `self' undeclared (first use in this function)
_mysql.c:975: warning: assignment makes pointer from integer without a cast
_mysql.c:980: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1004: error: parse error before '*' token
_mysql.c:1006: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_dict_old':
_mysql.c:1010: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:1010: error: `fields' undeclared (first use in this function)
_mysql.c:1012: error: `self' undeclared (first use in this function)
_mysql.c:1014: warning: assignment makes pointer from integer without a cast
_mysql.c:1019: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1041: error: parse error before '*' token
_mysql.c:1041: warning: function declaration isn't a prototype
_mysql.c:1045: error: parse error before '*' token
_mysql.c:1050: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql__fetch_row':
_mysql.c:1052: error: `MYSQL_ROW' undeclared (first use in this function)
_mysql.c:1052: error: parse error before "row"
_mysql.c:1054: error: `skiprows' undeclared (first use in this function)
_mysql.c:1054: error: `maxrows' undeclared (first use in this function)
_mysql.c:1056: error: `self' undeclared (first use in this function)
_mysql.c:1057: error: `row' undeclared (first use in this function)
_mysql.c:1057: warning: implicit declaration of function `mysql_fetch_row'
_mysql.c:1063: error: parse error before ')' token
_mysql.c:1064: error: parse error before ')' token
_mysql.c:1068: error: `r' undeclared (first use in this function)
_mysql.c:1071: warning: implicit declaration of function `convert_row'
_mysql.c:1071: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1091: error: parse error before '*' token
_mysql.c:1094: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_fetch_row':
_mysql.c:1095: error: parse error before '*' token
_mysql.c:1095: warning: function declaration isn't a prototype
_mysql.c:1107: error: `args' undeclared (first use in this function)
_mysql.c:1107: error: `kwargs' undeclared (first use in this function)
_mysql.c:1110: error: parse error before ')' token
_mysql.c:1110: error: parse error before ')' token
_mysql.c:1118: error: `self' undeclared (first use in this function)
_mysql.c:1136: warning: implicit declaration of function `mysql_num_rows'
_mysql.c: At top level:
_mysql.c:1198: error: parse error before '*' token
_mysql.c:1200: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_character_set_name':
_mysql.c:1202: error: `args' undeclared (first use in this function)
_mysql.c:1203: error: `self' undeclared (first use in this function)
_mysql.c: In function `_mysql_get_client_info':
_mysql.c:1222: warning: implicit declaration of function `mysql_get_client_info'
_mysql.c:1222: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1232: error: parse error before '*' token
_mysql.c:1234: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_host_info':
_mysql.c:1235: error: `args' undeclared (first use in this function)
_mysql.c:1236: error: `self' undeclared (first use in this function)
_mysql.c:1237: warning: implicit declaration of function `mysql_get_host_info'
_mysql.c:1237: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1247: error: parse error before '*' token
_mysql.c:1249: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_proto_info':
_mysql.c:1250: error: `args' undeclared (first use in this function)
_mysql.c:1251: error: `self' undeclared (first use in this function)
_mysql.c:1252: warning: implicit declaration of function `mysql_get_proto_info'
_mysql.c: At top level:
_mysql.c:1262: error: parse error before '*' token
_mysql.c:1264: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_server_info':
_mysql.c:1265: error: `args' undeclared (first use in this function)
_mysql.c:1266: error: `self' undeclared (first use in this function)
_mysql.c:1267: warning: implicit declaration of function `mysql_get_server_info'
_mysql.c:1267: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1278: error: parse error before '*' token
_mysql.c:1280: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_info':
_mysql.c:1282: error: `args' undeclared (first use in this function)
_mysql.c:1283: error: `self' undeclared (first use in this function)
_mysql.c:1284: warning: implicit declaration of function `mysql_info'
_mysql.c:1284: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1313: error: parse error before '*' token
_mysql.c:1315: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_insert_id':
_mysql.c:1316: error: `my_ulonglong' undeclared (first use in this function)
_mysql.c:1316: error: parse error before "r"
_mysql.c:1317: error: `args' undeclared (first use in this function)
_mysql.c:1318: error: `self' undeclared (first use in this function)
_mysql.c:1320: error: `r' undeclared (first use in this function)
_mysql.c:1320: warning: implicit declaration of function `mysql_insert_id'
_mysql.c: At top level:
_mysql.c:1331: error: parse error before '*' token
_mysql.c:1333: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_kill':
_mysql.c:1336: error: `args' undeclared (first use in this function)
_mysql.c:1337: error: `self' undeclared (first use in this function)
_mysql.c:1339: warning: implicit declaration of function `mysql_kill'
_mysql.c: At top level:
_mysql.c:1354: error: parse error before '*' token
_mysql.c:1356: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_field_count':
_mysql.c:1357: error: `args' undeclared (first use in this function)
_mysql.c:1358: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1371: error: parse error before '*' token
_mysql.c:1373: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_num_fields':
_mysql.c:1374: error: `args' undeclared (first use in this function)
_mysql.c:1375: error: parse error before ')' token
_mysql.c:1375: error: parse error before ')' token
_mysql.c:1376: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1387: error: parse error before '*' token
_mysql.c:1389: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_num_rows':
_mysql.c:1390: error: `args' undeclared (first use in this function)
_mysql.c:1391: error: parse error before ')' token
_mysql.c:1391: error: parse error before ')' token
_mysql.c:1392: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1409: error: parse error before '*' token
_mysql.c:1411: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_ping':
_mysql.c:1413: error: `args' undeclared (first use in this function)
_mysql.c:1414: error: `self' undeclared (first use in this function)
_mysql.c:1416: warning: implicit declaration of function `mysql_ping'
_mysql.c: At top level:
_mysql.c:1431: error: parse error before '*' token
_mysql.c:1433: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_query':
_mysql.c:1436: error: `args' undeclared (first use in this function)
_mysql.c:1437: error: `self' undeclared (first use in this function)
_mysql.c:1439: warning: implicit declaration of function `mysql_real_query'
_mysql.c: At top level:
_mysql.c:1461: error: parse error before '*' token
_mysql.c:1463: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_select_db':
_mysql.c:1466: error: `args' undeclared (first use in this function)
_mysql.c:1467: error: `self' undeclared (first use in this function)
_mysql.c:1469: warning: implicit declaration of function `mysql_select_db'
_mysql.c: At top level:
_mysql.c:1483: error: parse error before '*' token
_mysql.c:1485: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_shutdown':
_mysql.c:1487: error: `args' undeclared (first use in this function)
_mysql.c:1488: error: `self' undeclared (first use in this function)
_mysql.c:1490: warning: implicit declaration of function `mysql_shutdown'
_mysql.c: At top level:
_mysql.c:1506: error: parse error before '*' token
_mysql.c:1508: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_stat':
_mysql.c:1510: error: `args' undeclared (first use in this function)
_mysql.c:1511: error: `self' undeclared (first use in this function)
_mysql.c:1513: warning: implicit declaration of function `mysql_stat'
_mysql.c:1513: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1527: error: parse error before '*' token
_mysql.c:1529: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_store_result':
_mysql.c:1531: error: `r' undeclared (first use in this function)
_mysql.c:1533: error: `args' undeclared (first use in this function)
_mysql.c:1534: error: `self' undeclared (first use in this function)
_mysql.c:1539: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:1568: error: parse error before '*' token
_mysql.c:1570: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_thread_id':
_mysql.c:1572: error: `args' undeclared (first use in this function)
_mysql.c:1573: error: `self' undeclared (first use in this function)
_mysql.c:1575: warning: implicit declaration of function `mysql_thread_id'
_mysql.c: At top level:
_mysql.c:1588: error: parse error before '*' token
_mysql.c:1590: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_use_result':
_mysql.c:1592: error: `r' undeclared (first use in this function)
_mysql.c:1594: error: `args' undeclared (first use in this function)
_mysql.c:1595: error: `self' undeclared (first use in this function)
_mysql.c:1600: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:1618: error: parse error before '*' token
_mysql.c:1619: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_dealloc':
_mysql.c:1622: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1632: error: parse error before '*' token
_mysql.c:1633: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_repr':
_mysql.c:1635: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1649: error: parse error before '*' token
_mysql.c:1651: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_data_seek':
_mysql.c:1653: error: `args' undeclared (first use in this function)
_mysql.c:1654: error: parse error before ')' token
_mysql.c:1654: error: parse error before ')' token
_mysql.c:1655: warning: implicit declaration of function `mysql_data_seek'
_mysql.c:1655: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1664: error: parse error before '*' token
_mysql.c:1666: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_row_seek':
_mysql.c:1668: error: `MYSQL_ROW_OFFSET' undeclared (first use in this function)
_mysql.c:1668: error: parse error before "r"
_mysql.c:1669: error: `args' undeclared (first use in this function)
_mysql.c:1670: error: parse error before ')' token
_mysql.c:1670: error: parse error before ')' token
_mysql.c:1671: error: `r' undeclared (first use in this function)
_mysql.c:1671: warning: implicit declaration of function `mysql_row_tell'
_mysql.c:1671: error: `self' undeclared (first use in this function)
_mysql.c:1672: warning: implicit declaration of function `mysql_row_seek'
_mysql.c: At top level:
_mysql.c:1681: error: parse error before '*' token
_mysql.c:1683: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_row_tell':
_mysql.c:1684: error: `MYSQL_ROW_OFFSET' undeclared (first use in this function)
_mysql.c:1684: error: parse error before "r"
_mysql.c:1685: error: `args' undeclared (first use in this function)
_mysql.c:1686: error: parse error before ')' token
_mysql.c:1686: error: parse error before ')' token
_mysql.c:1687: error: `r' undeclared (first use in this function)
_mysql.c:1687: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1693: error: parse error before '*' token
_mysql.c:1694: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_dealloc':
_mysql.c:1695: error: `self' undeclared (first use in this function)
_mysql.c:1696: warning: implicit declaration of function `mysql_free_result'
_mysql.c: At top level:
_mysql.c:1703: error: parse error before '*' token
_mysql.c:1704: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_repr':
_mysql.c:1707: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1873: error: parse error before ')' token
_mysql.c:1873: error: initializer element is not constant
_mysql.c:1873: error: (near initialization for `_mysql_ConnectionObject_memberlist[0].offset')
_mysql.c:1873: error: initializer element is not constant
_mysql.c:1873: error: (near initialization for `_mysql_ConnectionObject_memberlist[0]')
_mysql.c:1880: error: parse error before ')' token
_mysql.c:1880: error: initializer element is not constant
_mysql.c:1880: error: (near initialization for `_mysql_ConnectionObject_memberlist[1].offset')
_mysql.c:1880: error: initializer element is not constant
_mysql.c:1880: error: (near initialization for `_mysql_ConnectionObject_memberlist[1]')
_mysql.c:1887: error: parse error before ')' token
_mysql.c:1887: error: initializer element is not constant
_mysql.c:1887: error: (near initialization for `_mysql_ConnectionObject_memberlist[2].offset')
_mysql.c:1887: error: initializer element is not constant
_mysql.c:1887: error: (near initialization for `_mysql_ConnectionObject_memberlist[2]')
_mysql.c:1894: error: parse error before ')' token
_mysql.c:1894: error: initializer element is not constant
_mysql.c:1894: error: (near initialization for `_mysql_ConnectionObject_memberlist[3].offset')
_mysql.c:1894: error: initializer element is not constant
_mysql.c:1894: error: (near initialization for `_mysql_ConnectionObject_memberlist[3]')
_mysql.c:1901: error: parse error before ')' token
_mysql.c:1901: error: initializer element is not constant
_mysql.c:1901: error: (near initialization for `_mysql_ConnectionObject_memberlist[4].flags')
_mysql.c:1901: error: initializer element is not constant
_mysql.c:1901: error: (near initialization for `_mysql_ConnectionObject_memberlist[4]')
_mysql.c:1902: error: initializer element is not constant
_mysql.c:1902: error: (near initialization for `_mysql_ConnectionObject_memberlist[5]')
_mysql.c:1964: error: parse error before ')' token
_mysql.c:1964: error: initializer element is not constant
_mysql.c:1964: error: (near initialization for `_mysql_ResultObject_memberlist[0].offset')
_mysql.c:1964: error: initializer element is not constant
_mysql.c:1964: error: (near initialization for `_mysql_ResultObject_memberlist[0]')
_mysql.c:1965: error: initializer element is not constant
_mysql.c:1965: error: (near initialization for `_mysql_ResultObject_memberlist[1]')
_mysql.c:1970: error: parse error before '*' token
_mysql.c:1972: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_getattr':
_mysql.c:1975: error: `self' undeclared (first use in this function)
_mysql.c:1975: error: `name' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1998: error: parse error before '*' token
_mysql.c:2000: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_getattr':
_mysql.c:2003: error: `self' undeclared (first use in this function)
_mysql.c:2003: error: `name' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2024: error: parse error before '*' token
_mysql.c:2027: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_setattr':
_mysql.c:2028: error: `v' undeclared (first use in this function)
_mysql.c:2039: error: `name' undeclared (first use in this function)
_mysql.c:2040: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2049: error: parse error before '*' token
_mysql.c:2052: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_setattr':
_mysql.c:2053: error: `v' undeclared (first use in this function)
_mysql.c:2064: error: `name' undeclared (first use in this function)
_mysql.c:2065: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:180: warning: `_mysql_server_init__doc__' defined but not used
_mysql.c:191: warning: `_mysql_server_init' defined but not used
_mysql.c:275: warning: `_mysql_server_end__doc__' defined but not used
_mysql.c:281: warning: `_mysql_server_end' defined but not used
error: command 'gcc' failed with exit status 1


More information about the Zope-DB mailing list