Re: errors making DBD::mysql on AIX 5.2
Posted by: hu h-gen
Date: July 03, 2007 11:17PM
Date: July 03, 2007 11:17PM
Below is my problem with DBD-mysql4.005 with mysql5.19beta
***************************
DBD-mysql-4.005]# perl Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.58 (for perl 5.008008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
----------------------------make
DBD-mysql-4.005]# make
gcc -c -I/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:24:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:143: error: expected specifier-qualifier-list before ‘MYSQL’
dbdimp.h:236: error: expected specifier-qualifier-list before ‘MYSQL_RES’
In file included from dbdimp.c:20:
dbdimp.h:293: error: expected ‘)’ before ‘*’ token
dbdimp.h:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.h:328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c:405: error: expected ‘)’ before ‘*’ token
dbdimp.c:621: error: ‘FIELD_TYPE_VAR_STRING’ undeclared here (not in a function)
dbdimp.c:631: error: ‘FIELD_TYPE_DECIMAL’ undeclared here (not in a function)
dbdimp.c:641: error: ‘FIELD_TYPE_TINY’ undeclared here (not in a function)
dbdimp.c:651: error: ‘FIELD_TYPE_SHORT’ undeclared here (not in a function)
dbdimp.c:661: error: ‘FIELD_TYPE_LONG’ undeclared here (not in a function)
dbdimp.c:671: error: ‘FIELD_TYPE_FLOAT’ undeclared here (not in a function)
dbdimp.c:681: error: ‘FIELD_TYPE_DOUBLE’ undeclared here (not in a function)
dbdimp.c:704: error: ‘FIELD_TYPE_TIMESTAMP’ undeclared here (not in a function)
dbdimp.c:714: error: ‘FIELD_TYPE_LONGLONG’ undeclared here (not in a function)
dbdimp.c:724: error: ‘FIELD_TYPE_INT24’ undeclared here (not in a function)
dbdimp.c:734: error: ‘FIELD_TYPE_DATE’ undeclared here (not in a function)
dbdimp.c:744: error: ‘FIELD_TYPE_TIME’ undeclared here (not in a function)
dbdimp.c:754: error: ‘FIELD_TYPE_DATETIME’ undeclared here (not in a function)
dbdimp.c:764: error: ‘FIELD_TYPE_YEAR’ undeclared here (not in a function)
dbdimp.c:774: error: ‘FIELD_TYPE_NEWDATE’ undeclared here (not in a function)
dbdimp.c:784: error: ‘FIELD_TYPE_ENUM’ undeclared here (not in a function)
dbdimp.c:794: error: ‘FIELD_TYPE_SET’ undeclared here (not in a function)
dbdimp.c:804: error: ‘FIELD_TYPE_BLOB’ undeclared here (not in a function)
dbdimp.c:814: error: ‘FIELD_TYPE_TINY_BLOB’ undeclared here (not in a function)
dbdimp.c:824: error: ‘FIELD_TYPE_MEDIUM_BLOB’ undeclared here (not in a function)
dbdimp.c:834: error: ‘FIELD_TYPE_LONG_BLOB’ undeclared here (not in a function)
dbdimp.c:844: error: ‘FIELD_TYPE_STRING’ undeclared here (not in a function)
dbdimp.c: In function ‘mysql_dr_error’:
dbdimp.c:1232: warning: unused variable ‘errstate’
dbdimp.c: At top level:
dbdimp.c:1311: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c: In function ‘my_login’:
dbdimp.c:1752: warning: implicit declaration of function ‘mysql_dr_connect’
dbdimp.c:1752: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:1789: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1789: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:1789: warning: statement with no effect
dbdimp.c:1790: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1790: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:1790: warning: statement with no effect
dbdimp.c:1791: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:1791: warning: statement with no effect
dbdimp.c:1792: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1792: warning: statement with no effect
dbdimp.c:1794: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:1794: warning: statement with no effect
dbdimp.c:1802: warning: implicit declaration of function ‘mysql_errno’
dbdimp.c:1802: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1803: warning: implicit declaration of function ‘mysql_error’
dbdimp.c:1803: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1803: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_commit’:
dbdimp.c:1840: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1843: warning: implicit declaration of function ‘mysql_real_query’
dbdimp.c:1843: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1848: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1848: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1849: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_rollback’:
dbdimp.c:1868: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1871: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1876: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1877: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1877: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_disconnect’:
dbdimp.c:1914: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1915: warning: implicit declaration of function ‘mysql_close’
dbdimp.c:1915: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘dbd_discon_all’:
dbdimp.c:1965: warning: implicit declaration of function ‘mysql_server_end’
dbdimp.c:1941: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_db_destroy’:
dbdimp.c:2002: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2006: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2051: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2073: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2081: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2105: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2105: warning: statement with no effect
dbdimp.c:2107: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2107: warning: statement with no effect
dbdimp.c:2109: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2109: warning: statement with no effect
dbdimp.c:2112: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2112: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:2141: error: expected ‘)’ before ‘val’
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2174: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2191: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2191: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2196: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2196: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2200: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2204: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2204: warning: initialization makes pointer from integer without a cast
dbdimp.c:2217: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2217: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:2217: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2224: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2224: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:2224: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2238: warning: implicit declaration of function ‘mysql_get_host_info’
dbdimp.c:2238: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2238: warning: initialization makes pointer from integer without a cast
dbdimp.c:2247: warning: implicit declaration of function ‘mysql_info’
dbdimp.c:2247: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2247: warning: initialization makes pointer from integer without a cast
dbdimp.c:2252: warning: implicit declaration of function ‘my_ulonglong2str’
dbdimp.c:2252: warning: implicit declaration of function ‘mysql_insert_id’
dbdimp.c:2252: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2252: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:2257: warning: implicit declaration of function ‘mysql_get_proto_info’
dbdimp.c:2257: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2263: warning: implicit declaration of function ‘mysql_get_server_info’
dbdimp.c:2263: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2263: warning: initialization makes pointer from integer without a cast
dbdimp.c:2268: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2270: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2270: error: request for member ‘net’ in something not a structure or union
dbdimp.c:2270: error: request for member ‘fd’ in something not a structure or union
dbdimp.c:2273: warning: implicit declaration of function ‘mysql_stat’
dbdimp.c:2273: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2273: warning: initialization makes pointer from integer without a cast
dbdimp.c:2280: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2280: warning: initialization makes pointer from integer without a cast
dbdimp.c:2285: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2290: warning: implicit declaration of function ‘mysql_thread_id’
dbdimp.c:2290: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2339: error: ‘MYSQL_VERSION_ID’ undeclared (first use in this function)
dbdimp.c:2339: error: (Each undeclared identifier is reported only once
dbdimp.c:2339: error: for each function it appears in.)
dbdimp.c:2354: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:2354: warning: statement with no effect
dbdimp.c:2355: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2355: warning: statement with no effect
dbdimp.c:2356: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:2356: warning: statement with no effect
dbdimp.c:2360: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2361: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2361: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2361: warning: statement with no effect
dbdimp.c:2364: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:2364: error: assignment of read-only location
dbdimp.c:2364: warning: statement with no effect
dbdimp.c:2553: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:2553: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_free_result_sets’:
dbdimp.c:2623: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2625: warning: implicit declaration of function ‘mysql_free_result’
dbdimp.c:2625: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2626: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2626: warning: statement with no effect
dbdimp.c:2576: warning: unused variable ‘next_result_rc’
dbdimp.c:2574: warning: unused variable ‘imp_dbh’
dbdimp.c: At top level:
dbdimp.c:2785: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:3085: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3085: error: used struct type value where scalar is required
dbdimp.c:3086: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3086: error: cannot convert to a pointer type
dbdimp.c:3088: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3088: error: assignment of read-only location
dbdimp.c:3088: warning: statement with no effect
dbdimp.c:3121: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3121: warning: implicit declaration of function ‘mysql_st_internal_execute’
dbdimp.c:3126: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3127: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3128: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3129: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3130: warning: statement with no effect
dbdimp.c:3132: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3132: error: ‘my_ulonglong’ undeclared (first use in this function)
dbdimp.c:3134: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3135: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:3135: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3135: warning: statement with no effect
dbdimp.c:3139: warning: implicit declaration of function ‘mysql_num_fields’
dbdimp.c:3139: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3141: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3141: warning: statement with no effect
dbdimp.c:3142: error: ‘imp_sth_t’ has no member named ‘fetch_done’
dbdimp.c:3142: warning: statement with no effect
dbdimp.c:3146: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:3146: warning: statement with no effect
dbdimp.c:3154: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3154: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘const struct sql_type_info_t *’
dbdimp.c:3160: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3282: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3282: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:3310: error: ‘MYSQL_ROW’ undeclared (first use in this function)
dbdimp.c:3310: warning: statement with no effect
dbdimp.c:3310: error: expected ‘;’ before ‘cols’
dbdimp.c:3311: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3312: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:3312: error: ‘svsock’ undeclared (first use in this function)
dbdimp.c:3312: error: invalid operands to binary *
dbdimp.c:3312: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3312: warning: statement with no effect
dbdimp.c:3313: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3318: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3318: error: ‘fields’ undeclared (first use in this function)
dbdimp.c:3318: error: invalid operands to binary *
dbdimp.c:3318: warning: statement with no effect
dbdimp.c:3356: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3363: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3363: error: request for member ‘net’ in something not a structure or union
dbdimp.c:3363: error: request for member ‘last_errno’ in something not a structure or union
dbdimp.c:3363: warning: statement with no effect
dbdimp.c:3493: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3493: error: invalid lvalue in increment
dbdimp.c:3493: warning: statement with no effect
dbdimp.c:3498: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3500: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3502: warning: implicit declaration of function ‘mysql_num_rows’
dbdimp.c:3502: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3504: warning: implicit declaration of function ‘mysql_affected_rows’
dbdimp.c:3504: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3506: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3509: error: ‘cols’ undeclared (first use in this function)
dbdimp.c:3509: warning: implicit declaration of function ‘mysql_fetch_row’
dbdimp.c:3509: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3515: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3516: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3517: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3518: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:3528: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3529: warning: implicit declaration of function ‘mysql_fetch_fields’
dbdimp.c:3529: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3529: warning: statement with no effect
dbdimp.c:3530: warning: implicit declaration of function ‘mysql_fetch_lengths’
dbdimp.c:3530: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3530: warning: assignment makes pointer from integer without a cast
dbdimp.c:3570: error: incompatible types in initialization
dbdimp.c:3313: warning: unused variable ‘fbh’
dbdimp.c:3306: warning: unused variable ‘rc’
dbdimp.c: In function ‘mysql_st_finish’:
dbdimp.c:3672: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c: In function ‘mysql_st_destroy’:
dbdimp.c:3757: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3759: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3759: warning: passing argument 1 of ‘free_param’ from incompatible pointer type
dbdimp.c:3760: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3760: warning: statement with no effect
dbdimp.c:3766: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3766: error: used struct type value where scalar is required
dbdimp.c:3767: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3767: error: cannot convert to a pointer type
dbdimp.c:3768: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3768: error: assignment of read-only location
dbdimp.c:3768: warning: statement with no effect
dbdimp.c:3703: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_st_STORE_attrib’:
dbdimp.c:3812: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3812: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:3860: error: expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
dbdimp.c: In function ‘mysql_st_FETCH_internal’:
dbdimp.c:3866: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3866: error: ‘curField’ undeclared (first use in this function)
dbdimp.c:3866: error: invalid operands to binary *
dbdimp.c:3866: warning: statement with no effect
dbdimp.c:3873: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3873: error: invalid operands to binary &&
dbdimp.c:3874: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3874: error: incompatible types in assignment
dbdimp.c:3874: warning: statement with no effect
dbdimp.c:3877: error: ‘res’ undeclared (first use in this function)
dbdimp.c:3884: warning: implicit declaration of function ‘mysql_field_seek’
dbdimp.c:3885: warning: implicit declaration of function ‘mysql_fetch_field’
dbdimp.c:3891: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3891: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3891: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3891: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3895: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3895: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3895: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3895: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3899: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3903: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3903: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3906: warning: implicit declaration of function ‘IS_PRI_KEY’
dbdimp.c:3906: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3910: warning: implicit declaration of function ‘IS_NOT_NULL’
dbdimp.c:3910: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3914: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3918: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3922: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3922: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3926: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3926: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3930: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3942: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3942: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: ‘UNIQUE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: ‘MULTIPLE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: invalid operands to binary &
dbdimp.c:3946: warning: implicit declaration of function ‘IS_BLOB’
dbdimp.c:3946: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3950: error: ‘sql_type_info_t’ has no member named ‘decimals’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3954: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:3969: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3969: error: assignment of read-only location
dbdimp.c:3969: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4020: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4020: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4020: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4022: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4022: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4022: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4026: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4026: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4026: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4038: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4038: error: ‘struct sql_type_info_s’ has no member named ‘value’
dbdimp.c:4038: warning: passing argument 2 of ‘Perl_newSVsv’ from incompatible pointer type
dbdimp.c:4047: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4047: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4047: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4051: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4051: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4051: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4057: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4057: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4057: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4061: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4061: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4061: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4065: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4065: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4065: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4067: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4067: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4067: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4069: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4069: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4069: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4071: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4075: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4075: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4075: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4082: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4084: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4084: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:4089: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4089: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4089: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4093: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4093: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4093: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4095: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4095: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4095: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4097: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:4101: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:4113: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4113: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4113: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c: In function ‘mysql_bind_ph’:
dbdimp.c:4227: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4227: warning: passing argument 1 of ‘bind_param’ from incompatible pointer type
dbdimp.c:4183: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_db_reconnect’:
dbdimp.c:4347: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:4347: warning: statement with no effect
dbdimp.c:4347: error: expected ‘;’ before ‘save_socket’
dbdimp.c:4357: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4357: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbdimp.c:4357: warning: comparison between pointer and integer
dbdimp.c:4361: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:4375: error: ‘save_socket’ undeclared (first use in this function)
dbdimp.c:4375: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4375: warning: statement with no effect
dbdimp.c:4376: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4376: warning: passing argument 3 of ‘__builtin___memcpy_chk’ makes integer from pointer without a cast
dbdimp.c:4376: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4376: warning: passing argument 3 of ‘__memcpy_ichk’ makes integer from pointer without a cast
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: warning: passing argument 3 of ‘__builtin___memset_chk’ makes integer from pointer without a cast
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: warning: passing argument 3 of ‘__memset_ichk’ makes integer from pointer without a cast
dbdimp.c:4381: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4381: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4382: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: warning: passing argument 3 of ‘__builtin___memcpy_chk’ makes integer from pointer without a cast
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: warning: passing argument 3 of ‘__memcpy_ichk’ makes integer from pointer without a cast
dbdimp.c:4384: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4384: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:4384: error: invalid lvalue in increment
dbdimp.c:4384: warning: statement with no effect
dbdimp.c:4387: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4387: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:4387: error: invalid lvalue in increment
dbdimp.c:4387: warning: statement with no effect
dbdimp.c: In function ‘mysql_db_quote’:
dbdimp.c:4544: warning: implicit declaration of function ‘mysql_real_escape_string’
dbdimp.c:4544: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_last_insert_id’:
dbdimp.c:4559: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4559: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
make: *** [dbdimp.o] Error 1
***************************
DBD-mysql-4.005]# perl Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.58 (for perl 5.008008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
----------------------------make
DBD-mysql-4.005]# make
gcc -c -I/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:24:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:143: error: expected specifier-qualifier-list before ‘MYSQL’
dbdimp.h:236: error: expected specifier-qualifier-list before ‘MYSQL_RES’
In file included from dbdimp.c:20:
dbdimp.h:293: error: expected ‘)’ before ‘*’ token
dbdimp.h:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.h:328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c:405: error: expected ‘)’ before ‘*’ token
dbdimp.c:621: error: ‘FIELD_TYPE_VAR_STRING’ undeclared here (not in a function)
dbdimp.c:631: error: ‘FIELD_TYPE_DECIMAL’ undeclared here (not in a function)
dbdimp.c:641: error: ‘FIELD_TYPE_TINY’ undeclared here (not in a function)
dbdimp.c:651: error: ‘FIELD_TYPE_SHORT’ undeclared here (not in a function)
dbdimp.c:661: error: ‘FIELD_TYPE_LONG’ undeclared here (not in a function)
dbdimp.c:671: error: ‘FIELD_TYPE_FLOAT’ undeclared here (not in a function)
dbdimp.c:681: error: ‘FIELD_TYPE_DOUBLE’ undeclared here (not in a function)
dbdimp.c:704: error: ‘FIELD_TYPE_TIMESTAMP’ undeclared here (not in a function)
dbdimp.c:714: error: ‘FIELD_TYPE_LONGLONG’ undeclared here (not in a function)
dbdimp.c:724: error: ‘FIELD_TYPE_INT24’ undeclared here (not in a function)
dbdimp.c:734: error: ‘FIELD_TYPE_DATE’ undeclared here (not in a function)
dbdimp.c:744: error: ‘FIELD_TYPE_TIME’ undeclared here (not in a function)
dbdimp.c:754: error: ‘FIELD_TYPE_DATETIME’ undeclared here (not in a function)
dbdimp.c:764: error: ‘FIELD_TYPE_YEAR’ undeclared here (not in a function)
dbdimp.c:774: error: ‘FIELD_TYPE_NEWDATE’ undeclared here (not in a function)
dbdimp.c:784: error: ‘FIELD_TYPE_ENUM’ undeclared here (not in a function)
dbdimp.c:794: error: ‘FIELD_TYPE_SET’ undeclared here (not in a function)
dbdimp.c:804: error: ‘FIELD_TYPE_BLOB’ undeclared here (not in a function)
dbdimp.c:814: error: ‘FIELD_TYPE_TINY_BLOB’ undeclared here (not in a function)
dbdimp.c:824: error: ‘FIELD_TYPE_MEDIUM_BLOB’ undeclared here (not in a function)
dbdimp.c:834: error: ‘FIELD_TYPE_LONG_BLOB’ undeclared here (not in a function)
dbdimp.c:844: error: ‘FIELD_TYPE_STRING’ undeclared here (not in a function)
dbdimp.c: In function ‘mysql_dr_error’:
dbdimp.c:1232: warning: unused variable ‘errstate’
dbdimp.c: At top level:
dbdimp.c:1311: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c: In function ‘my_login’:
dbdimp.c:1752: warning: implicit declaration of function ‘mysql_dr_connect’
dbdimp.c:1752: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:1789: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1789: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:1789: warning: statement with no effect
dbdimp.c:1790: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1790: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:1790: warning: statement with no effect
dbdimp.c:1791: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:1791: warning: statement with no effect
dbdimp.c:1792: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1792: warning: statement with no effect
dbdimp.c:1794: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:1794: warning: statement with no effect
dbdimp.c:1802: warning: implicit declaration of function ‘mysql_errno’
dbdimp.c:1802: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1803: warning: implicit declaration of function ‘mysql_error’
dbdimp.c:1803: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1803: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_commit’:
dbdimp.c:1840: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1843: warning: implicit declaration of function ‘mysql_real_query’
dbdimp.c:1843: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1848: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1848: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1849: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_rollback’:
dbdimp.c:1868: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1871: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1876: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1877: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1877: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_disconnect’:
dbdimp.c:1914: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:1915: warning: implicit declaration of function ‘mysql_close’
dbdimp.c:1915: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘dbd_discon_all’:
dbdimp.c:1965: warning: implicit declaration of function ‘mysql_server_end’
dbdimp.c:1941: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_db_destroy’:
dbdimp.c:2002: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2006: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2051: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2073: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2081: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2105: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2105: warning: statement with no effect
dbdimp.c:2107: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2107: warning: statement with no effect
dbdimp.c:2109: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2109: warning: statement with no effect
dbdimp.c:2112: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2112: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:2141: error: expected ‘)’ before ‘val’
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2174: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2191: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2191: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2196: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2196: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2200: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2204: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2204: warning: initialization makes pointer from integer without a cast
dbdimp.c:2217: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2217: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:2217: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2224: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2224: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:2224: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2238: warning: implicit declaration of function ‘mysql_get_host_info’
dbdimp.c:2238: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2238: warning: initialization makes pointer from integer without a cast
dbdimp.c:2247: warning: implicit declaration of function ‘mysql_info’
dbdimp.c:2247: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2247: warning: initialization makes pointer from integer without a cast
dbdimp.c:2252: warning: implicit declaration of function ‘my_ulonglong2str’
dbdimp.c:2252: warning: implicit declaration of function ‘mysql_insert_id’
dbdimp.c:2252: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2252: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:2257: warning: implicit declaration of function ‘mysql_get_proto_info’
dbdimp.c:2257: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2263: warning: implicit declaration of function ‘mysql_get_server_info’
dbdimp.c:2263: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2263: warning: initialization makes pointer from integer without a cast
dbdimp.c:2268: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2270: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2270: error: request for member ‘net’ in something not a structure or union
dbdimp.c:2270: error: request for member ‘fd’ in something not a structure or union
dbdimp.c:2273: warning: implicit declaration of function ‘mysql_stat’
dbdimp.c:2273: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2273: warning: initialization makes pointer from integer without a cast
dbdimp.c:2280: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:2280: warning: initialization makes pointer from integer without a cast
dbdimp.c:2285: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2290: warning: implicit declaration of function ‘mysql_thread_id’
dbdimp.c:2290: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2339: error: ‘MYSQL_VERSION_ID’ undeclared (first use in this function)
dbdimp.c:2339: error: (Each undeclared identifier is reported only once
dbdimp.c:2339: error: for each function it appears in.)
dbdimp.c:2354: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:2354: warning: statement with no effect
dbdimp.c:2355: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2355: warning: statement with no effect
dbdimp.c:2356: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:2356: warning: statement with no effect
dbdimp.c:2360: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2361: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2361: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2361: warning: statement with no effect
dbdimp.c:2364: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:2364: error: assignment of read-only location
dbdimp.c:2364: warning: statement with no effect
dbdimp.c:2553: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:2553: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_free_result_sets’:
dbdimp.c:2623: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2625: warning: implicit declaration of function ‘mysql_free_result’
dbdimp.c:2625: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2626: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2626: warning: statement with no effect
dbdimp.c:2576: warning: unused variable ‘next_result_rc’
dbdimp.c:2574: warning: unused variable ‘imp_dbh’
dbdimp.c: At top level:
dbdimp.c:2785: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:3085: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3085: error: used struct type value where scalar is required
dbdimp.c:3086: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3086: error: cannot convert to a pointer type
dbdimp.c:3088: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3088: error: assignment of read-only location
dbdimp.c:3088: warning: statement with no effect
dbdimp.c:3121: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3121: warning: implicit declaration of function ‘mysql_st_internal_execute’
dbdimp.c:3126: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3127: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3128: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3129: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3130: warning: statement with no effect
dbdimp.c:3132: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3132: error: ‘my_ulonglong’ undeclared (first use in this function)
dbdimp.c:3134: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3135: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:3135: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3135: warning: statement with no effect
dbdimp.c:3139: warning: implicit declaration of function ‘mysql_num_fields’
dbdimp.c:3139: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3141: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3141: warning: statement with no effect
dbdimp.c:3142: error: ‘imp_sth_t’ has no member named ‘fetch_done’
dbdimp.c:3142: warning: statement with no effect
dbdimp.c:3146: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:3146: warning: statement with no effect
dbdimp.c:3154: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3154: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 5 has type ‘const struct sql_type_info_t *’
dbdimp.c:3160: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3282: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3282: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:3310: error: ‘MYSQL_ROW’ undeclared (first use in this function)
dbdimp.c:3310: warning: statement with no effect
dbdimp.c:3310: error: expected ‘;’ before ‘cols’
dbdimp.c:3311: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3312: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:3312: error: ‘svsock’ undeclared (first use in this function)
dbdimp.c:3312: error: invalid operands to binary *
dbdimp.c:3312: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3312: warning: statement with no effect
dbdimp.c:3313: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3318: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3318: error: ‘fields’ undeclared (first use in this function)
dbdimp.c:3318: error: invalid operands to binary *
dbdimp.c:3318: warning: statement with no effect
dbdimp.c:3356: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3363: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3363: error: request for member ‘net’ in something not a structure or union
dbdimp.c:3363: error: request for member ‘last_errno’ in something not a structure or union
dbdimp.c:3363: warning: statement with no effect
dbdimp.c:3493: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3493: error: invalid lvalue in increment
dbdimp.c:3493: warning: statement with no effect
dbdimp.c:3498: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3500: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3502: warning: implicit declaration of function ‘mysql_num_rows’
dbdimp.c:3502: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3504: warning: implicit declaration of function ‘mysql_affected_rows’
dbdimp.c:3504: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3506: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3509: error: ‘cols’ undeclared (first use in this function)
dbdimp.c:3509: warning: implicit declaration of function ‘mysql_fetch_row’
dbdimp.c:3509: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3515: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3516: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3517: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:3518: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:3528: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3529: warning: implicit declaration of function ‘mysql_fetch_fields’
dbdimp.c:3529: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3529: warning: statement with no effect
dbdimp.c:3530: warning: implicit declaration of function ‘mysql_fetch_lengths’
dbdimp.c:3530: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3530: warning: assignment makes pointer from integer without a cast
dbdimp.c:3570: error: incompatible types in initialization
dbdimp.c:3313: warning: unused variable ‘fbh’
dbdimp.c:3306: warning: unused variable ‘rc’
dbdimp.c: In function ‘mysql_st_finish’:
dbdimp.c:3672: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c: In function ‘mysql_st_destroy’:
dbdimp.c:3757: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3759: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3759: warning: passing argument 1 of ‘free_param’ from incompatible pointer type
dbdimp.c:3760: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3760: warning: statement with no effect
dbdimp.c:3766: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3766: error: used struct type value where scalar is required
dbdimp.c:3767: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3767: error: cannot convert to a pointer type
dbdimp.c:3768: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3768: error: assignment of read-only location
dbdimp.c:3768: warning: statement with no effect
dbdimp.c:3703: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_st_STORE_attrib’:
dbdimp.c:3812: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3812: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:3860: error: expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
dbdimp.c: In function ‘mysql_st_FETCH_internal’:
dbdimp.c:3866: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3866: error: ‘curField’ undeclared (first use in this function)
dbdimp.c:3866: error: invalid operands to binary *
dbdimp.c:3866: warning: statement with no effect
dbdimp.c:3873: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3873: error: invalid operands to binary &&
dbdimp.c:3874: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3874: error: incompatible types in assignment
dbdimp.c:3874: warning: statement with no effect
dbdimp.c:3877: error: ‘res’ undeclared (first use in this function)
dbdimp.c:3884: warning: implicit declaration of function ‘mysql_field_seek’
dbdimp.c:3885: warning: implicit declaration of function ‘mysql_fetch_field’
dbdimp.c:3891: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3891: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3891: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3891: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3895: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3895: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3895: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3895: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3899: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3903: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3903: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3906: warning: implicit declaration of function ‘IS_PRI_KEY’
dbdimp.c:3906: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3910: warning: implicit declaration of function ‘IS_NOT_NULL’
dbdimp.c:3910: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3914: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3918: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3922: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3922: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3926: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3926: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3930: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3942: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3942: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: ‘UNIQUE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: ‘MULTIPLE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: invalid operands to binary &
dbdimp.c:3946: warning: implicit declaration of function ‘IS_BLOB’
dbdimp.c:3946: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3950: error: ‘sql_type_info_t’ has no member named ‘decimals’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3954: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3954: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:3969: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3969: error: assignment of read-only location
dbdimp.c:3969: warning: statement with no effect
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4020: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4020: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4020: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4022: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4022: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4022: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4026: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4026: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4026: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4038: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4038: error: ‘struct sql_type_info_s’ has no member named ‘value’
dbdimp.c:4038: warning: passing argument 2 of ‘Perl_newSVsv’ from incompatible pointer type
dbdimp.c:4047: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4047: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4047: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4051: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4051: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4051: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4057: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4057: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4057: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4061: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4061: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4061: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4065: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4065: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4065: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4067: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4067: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4067: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4069: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4069: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4069: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4071: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4075: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4075: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4075: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4082: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4084: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4084: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:4089: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4089: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4089: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4093: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4093: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4093: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4095: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4095: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4095: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4097: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:4101: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:4113: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4113: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4113: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c: In function ‘mysql_bind_ph’:
dbdimp.c:4227: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4227: warning: passing argument 1 of ‘bind_param’ from incompatible pointer type
dbdimp.c:4183: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_db_reconnect’:
dbdimp.c:4347: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:4347: warning: statement with no effect
dbdimp.c:4347: error: expected ‘;’ before ‘save_socket’
dbdimp.c:4357: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4357: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbdimp.c:4357: warning: comparison between pointer and integer
dbdimp.c:4361: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:4375: error: ‘save_socket’ undeclared (first use in this function)
dbdimp.c:4375: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4375: warning: statement with no effect
dbdimp.c:4376: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4376: warning: passing argument 3 of ‘__builtin___memcpy_chk’ makes integer from pointer without a cast
dbdimp.c:4376: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4376: warning: passing argument 3 of ‘__memcpy_ichk’ makes integer from pointer without a cast
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: warning: passing argument 3 of ‘__builtin___memset_chk’ makes integer from pointer without a cast
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4377: warning: passing argument 3 of ‘__memset_ichk’ makes integer from pointer without a cast
dbdimp.c:4381: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4381: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4382: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: warning: passing argument 3 of ‘__builtin___memcpy_chk’ makes integer from pointer without a cast
dbdimp.c:4383: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4383: warning: passing argument 3 of ‘__memcpy_ichk’ makes integer from pointer without a cast
dbdimp.c:4384: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4384: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:4384: error: invalid lvalue in increment
dbdimp.c:4384: warning: statement with no effect
dbdimp.c:4387: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4387: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:4387: error: invalid lvalue in increment
dbdimp.c:4387: warning: statement with no effect
dbdimp.c: In function ‘mysql_db_quote’:
dbdimp.c:4544: warning: implicit declaration of function ‘mysql_real_escape_string’
dbdimp.c:4544: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c: In function ‘mysql_db_last_insert_id’:
dbdimp.c:4559: error: ‘imp_dbh_t’ has no member named ‘mysql’
dbdimp.c:4559: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
make: *** [dbdimp.o] Error 1
Subject
Written By
Posted
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.