[BioPython] MySQLdb for Mac OS X

Jose Sepulveda Sanchis Jose.Sepulveda.Sanchis at cgb.ki.se
Thu Jan 15 18:38:56 EST 2004


hi I'm trying to instal MYSQLdb in mac os X 
I have followed this instrutions for mac os x

# set this to YES if you have the thread-safe mysqlclient library
thread_safe_library = NO

...

# include files and library locations should cover most platforms
include_dirs = [
     '/usr/include/mysql',
     '/usr/local/include/mysql',
     '/usr/local/mysql/include',  # added by RO for MacOS X
     '/usr/local/mysql/include/mysql' # is this real? it looks suspicious
     ]
library_dirs = [
     '/usr/lib/mysql',
     '/usr/local/lib/mysql',
     '/usr/local/mysql/lib',  # added by RO for MacOS X
     '/usr/local/mysql/lib/mysql' # is this real? it looks suspicious
     ]


but I still get an error the error is like this
can anyone help me 


running build
running build_py
running build_ext
building '_mysql' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/local/mysql/include/mysql -I/sw/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c _mysql.c -o build/temp.darwin-7.2.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:96: error: parse error before '*' token
_mysql.c:97: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_Exception':
_mysql.c:102: error: `c' undeclared (first use in this function)
_mysql.c:102: error: (Each undeclared identifier is reported only once
_mysql.c:102: error: for each function it appears in.)
_mysql.c:110: warning: implicit declaration of function `mysql_errno'
_mysql.c:113: error: `CR_MAX_ERROR' undeclared (first use in this function)
_mysql.c:121: error: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
_mysql.c:122: error: `ER_DB_CREATE_EXISTS' undeclared (first use in this function)
_mysql.c:123: error: `ER_SYNTAX_ERROR' undeclared (first use in this function)
_mysql.c:124: error: `ER_PARSE_ERROR' undeclared (first use in this function)
_mysql.c:125: error: `ER_NO_SUCH_TABLE' undeclared (first use in this function)
_mysql.c:126: error: `ER_WRONG_DB_NAME' undeclared (first use in this function)
_mysql.c:127: error: `ER_WRONG_TABLE_NAME' undeclared (first use in this function)
_mysql.c:128: error: `ER_FIELD_SPECIFIED_TWICE' undeclared (first use in this function)
_mysql.c:129: error: `ER_INVALID_GROUP_FUNC_USE' undeclared (first use in this function)
_mysql.c:130: error: `ER_UNSUPPORTED_EXTENSION' undeclared (first use in this function)
_mysql.c:131: error: `ER_TABLE_MUST_HAVE_COLUMNS' undeclared (first use in this function)
_mysql.c:137: error: `ER_DUP_ENTRY' undeclared (first use in this function)
_mysql.c:159: warning: implicit declaration of function `mysql_error'
_mysql.c:159: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:190: error: parse error before '*' token
_mysql.c:193: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_Initialize':
_mysql.c:195: error: `MYSQL_RES' undeclared (first use in this function)
_mysql.c:195: error: `result' undeclared (first use in this function)
_mysql.c:196: error: `conn' undeclared (first use in this function)
_mysql.c:200: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:200: error: `fields' undeclared (first use in this function)
_mysql.c:202: error: `args' undeclared (first use in this function)
_mysql.c:202: error: `kwargs' undeclared (first use in this function)
_mysql.c:207: error: `self' undeclared (first use in this function)
_mysql.c:212: warning: implicit declaration of function `mysql_use_result'
_mysql.c:214: warning: implicit declaration of function `mysql_store_result'
_mysql.c:221: warning: implicit declaration of function `mysql_num_fields'
_mysql.c:224: warning: implicit declaration of function `mysql_fetch_fields'
_mysql.c: At top level:
_mysql.c:243: error: parse error before '*' token
_mysql.c:246: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_traverse':
_mysql.c:248: error: `self' undeclared (first use in this function)
_mysql.c:249: warning: implicit declaration of function `visit'
_mysql.c:249: error: `arg' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:258: error: parse error before '*' token
_mysql.c:259: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_clear':
_mysql.c:260: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:269: error: parse error before '*' token
_mysql.c:272: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_Initialize':
_mysql.c:273: error: `MYSQL' undeclared (first use in this function)
_mysql.c:273: error: `conn' undeclared (first use in this function)
_mysql.c:277: error: `MYSQL_PORT' undeclared (first use in this function)
_mysql.c:291: error: `self' undeclared (first use in this function)
_mysql.c:293: error: `args' undeclared (first use in this function)
_mysql.c:293: error: `kwargs' undeclared (first use in this function)
_mysql.c:315: warning: implicit declaration of function `mysql_init'
_mysql.c:318: warning: implicit declaration of function `mysql_options'
_mysql.c:318: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
_mysql.c:322: error: `MYSQL_OPT_COMPRESS' undeclared (first use in this function)
_mysql.c:323: error: `CLIENT_COMPRESS' undeclared (first use in this function)
_mysql.c:326: error: `MYSQL_OPT_NAMED_PIPE' undeclared (first use in this function)
_mysql.c:328: error: `MYSQL_INIT_COMMAND' undeclared (first use in this function)
_mysql.c:330: error: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function)
_mysql.c:332: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
_mysql.c:333: warning: implicit declaration of function `mysql_real_connect'
_mysql.c: In function `_mysql_connect':
_mysql.c:378: error: `c' undeclared (first use in this function)
_mysql.c:380: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:391: error: parse error before '*' token
_mysql.c:394: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_traverse':
_mysql.c:395: error: `self' undeclared (first use in this function)
_mysql.c:396: error: `arg' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:402: error: parse error before '*' token
_mysql.c:403: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_clear':
_mysql.c:404: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:414: error: parse error before '*' token
_mysql.c:416: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_close':
_mysql.c:417: error: `args' undeclared (first use in this function)
_mysql.c:418: error: `self' undeclared (first use in this function)
_mysql.c:420: warning: implicit declaration of function `mysql_close'
_mysql.c: At top level:
_mysql.c:436: error: parse error before '*' token
_mysql.c:438: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_affected_rows':
_mysql.c:439: error: `args' undeclared (first use in this function)
_mysql.c:440: error: `self' undeclared (first use in this function)
_mysql.c:441: warning: implicit declaration of function `mysql_affected_rows'
_mysql.c: In function `_mysql_debug':
_mysql.c:457: warning: implicit declaration of function `mysql_debug'
_mysql.c: At top level:
_mysql.c:470: error: parse error before '*' token
_mysql.c:472: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_dump_debug_info':
_mysql.c:474: error: `args' undeclared (first use in this function)
_mysql.c:475: error: `self' undeclared (first use in this function)
_mysql.c:477: warning: implicit declaration of function `mysql_dump_debug_info'
_mysql.c: At top level:
_mysql.c:492: error: parse error before '*' token
_mysql.c:494: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_errno':
_mysql.c:495: error: `args' undeclared (first use in this function)
_mysql.c:496: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:508: error: parse error before '*' token
_mysql.c:510: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_error':
_mysql.c:511: error: `args' undeclared (first use in this function)
_mysql.c:512: error: `self' undeclared (first use in this function)
_mysql.c:513: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:526: error: parse error before '*' token
_mysql.c:528: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_escape_string':
_mysql.c:532: error: `args' undeclared (first use in this function)
_mysql.c:537: warning: implicit declaration of function `mysql_escape_string'
_mysql.c: At top level:
_mysql.c:562: error: parse error before '*' token
_mysql.c:564: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_string_literal':
_mysql.c:568: error: `args' undeclared (first use in this function)
_mysql.c: In function `_mysql_escape':
_mysql.c:646: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:722: error: parse error before '*' token
_mysql.c:724: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_describe':
_mysql.c:726: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:726: error: `fields' undeclared (first use in this function)
_mysql.c:728: error: `args' undeclared (first use in this function)
_mysql.c:729: error: parse error before ')' token
_mysql.c:729: error: parse error before ')' token
_mysql.c:730: error: `self' undeclared (first use in this function)
_mysql.c:742: warning: implicit declaration of function `IS_NOT_NULL'
_mysql.c: At top level:
_mysql.c:758: error: parse error before '*' token
_mysql.c:760: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_field_flags':
_mysql.c:762: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:762: error: `fields' undeclared (first use in this function)
_mysql.c:764: error: `args' undeclared (first use in this function)
_mysql.c:765: error: parse error before ')' token
_mysql.c:765: error: parse error before ')' token
_mysql.c:766: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:807: error: parse error before '*' token
_mysql.c:809: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_tuple':
_mysql.c:814: error: `self' undeclared (first use in this function)
_mysql.c:816: warning: implicit declaration of function `mysql_fetch_lengths'
_mysql.c:816: warning: assignment makes pointer from integer without a cast
_mysql.c:820: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:832: error: parse error before '*' token
_mysql.c:834: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_dict':
_mysql.c:838: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:838: error: `fields' undeclared (first use in this function)
_mysql.c:840: error: `self' undeclared (first use in this function)
_mysql.c:842: warning: assignment makes pointer from integer without a cast
_mysql.c:847: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:871: error: parse error before '*' token
_mysql.c:873: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_row_to_dict_old':
_mysql.c:877: error: `MYSQL_FIELD' undeclared (first use in this function)
_mysql.c:877: error: `fields' undeclared (first use in this function)
_mysql.c:879: error: `self' undeclared (first use in this function)
_mysql.c:881: warning: assignment makes pointer from integer without a cast
_mysql.c:886: error: `row' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:908: error: parse error before '*' token
_mysql.c:908: warning: function declaration isn't a prototype
_mysql.c:912: error: parse error before '*' token
_mysql.c:917: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql__fetch_row':
_mysql.c:919: error: `MYSQL_ROW' undeclared (first use in this function)
_mysql.c:919: error: parse error before "row"
_mysql.c:921: error: `skiprows' undeclared (first use in this function)
_mysql.c:921: error: `maxrows' undeclared (first use in this function)
_mysql.c:923: error: `self' undeclared (first use in this function)
_mysql.c:924: error: `row' undeclared (first use in this function)
_mysql.c:924: warning: implicit declaration of function `mysql_fetch_row'
_mysql.c:930: error: parse error before ')' token
_mysql.c:931: error: parse error before ')' token
_mysql.c:935: error: `r' undeclared (first use in this function)
_mysql.c:938: warning: implicit declaration of function `convert_row'
_mysql.c:938: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:958: error: parse error before '*' token
_mysql.c:961: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_fetch_row':
_mysql.c:962: error: parse error before '*' token
_mysql.c:962: warning: function declaration isn't a prototype
_mysql.c:974: error: `args' undeclared (first use in this function)
_mysql.c:974: error: `kwargs' undeclared (first use in this function)
_mysql.c:977: error: parse error before ')' token
_mysql.c:977: error: parse error before ')' token
_mysql.c:985: error: `self' undeclared (first use in this function)
_mysql.c:1003: warning: implicit declaration of function `mysql_num_rows'
_mysql.c: At top level:
_mysql.c:1065: error: parse error before '*' token
_mysql.c:1067: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_character_set_name':
_mysql.c:1069: error: `args' undeclared (first use in this function)
_mysql.c:1070: error: `self' undeclared (first use in this function)
_mysql.c: In function `_mysql_get_client_info':
_mysql.c:1088: warning: implicit declaration of function `mysql_get_client_info'
_mysql.c:1088: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1098: error: parse error before '*' token
_mysql.c:1100: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_host_info':
_mysql.c:1101: error: `args' undeclared (first use in this function)
_mysql.c:1102: error: `self' undeclared (first use in this function)
_mysql.c:1103: warning: implicit declaration of function `mysql_get_host_info'
_mysql.c:1103: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1113: error: parse error before '*' token
_mysql.c:1115: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_proto_info':
_mysql.c:1116: error: `args' undeclared (first use in this function)
_mysql.c:1117: error: `self' undeclared (first use in this function)
_mysql.c:1118: warning: implicit declaration of function `mysql_get_proto_info'
_mysql.c: At top level:
_mysql.c:1128: error: parse error before '*' token
_mysql.c:1130: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_get_server_info':
_mysql.c:1131: error: `args' undeclared (first use in this function)
_mysql.c:1132: error: `self' undeclared (first use in this function)
_mysql.c:1133: warning: implicit declaration of function `mysql_get_server_info'
_mysql.c:1133: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1144: error: parse error before '*' token
_mysql.c:1146: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_info':
_mysql.c:1148: error: `args' undeclared (first use in this function)
_mysql.c:1149: error: `self' undeclared (first use in this function)
_mysql.c:1150: warning: implicit declaration of function `mysql_info'
_mysql.c:1150: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1179: error: parse error before '*' token
_mysql.c:1181: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_insert_id':
_mysql.c:1182: error: `my_ulonglong' undeclared (first use in this function)
_mysql.c:1182: error: parse error before "r"
_mysql.c:1183: error: `args' undeclared (first use in this function)
_mysql.c:1184: error: `self' undeclared (first use in this function)
_mysql.c:1186: error: `r' undeclared (first use in this function)
_mysql.c:1186: warning: implicit declaration of function `mysql_insert_id'
_mysql.c: At top level:
_mysql.c:1197: error: parse error before '*' token
_mysql.c:1199: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_kill':
_mysql.c:1202: error: `args' undeclared (first use in this function)
_mysql.c:1203: error: `self' undeclared (first use in this function)
_mysql.c:1205: warning: implicit declaration of function `mysql_kill'
_mysql.c: At top level:
_mysql.c:1220: error: parse error before '*' token
_mysql.c:1222: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_field_count':
_mysql.c:1223: error: `args' undeclared (first use in this function)
_mysql.c:1224: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1237: error: parse error before '*' token
_mysql.c:1239: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_num_fields':
_mysql.c:1240: error: `args' undeclared (first use in this function)
_mysql.c:1241: error: parse error before ')' token
_mysql.c:1241: error: parse error before ')' token
_mysql.c:1242: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1253: error: parse error before '*' token
_mysql.c:1255: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_num_rows':
_mysql.c:1256: error: `args' undeclared (first use in this function)
_mysql.c:1257: error: parse error before ')' token
_mysql.c:1257: error: parse error before ')' token
_mysql.c:1258: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1275: error: parse error before '*' token
_mysql.c:1277: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_ping':
_mysql.c:1279: error: `args' undeclared (first use in this function)
_mysql.c:1280: error: `self' undeclared (first use in this function)
_mysql.c:1282: warning: implicit declaration of function `mysql_ping'
_mysql.c: At top level:
_mysql.c:1297: error: parse error before '*' token
_mysql.c:1299: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_query':
_mysql.c:1302: error: `args' undeclared (first use in this function)
_mysql.c:1303: error: `self' undeclared (first use in this function)
_mysql.c:1305: warning: implicit declaration of function `mysql_real_query'
_mysql.c: At top level:
_mysql.c:1327: error: parse error before '*' token
_mysql.c:1329: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_select_db':
_mysql.c:1332: error: `args' undeclared (first use in this function)
_mysql.c:1333: error: `self' undeclared (first use in this function)
_mysql.c:1335: warning: implicit declaration of function `mysql_select_db'
_mysql.c: At top level:
_mysql.c:1349: error: parse error before '*' token
_mysql.c:1351: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_shutdown':
_mysql.c:1353: error: `args' undeclared (first use in this function)
_mysql.c:1354: error: `self' undeclared (first use in this function)
_mysql.c:1356: warning: implicit declaration of function `mysql_shutdown'
_mysql.c: At top level:
_mysql.c:1372: error: parse error before '*' token
_mysql.c:1374: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_stat':
_mysql.c:1376: error: `args' undeclared (first use in this function)
_mysql.c:1377: error: `self' undeclared (first use in this function)
_mysql.c:1379: warning: implicit declaration of function `mysql_stat'
_mysql.c:1379: warning: assignment makes pointer from integer without a cast
_mysql.c: At top level:
_mysql.c:1393: error: parse error before '*' token
_mysql.c:1395: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_store_result':
_mysql.c:1397: error: `r' undeclared (first use in this function)
_mysql.c:1399: error: `args' undeclared (first use in this function)
_mysql.c:1400: error: `self' undeclared (first use in this function)
_mysql.c:1405: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:1434: error: parse error before '*' token
_mysql.c:1436: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_thread_id':
_mysql.c:1438: error: `args' undeclared (first use in this function)
_mysql.c:1439: error: `self' undeclared (first use in this function)
_mysql.c:1441: warning: implicit declaration of function `mysql_thread_id'
_mysql.c: At top level:
_mysql.c:1454: error: parse error before '*' token
_mysql.c:1456: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_use_result':
_mysql.c:1458: error: `r' undeclared (first use in this function)
_mysql.c:1460: error: `args' undeclared (first use in this function)
_mysql.c:1461: error: `self' undeclared (first use in this function)
_mysql.c:1466: error: parse error before ')' token
_mysql.c: At top level:
_mysql.c:1484: error: parse error before '*' token
_mysql.c:1485: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_dealloc':
_mysql.c:1488: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1498: error: parse error before '*' token
_mysql.c:1499: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_repr':
_mysql.c:1501: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1515: error: parse error before '*' token
_mysql.c:1517: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_data_seek':
_mysql.c:1519: error: `args' undeclared (first use in this function)
_mysql.c:1520: error: parse error before ')' token
_mysql.c:1520: error: parse error before ')' token
_mysql.c:1521: warning: implicit declaration of function `mysql_data_seek'
_mysql.c:1521: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1530: error: parse error before '*' token
_mysql.c:1532: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_row_seek':
_mysql.c:1534: error: `MYSQL_ROW_OFFSET' undeclared (first use in this function)
_mysql.c:1534: error: parse error before "r"
_mysql.c:1535: error: `args' undeclared (first use in this function)
_mysql.c:1536: error: parse error before ')' token
_mysql.c:1536: error: parse error before ')' token
_mysql.c:1537: error: `r' undeclared (first use in this function)
_mysql.c:1537: warning: implicit declaration of function `mysql_row_tell'
_mysql.c:1537: error: `self' undeclared (first use in this function)
_mysql.c:1538: warning: implicit declaration of function `mysql_row_seek'
_mysql.c: At top level:
_mysql.c:1547: error: parse error before '*' token
_mysql.c:1549: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_row_tell':
_mysql.c:1550: error: `MYSQL_ROW_OFFSET' undeclared (first use in this function)
_mysql.c:1550: error: parse error before "r"
_mysql.c:1551: error: `args' undeclared (first use in this function)
_mysql.c:1552: error: parse error before ')' token
_mysql.c:1552: error: parse error before ')' token
_mysql.c:1553: error: `r' undeclared (first use in this function)
_mysql.c:1553: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1559: error: parse error before '*' token
_mysql.c:1560: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_dealloc':
_mysql.c:1561: error: `self' undeclared (first use in this function)
_mysql.c:1562: warning: implicit declaration of function `mysql_free_result'
_mysql.c: At top level:
_mysql.c:1569: error: parse error before '*' token
_mysql.c:1570: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_repr':
_mysql.c:1573: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1739: error: parse error before ')' token
_mysql.c:1739: error: initializer element is not constant
_mysql.c:1739: error: (near initialization for `_mysql_ConnectionObject_memberlist[0].offset')
_mysql.c:1739: error: initializer element is not constant
_mysql.c:1739: error: (near initialization for `_mysql_ConnectionObject_memberlist[0]')
_mysql.c:1746: error: parse error before ')' token
_mysql.c:1746: error: initializer element is not constant
_mysql.c:1746: error: (near initialization for `_mysql_ConnectionObject_memberlist[1].offset')
_mysql.c:1746: error: initializer element is not constant
_mysql.c:1746: error: (near initialization for `_mysql_ConnectionObject_memberlist[1]')
_mysql.c:1753: error: parse error before ')' token
_mysql.c:1753: error: initializer element is not constant
_mysql.c:1753: error: (near initialization for `_mysql_ConnectionObject_memberlist[2].offset')
_mysql.c:1753: error: initializer element is not constant
_mysql.c:1753: error: (near initialization for `_mysql_ConnectionObject_memberlist[2]')
_mysql.c:1760: error: parse error before ')' token
_mysql.c:1760: error: initializer element is not constant
_mysql.c:1760: error: (near initialization for `_mysql_ConnectionObject_memberlist[3].offset')
_mysql.c:1760: error: initializer element is not constant
_mysql.c:1760: error: (near initialization for `_mysql_ConnectionObject_memberlist[3]')
_mysql.c:1767: error: parse error before ')' token
_mysql.c:1767: error: initializer element is not constant
_mysql.c:1767: error: (near initialization for `_mysql_ConnectionObject_memberlist[4].flags')
_mysql.c:1767: error: initializer element is not constant
_mysql.c:1767: error: (near initialization for `_mysql_ConnectionObject_memberlist[4]')
_mysql.c:1768: error: initializer element is not constant
_mysql.c:1768: error: (near initialization for `_mysql_ConnectionObject_memberlist[5]')
_mysql.c:1830: error: parse error before ')' token
_mysql.c:1830: error: initializer element is not constant
_mysql.c:1830: error: (near initialization for `_mysql_ResultObject_memberlist[0].offset')
_mysql.c:1830: error: initializer element is not constant
_mysql.c:1830: error: (near initialization for `_mysql_ResultObject_memberlist[0]')
_mysql.c:1831: error: initializer element is not constant
_mysql.c:1831: error: (near initialization for `_mysql_ResultObject_memberlist[1]')
_mysql.c:1836: error: parse error before '*' token
_mysql.c:1838: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_getattr':
_mysql.c:1841: error: `self' undeclared (first use in this function)
_mysql.c:1841: error: `name' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1859: error: parse error before '*' token
_mysql.c:1861: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_getattr':
_mysql.c:1864: error: `self' undeclared (first use in this function)
_mysql.c:1864: error: `name' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1880: error: parse error before '*' token
_mysql.c:1883: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_setattr':
_mysql.c:1884: error: `v' undeclared (first use in this function)
_mysql.c:1895: error: `name' undeclared (first use in this function)
_mysql.c:1896: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1905: error: parse error before '*' token
_mysql.c:1908: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ResultObject_setattr':
_mysql.c:1909: error: `v' undeclared (first use in this function)
_mysql.c:1920: error: `name' undeclared (first use in this function)
_mysql.c:1921: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:2007: warning: initialization from incompatible pointer type
_mysql.c:2096: warning: initialization from incompatible pointer type
error: command 'gcc' failed with exit status 1





More information about the BioPython mailing list