unable to complie DBD::mysql against xampp

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

unable to complie DBD::mysql against xampp

Postby psychomachine » 28. December 2010 14:08

hi.

i am trying to compile DBD::mysql -- since it is failing for me when I try to do it via the CPAN shell.

When I do

Code: Select all
perl Makefile.pl


I get the following settings

Code: Select all
  cflags        (mysql_config) = -I/Applications/xampp/xamppfiles/include/mysql -I/Applications/xampp/xamppfiles/include -L/Applications/xampp/xamppfiles/lib -arch i386 -arch ppc
  embedded      (mysql_config) =
  libs          (mysql_config) = -L/Applications/xampp/xamppfiles/lib -I/Applications/xampp/xamppfiles/include -L/Applications/xampp/xamppfiles/lib/mysql -lmysqlclient -lz -lm
  mysql_config  (guessed     ) = mysql_config
  nocatchstderr (default     ) = 0
  nofoundrows   (default     ) = 0
  ssl           (guessed     ) = 0
  testdb        (default     ) = test
  testhost      (default     ) =
  testpassword  (default     ) =
  testsocket    (default     ) =
Use of uninitialized value in printf at Makefile.PL line 175, <PIPE> line 93.
  testuser      (            ) = psychomachine


I think cflags and libs are particularly important, but I am not sure how to interpret them. So far so good, with the minor exception:

Code: Select all
Unrecognized argument in LIBS ignored: '-I/Applications/xampp/xamppfiles/include'
Multiple copies of Driver.xst found in: /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/ /usr/local/ActivePerl-5.12/lib/auto/DBI/ at Makefile.PL line 747
Using DBI 1.611 (for perl 5.012002 on darwin-thread-multi-2level) installed in /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/
Writing Makefile for DBD::mysql


But I try to compile, all hell breaks loose:
Code: Select all
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c  -I/Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI -I/Applications/xampp/xamppfiles/include/mysql -I/Applications/xampp/xamppfiles/include -L/Applications/xampp/xamppfiles/lib -arch i386 -arch ppc -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.4 -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -O3   -DVERSION=\"4.011\" -DXS_VERSION=\"4.011\"  "-I/usr/local/ActivePerl-5.12/lib/CORE"   dbdimp.c
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:594,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: no include path in which to search for stdarg.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1830,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1852,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
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:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:144: error: expected specifier-qualifier-list before ‘MYSQL’
dbdimp.h:237: error: expected specifier-qualifier-list before ‘MYSQL_RES’
In file included from dbdimp.c:20:
dbdimp.h:294: error: expected ‘)’ before ‘*’ token
dbdimp.h:297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.h:329: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c:406: error: expected ‘)’ before ‘*’ token
dbdimp.c:623: error: ‘FIELD_TYPE_VAR_STRING’ undeclared here (not in a function)
dbdimp.c:633: error: ‘FIELD_TYPE_DECIMAL’ undeclared here (not in a function)
dbdimp.c:643: error: ‘FIELD_TYPE_TINY’ undeclared here (not in a function)
dbdimp.c:653: error: ‘FIELD_TYPE_SHORT’ undeclared here (not in a function)
dbdimp.c:663: error: ‘FIELD_TYPE_LONG’ undeclared here (not in a function)
dbdimp.c:673: error: ‘FIELD_TYPE_FLOAT’ undeclared here (not in a function)
dbdimp.c:683: error: ‘FIELD_TYPE_DOUBLE’ undeclared here (not in a function)
dbdimp.c:706: error: ‘FIELD_TYPE_TIMESTAMP’ undeclared here (not in a function)
dbdimp.c:716: error: ‘FIELD_TYPE_LONGLONG’ undeclared here (not in a function)
dbdimp.c:726: error: ‘FIELD_TYPE_INT24’ undeclared here (not in a function)
dbdimp.c:736: error: ‘FIELD_TYPE_DATE’ undeclared here (not in a function)
dbdimp.c:746: error: ‘FIELD_TYPE_TIME’ undeclared here (not in a function)
dbdimp.c:756: error: ‘FIELD_TYPE_DATETIME’ undeclared here (not in a function)
dbdimp.c:766: error: ‘FIELD_TYPE_YEAR’ undeclared here (not in a function)
dbdimp.c:776: error: ‘FIELD_TYPE_NEWDATE’ undeclared here (not in a function)
dbdimp.c:786: error: ‘FIELD_TYPE_ENUM’ undeclared here (not in a function)
dbdimp.c:796: error: ‘FIELD_TYPE_SET’ undeclared here (not in a function)
dbdimp.c:806: error: ‘FIELD_TYPE_BLOB’ undeclared here (not in a function)
dbdimp.c:816: error: ‘FIELD_TYPE_TINY_BLOB’ undeclared here (not in a function)
dbdimp.c:826: error: ‘FIELD_TYPE_MEDIUM_BLOB’ undeclared here (not in a function)
dbdimp.c:836: error: ‘FIELD_TYPE_LONG_BLOB’ undeclared here (not in a function)
dbdimp.c:846: error: ‘FIELD_TYPE_STRING’ undeclared here (not in a function)
dbdimp.c:1313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c: In function ‘my_login’:
dbdimp.c:1755: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1756: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1756: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:1756: error: (Each undeclared identifier is reported only once
dbdimp.c:1756: error: for each function it appears in.)
dbdimp.c:1756: warning: comparison between pointer and integer
dbdimp.c:1756: error: invalid operands to binary / (have ‘long unsigned int’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: error: invalid operands to binary > (have ‘double’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: error: expected expression before ‘)’ token
dbdimp.c:1756: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: warning: passing argument 2 of ‘Perl_safesyscalloc’ makes integer from pointer without a cast
dbdimp.c:1756: error: called object ‘<erroneous-expression>’ is not a function
dbdimp.c:1758: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:1795: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1795: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:1796: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1796: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:1797: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:1798: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1800: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:1809: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1810: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1810: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_commit’:
dbdimp.c:1847: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1850: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1855: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1855: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1856: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_rollback’:
dbdimp.c:1875: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1878: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1883: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1884: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1884: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_disconnect’:
dbdimp.c:1921: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1922: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_destroy’:
dbdimp.c:2009: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2013: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2021: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2059: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2081: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2089: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2113: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2115: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2117: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2120: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c: At top level:
dbdimp.c:2150: error: expected ‘)’ before ‘val’
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2179: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2196: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2196: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2201: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2201: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2205: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2209: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2209: warning: initialization makes pointer from integer without a cast
dbdimp.c:2223: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2223: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:2223: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2230: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2230: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:2230: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2244: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2244: warning: initialization makes pointer from integer without a cast
dbdimp.c:2253: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2253: warning: initialization makes pointer from integer without a cast
dbdimp.c:2258: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2258: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:2263: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2269: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2269: warning: initialization makes pointer from integer without a cast
dbdimp.c:2274: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2276: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2276: error: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:2276: error: request for member ‘fd’ in something not a structure or union
dbdimp.c:2279: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2279: warning: initialization makes pointer from integer without a cast
dbdimp.c:2286: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2286: warning: initialization makes pointer from integer without a cast
dbdimp.c:2291: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2296: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2345: error: ‘MYSQL_VERSION_ID’ undeclared (first use in this function)
dbdimp.c:2345: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:2360: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:2361: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2362: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:2366: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2367: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2367: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2370: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:2370: error: assignment of read-only location
dbdimp.c:2559: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c: In function ‘mysql_st_free_result_sets’:
dbdimp.c:2629: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2631: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2632: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c: At top level:
dbdimp.c:2796: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:3097: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3097: error: used struct type value where scalar is required
dbdimp.c:3098: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3098: error: incompatible types in initialization
dbdimp.c:3100: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3100: error: assignment of read-only location
dbdimp.c:3133: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3138: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3139: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3140: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3141: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3144: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3144: error: ‘my_ulonglong’ undeclared (first use in this function)
dbdimp.c:3146: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3148: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:3148: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3157: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3159: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3160: error: ‘imp_sth_t’ has no member named ‘fetch_done’
dbdimp.c:3164: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:3172: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3172: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:3178: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3300: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:3328: error: ‘MYSQL_ROW’ undeclared (first use in this function)
dbdimp.c:3328: error: expected ‘;’ before ‘cols’
dbdimp.c:3330: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:3330: error: ‘svsock’ undeclared (first use in this function)
dbdimp.c:3330: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3330: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3336: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3336: error: ‘fields’ undeclared (first use in this function)
dbdimp.c:3336: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3374: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3381: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3381: error: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:3381: error: request for member ‘last_errno’ in something not a structure or union
dbdimp.c:3512: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3512: error: lvalue required as increment operand
dbdimp.c:3512: error: lvalue required as increment operand
dbdimp.c:3517: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3517: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:3519: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3519: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3521: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3521: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3523: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3523: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3525: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3525: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘const struct sql_type_info_t *’
dbdimp.c:3528: error: ‘cols’ undeclared (first use in this function)
dbdimp.c:3528: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3534: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3535: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3536: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3537: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:3547: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3548: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3549: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3549: warning: assignment makes pointer from integer without a cast
dbdimp.c:3589: error: incompatible types in initialization
dbdimp.c: In function ‘mysql_st_destroy’:
dbdimp.c:3777: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3779: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3779: warning: passing argument 1 of ‘free_param’ from incompatible pointer type
dbdimp.c:3780: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3786: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3786: error: used struct type value where scalar is required
dbdimp.c:3787: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3787: error: incompatible types in initialization
dbdimp.c:3788: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3788: error: assignment of read-only location
dbdimp.c: In function ‘mysql_st_STORE_attrib’:
dbdimp.c:3832: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c: At top level:
dbdimp.c:3880: error: expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
dbdimp.c: In function ‘mysql_st_FETCH_internal’:
dbdimp.c:3886: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3886: error: ‘curField’ undeclared (first use in this function)
dbdimp.c:3886: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3893: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3893: error: invalid operands to binary && (have ‘int’ and ‘struct sql_type_info_s’)
dbdimp.c:3894: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3894: error: incompatible types in assignment
dbdimp.c:3897: error: ‘res’ undeclared (first use in this function)
dbdimp.c:3911: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3911: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3911: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3911: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3915: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3915: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3915: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3915: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3919: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3923: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3923: 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 ‘flags’
dbdimp.c:3930: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3934: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3938: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3942: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3942: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3946: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3946: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3950: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3962: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3962: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: ‘UNIQUE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3962: error: ‘MULTIPLE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3962: error: invalid operands to binary & (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3966: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3970: error: ‘sql_type_info_t’ has no member named ‘decimals’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3974: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:3989: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3989: error: assignment of read-only location
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4040: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4040: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4040: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4042: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4042: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4042: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4046: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4046: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4046: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4058: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4058: error: ‘struct sql_type_info_s’ has no member named ‘value’
dbdimp.c:4058: warning: passing argument 2 of ‘Perl_newSVsv’ from incompatible pointer type
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:4071: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4071: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4071: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4077: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4077: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4077: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4081: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4081: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4081: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4085: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4085: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4085: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4087: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4087: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4087: error: too many arguments to function ‘mysql_st_FETCH_internal’
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:4091: error: ‘imp_sth_t’ has no member named ‘result’
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:4102: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4102: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:4104: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4104: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:4109: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4109: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4109: error: too many arguments to function ‘mysql_st_FETCH_internal’
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:4115: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4115: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4115: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4117: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:4121: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:4133: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4133: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4133: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c: In function ‘mysql_bind_ph’:
dbdimp.c:4257: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4257: warning: passing argument 1 of ‘bind_param’ from incompatible pointer type
dbdimp.c: In function ‘mysql_db_reconnect’:
dbdimp.c:4379: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:4379: error: expected ‘;’ before ‘save_socket’
dbdimp.c:4389: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4389: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbdimp.c:4389: warning: comparison between pointer and integer
dbdimp.c:4393: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:4407: error: ‘save_socket’ undeclared (first use in this function)
dbdimp.c:4407: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4408: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4408: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4409: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4409: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4409: warning: passing argument 1 of ‘memset’ discards qualifiers from pointer target type
dbdimp.c:4417: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4417: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4418: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:4419: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4419: warning: passing argument 1 of ‘memcpy’ discards qualifiers from pointer target type
dbdimp.c:4419: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4420: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4420: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:4420: error: lvalue required as increment operand
dbdimp.c:4420: error: lvalue required as increment operand
dbdimp.c:4423: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4423: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:4423: error: lvalue required as increment operand
dbdimp.c:4423: error: lvalue required as increment operand
dbdimp.c: In function ‘mysql_db_quote’:
dbdimp.c:4583: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_last_insert_id’:
dbdimp.c:4606: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4606: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:594,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: no include path in which to search for stdarg.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1830,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1852,
                 from /Users/psychomachine/Library/ActivePerl-5.12/lib/auto/DBI/DBIXS.h:21,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
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:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:144: error: expected specifier-qualifier-list before ‘MYSQL’
dbdimp.h:237: error: expected specifier-qualifier-list before ‘MYSQL_RES’
In file included from dbdimp.c:20:
dbdimp.h:294: error: expected ‘)’ before ‘*’ token
dbdimp.h:297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.h:329: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c:406: error: expected ‘)’ before ‘*’ token
dbdimp.c:623: error: ‘FIELD_TYPE_VAR_STRING’ undeclared here (not in a function)
dbdimp.c:633: error: ‘FIELD_TYPE_DECIMAL’ undeclared here (not in a function)
dbdimp.c:643: error: ‘FIELD_TYPE_TINY’ undeclared here (not in a function)
dbdimp.c:653: error: ‘FIELD_TYPE_SHORT’ undeclared here (not in a function)
dbdimp.c:663: error: ‘FIELD_TYPE_LONG’ undeclared here (not in a function)
dbdimp.c:673: error: ‘FIELD_TYPE_FLOAT’ undeclared here (not in a function)
dbdimp.c:683: error: ‘FIELD_TYPE_DOUBLE’ undeclared here (not in a function)
dbdimp.c:706: error: ‘FIELD_TYPE_TIMESTAMP’ undeclared here (not in a function)
dbdimp.c:716: error: ‘FIELD_TYPE_LONGLONG’ undeclared here (not in a function)
dbdimp.c:726: error: ‘FIELD_TYPE_INT24’ undeclared here (not in a function)
dbdimp.c:736: error: ‘FIELD_TYPE_DATE’ undeclared here (not in a function)
dbdimp.c:746: error: ‘FIELD_TYPE_TIME’ undeclared here (not in a function)
dbdimp.c:756: error: ‘FIELD_TYPE_DATETIME’ undeclared here (not in a function)
dbdimp.c:766: error: ‘FIELD_TYPE_YEAR’ undeclared here (not in a function)
dbdimp.c:776: error: ‘FIELD_TYPE_NEWDATE’ undeclared here (not in a function)
dbdimp.c:786: error: ‘FIELD_TYPE_ENUM’ undeclared here (not in a function)
dbdimp.c:796: error: ‘FIELD_TYPE_SET’ undeclared here (not in a function)
dbdimp.c:806: error: ‘FIELD_TYPE_BLOB’ undeclared here (not in a function)
dbdimp.c:816: error: ‘FIELD_TYPE_TINY_BLOB’ undeclared here (not in a function)
dbdimp.c:826: error: ‘FIELD_TYPE_MEDIUM_BLOB’ undeclared here (not in a function)
dbdimp.c:836: error: ‘FIELD_TYPE_LONG_BLOB’ undeclared here (not in a function)
dbdimp.c:846: error: ‘FIELD_TYPE_STRING’ undeclared here (not in a function)
dbdimp.c:1313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c: In function ‘my_login’:
dbdimp.c:1755: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1756: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1756: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:1756: error: (Each undeclared identifier is reported only once
dbdimp.c:1756: error: for each function it appears in.)
dbdimp.c:1756: warning: comparison between pointer and integer
dbdimp.c:1756: error: invalid operands to binary / (have ‘long unsigned int’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: error: invalid operands to binary > (have ‘double’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: error: expected expression before ‘)’ token
dbdimp.c:1756: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1756: warning: passing argument 2 of ‘Perl_safesyscalloc’ makes integer from pointer without a cast
dbdimp.c:1756: error: called object ‘<erroneous-expression>’ is not a function
dbdimp.c:1758: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:1795: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1795: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:1796: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1796: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:1797: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:1798: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1800: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:1809: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1810: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1810: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_commit’:
dbdimp.c:1847: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1850: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1855: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1855: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1856: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_rollback’:
dbdimp.c:1875: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1878: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1883: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1884: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1884: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_disconnect’:
dbdimp.c:1921: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1922: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_destroy’:
dbdimp.c:2009: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2013: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2021: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2059: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2081: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2089: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2113: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2115: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2117: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2120: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c: At top level:
dbdimp.c:2150: error: expected ‘)’ before ‘val’
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2179: error: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2196: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2196: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2201: error: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2201: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2205: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2209: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2209: warning: initialization makes pointer from integer without a cast
dbdimp.c:2223: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2223: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:2223: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2230: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2230: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:2230: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2244: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2244: warning: initialization makes pointer from integer without a cast
dbdimp.c:2253: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2253: warning: initialization makes pointer from integer without a cast
dbdimp.c:2258: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2258: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:2263: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2269: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2269: warning: initialization makes pointer from integer without a cast
dbdimp.c:2274: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2276: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2276: error: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:2276: error: request for member ‘fd’ in something not a structure or union
dbdimp.c:2279: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2279: warning: initialization makes pointer from integer without a cast
dbdimp.c:2286: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2286: warning: initialization makes pointer from integer without a cast
dbdimp.c:2291: error: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2296: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2345: error: ‘MYSQL_VERSION_ID’ undeclared (first use in this function)
dbdimp.c:2345: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:2360: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:2361: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2362: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:2366: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2367: error: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2367: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2370: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:2370: error: assignment of read-only location
dbdimp.c:2559: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c: In function ‘mysql_st_free_result_sets’:
dbdimp.c:2629: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2631: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2632: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c: At top level:
dbdimp.c:2796: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:3097: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3097: error: used struct type value where scalar is required
dbdimp.c:3098: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3098: error: incompatible types in initialization
dbdimp.c:3100: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3100: error: assignment of read-only location
dbdimp.c:3133: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3138: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3139: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3140: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3141: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3144: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3144: error: ‘my_ulonglong’ undeclared (first use in this function)
dbdimp.c:3146: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3148: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:3148: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3157: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3159: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3160: error: ‘imp_sth_t’ has no member named ‘fetch_done’
dbdimp.c:3164: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:3172: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3172: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:3178: error: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3300: error: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:3328: error: ‘MYSQL_ROW’ undeclared (first use in this function)
dbdimp.c:3328: error: expected ‘;’ before ‘cols’
dbdimp.c:3330: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:3330: error: ‘svsock’ undeclared (first use in this function)
dbdimp.c:3330: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3330: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3336: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3336: error: ‘fields’ undeclared (first use in this function)
dbdimp.c:3336: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3374: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3381: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3381: error: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:3381: error: request for member ‘last_errno’ in something not a structure or union
dbdimp.c:3512: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3512: error: lvalue required as increment operand
dbdimp.c:3512: error: lvalue required as increment operand
dbdimp.c:3517: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3517: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:3519: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3519: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3521: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3521: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3523: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3523: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘int’
dbdimp.c:3525: error: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3525: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘const struct sql_type_info_t *’
dbdimp.c:3528: error: ‘cols’ undeclared (first use in this function)
dbdimp.c:3528: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3534: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3535: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3536: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3537: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:3547: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3548: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3549: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3549: warning: assignment makes pointer from integer without a cast
dbdimp.c:3589: error: incompatible types in initialization
dbdimp.c: In function ‘mysql_st_destroy’:
dbdimp.c:3777: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3779: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3779: warning: passing argument 1 of ‘free_param’ from incompatible pointer type
dbdimp.c:3780: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3786: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3786: error: used struct type value where scalar is required
dbdimp.c:3787: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3787: error: incompatible types in initialization
dbdimp.c:3788: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3788: error: assignment of read-only location
dbdimp.c: In function ‘mysql_st_STORE_attrib’:
dbdimp.c:3832: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c: At top level:
dbdimp.c:3880: error: expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
dbdimp.c: In function ‘mysql_st_FETCH_internal’:
dbdimp.c:3886: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3886: error: ‘curField’ undeclared (first use in this function)
dbdimp.c:3886: error: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3893: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3893: error: invalid operands to binary && (have ‘int’ and ‘struct sql_type_info_s’)
dbdimp.c:3894: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3894: error: incompatible types in assignment
dbdimp.c:3897: error: ‘res’ undeclared (first use in this function)
dbdimp.c:3911: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3911: error: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3911: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3911: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3915: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3915: error: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3915: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3915: warning: passing argument 2 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3919: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3923: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3923: 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 ‘flags’
dbdimp.c:3930: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3934: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3938: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3942: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3942: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3946: error: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3946: warning: passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3950: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3962: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3962: error: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: ‘UNIQUE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3962: error: ‘MULTIPLE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3962: error: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3962: error: invalid operands to binary & (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3966: error: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3970: error: ‘sql_type_info_t’ has no member named ‘decimals’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3974: error: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3974: warning: passing argument 2 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:3989: error: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3989: error: assignment of read-only location
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4040: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4040: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4040: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4042: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4042: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4042: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4046: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4046: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4046: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4058: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4058: error: ‘struct sql_type_info_s’ has no member named ‘value’
dbdimp.c:4058: warning: passing argument 2 of ‘Perl_newSVsv’ from incompatible pointer type
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:4071: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4071: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4071: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4077: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4077: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4077: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4081: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4081: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4081: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4085: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4085: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4085: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4087: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4087: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4087: error: too many arguments to function ‘mysql_st_FETCH_internal’
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:4091: error: ‘imp_sth_t’ has no member named ‘result’
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:4102: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4102: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘const struct sql_type_info_t *’
dbdimp.c:4104: error: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4104: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:4109: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4109: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4109: error: too many arguments to function ‘mysql_st_FETCH_internal’
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:4115: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4115: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4115: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4117: error: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:4121: error: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:4133: error: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4133: warning: passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4133: error: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c: In function ‘mysql_bind_ph’:
dbdimp.c:4257: error: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4257: warning: passing argument 1 of ‘bind_param’ from incompatible pointer type
dbdimp.c: In function ‘mysql_db_reconnect’:
dbdimp.c:4379: error: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:4379: error: expected ‘;’ before ‘save_socket’
dbdimp.c:4389: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4389: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbdimp.c:4389: warning: comparison between pointer and integer
dbdimp.c:4393: error: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:4407: error: ‘save_socket’ undeclared (first use in this function)
dbdimp.c:4407: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4408: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4408: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4409: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4409: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4409: warning: passing argument 1 of ‘memset’ discards qualifiers from pointer target type
dbdimp.c:4417: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4417: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4418: warning: passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:4419: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4419: warning: passing argument 1 of ‘memcpy’ discards qualifiers from pointer target type
dbdimp.c:4419: warning: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4420: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4420: error: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:4420: error: lvalue required as increment operand
dbdimp.c:4420: error: lvalue required as increment operand
dbdimp.c:4423: error: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4423: error: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:4423: error: lvalue required as increment operand
dbdimp.c:4423: error: lvalue required as increment operand
dbdimp.c: In function ‘mysql_db_quote’:
dbdimp.c:4583: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_last_insert_id’:
dbdimp.c:4606: error: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4606: warning: passing argument 2 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
lipo: can't open input file: /var/folders/7n/7nf-iZSCFKaiIWaY-oS0Kk+++TI/-Tmp-//ccdwztlH.out (No such file or directory)
make: *** [dbdimp.o] Error 1


i think all this has to do with locating libs and cflags, but i don't know what to do about this. i installed the xampp developer tools as well.

if you have any idea how i should fix this, please let me know.

all best,
psychomachine
psychomachine
 
Posts: 15
Joined: 05. August 2005 11:09

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 15 guests