Hello List!

I've got quite some trouble installing DBD:mysqli (3.0006) on a Debian box
running MySQL 5.0.22. It would be great if some of you had some idea on how
to solve this.
So here's what happens when I try doe build the package:

----------------------------------------------------------------------------
--------

SERVER:/usr/src/perl/DBD-mysql-3.0006# perl Makefile.PL --cflags='-O3
-march=pentium4 -mtune=pentium4'
--mysql_config=/usr/local/mysql-standard-5.0.22-linux-i686/bin/mysql_config
I will use the following settings for compiling and testing:

  cflags        (User's choice) = -O3 -march=pentium4 -mtune=pentium4
  embedded      (mysql_config ) = 
  libs          (mysql_config ) = -L/usr/local/lib
-L/usr/local/mysql-standard-5.0.22-linux-i686/lib -lmysqlclient -lz -lcrypt
-lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns
-lresolv
  mysql_config  (Users choice ) =
/usr/local/mysql-standard-5.0.22-linux-i686/bin/mysql_config
  nocatchstderr (default      ) = 0
  nofoundrows   (default      ) = 0
  ssl           (guessed      ) = 0
  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.51 (for perl 5.008008 on i486-linux-gnu-thread-multi) installed
in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::mysql
SERVER:/usr/src/perl/DBD-mysql-3.0006# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/usr/lib/perl5/auto/DBI -O3 -march=pentium4 -mtune=pentium4
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"3.0006\"
-DXS_VERSION=\"3.0006\" -fPIC "-I/usr/lib/perl/5.8/CORE"   dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:21:49: error: mysql.h: No such file or directory
dbdimp.h:22:45: error: mysqld_error.h: No such file or directory
dbdimp.h:23:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:124: error: expected specifier-qualifier-list before 'MYSQL'
dbdimp.h:214: error: expected specifier-qualifier-list before 'MYSQL_RES'
In file included from dbdimp.c:20:
dbdimp.h:268: error: expected ')' before '*' token
dbdimp.h:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'mysql_st_internal_execute'
dbdimp.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
dbdimp.c:398: error: expected ')' before '*' token
dbdimp.c:666: error: 'FIELD_TYPE_VAR_STRING' undeclared here (not in a
function)
dbdimp.c:673: error: 'FIELD_TYPE_DECIMAL' undeclared here (not in a
function)
dbdimp.c:680: error: 'FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:687: error: 'FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:694: error: 'FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:701: error: 'FIELD_TYPE_FLOAT' undeclared here (not in a function)
dbdimp.c:708: error: 'FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:725: error: 'FIELD_TYPE_TIMESTAMP' undeclared here (not in a
function)
dbdimp.c:732: error: 'FIELD_TYPE_LONGLONG' undeclared here (not in a
function)
dbdimp.c:739: error: 'FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:746: error: 'FIELD_TYPE_DATE' undeclared here (not in a function)
dbdimp.c:753: error: 'FIELD_TYPE_TIME' undeclared here (not in a function)
dbdimp.c:760: error: 'FIELD_TYPE_DATETIME' undeclared here (not in a
function)
dbdimp.c:767: 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:781: error: 'FIELD_TYPE_ENUM' undeclared here (not in a function)
dbdimp.c:788: error: 'FIELD_TYPE_SET' undeclared here (not in a function)
dbdimp.c:795: error: 'FIELD_TYPE_BLOB' undeclared here (not in a function)
dbdimp.c:802: error: 'FIELD_TYPE_TINY_BLOB' undeclared here (not in a
function)
dbdimp.c:809: error: 'FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a
function)
dbdimp.c:816: error: 'FIELD_TYPE_LONG_BLOB' undeclared here (not in a
function)
dbdimp.c:823: error: 'FIELD_TYPE_STRING' undeclared here (not in a function)
dbdimp.c:1156: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
dbdimp.c: In function 'my_login':
dbdimp.c:1539: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c: In function 'mysql_db_login':
dbdimp.c:1575: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:1575: error: request for member 'auto_reconnects_ok' in something
not a structure or union
dbdimp.c:1576: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:1576: error: request for member 'auto_reconnects_failed' in
something not a structure or union
dbdimp.c:1577: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c:1578: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1580: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:1584: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1585: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1585: warning: passing argument 3 of 'mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c: In function 'mysql_db_commit':
dbdimp.c:1628: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1631: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1636: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1637: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1637: warning: passing argument 3 of 'mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c: In function 'mysql_db_rollback':
dbdimp.c:1660: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1663: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1668: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1669: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1669: warning: passing argument 3 of 'mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c: In function 'mysql_db_disconnect':
dbdimp.c:1706: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1707: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c: In function 'mysql_db_destroy':
dbdimp.c:1791: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1795: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c: In function 'mysql_db_STORE_attrib':
dbdimp.c:1840: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1859: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1867: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1891: error: 'imp_dbh_t' has no member named 'use_mysql_use_result'
dbdimp.c:1894: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:1896: error: 'imp_dbh_t' has no member named
'use_server_side_prepare'
dbdimp.c:1899: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c: At top level:
dbdimp.c:1924: error: expected ')' before 'val'
dbdimp.c: In function 'mysql_db_FETCH_attrib':
dbdimp.c:1957: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1974: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:1974: warning: passing argument 2 of 'Perl_newSViv' makes integer
from pointer without a cast
dbdimp.c:1979: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c:1979: warning: passing argument 2 of 'Perl_newSViv' makes integer
from pointer without a cast
dbdimp.c:1983: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1987: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:1987: warning: initialization makes pointer from integer without a
cast
dbdimp.c:1996: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:1996: error: request for member 'auto_reconnects_ok' in something
not a structure or union
dbdimp.c:1996: warning: passing argument 2 of 'Perl_newSViv' makes integer
from pointer without a cast
dbdimp.c:2003: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:2003: error: request for member 'auto_reconnects_failed' in
something not a structure or union
dbdimp.c:2003: warning: passing argument 2 of 'Perl_newSViv' makes integer
from pointer without a cast
dbdimp.c:2017: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2017: warning: initialization makes pointer from integer without a
cast
dbdimp.c:2026: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2026: warning: initialization makes pointer from integer without a
cast
dbdimp.c:2031: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2031: warning: passing argument 2 of 'Perl_sv_2mortal' makes
pointer from integer without a cast
dbdimp.c:2036: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2042: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2042: warning: initialization makes pointer from integer without a
cast
dbdimp.c:2047: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2049: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2049: error: request for member 'net' in something not a structure
or union
dbdimp.c:2049: error: request for member 'fd' in something not a structure
or union
dbdimp.c:2052: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2052: warning: initialization makes pointer from integer without a
cast
dbdimp.c:2059: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2059: warning: initialization makes pointer from integer without a
cast
dbdimp.c:2064: error: 'imp_dbh_t' has no member named
'use_server_side_prepare'
dbdimp.c:2069: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c: In function 'mysql_st_prepare':
dbdimp.c:2125: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c:2126: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2127: error: 'imp_sth_t' has no member named 'currow'
dbdimp.c:2131: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:2132: error: 'imp_dbh_t' has no member named 'use_mysql_use_result'
dbdimp.c:2132: warning: pointer/integer type mismatch in conditional
expression
dbdimp.c:2178: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:2178: error: assignment of read-only location
dbdimp.c:2178: error: incompatible types in assignment
dbdimp.c:2308: error: 'imp_sth_t' has no member named 'params'
dbdimp.c: At top level:
dbdimp.c:2331: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'mysql_st_internal_execute'
dbdimp.c: In function 'mysql_st_execute':
dbdimp.c:2582: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:2582: error: used struct type value where scalar is required
dbdimp.c:2583: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:2583: error: cannot convert to a pointer type
dbdimp.c:2585: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:2585: error: assignment of read-only location
dbdimp.c:2585: error: incompatible types in assignment
dbdimp.c:2616: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:2621: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:2622: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2623: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2624: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:2627: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:2627: error: 'my_ulonglong' undeclared (first use in this function)
dbdimp.c:2627: error: (Each undeclared identifier is reported only once
dbdimp.c:2627: error: for each function it appears in.)
dbdimp.c:2629: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2630: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:2630: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2635: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2636: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c:2637: error: 'imp_sth_t' has no member named 'fetch_done'
dbdimp.c:2647: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:2653: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c: In function 'mysql_describe':
dbdimp.c:2759: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:2787: error: 'MYSQL_ROW' undeclared (first use in this function)
dbdimp.c:2787: error: expected ';' before 'cols'
dbdimp.c:2830: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2837: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2837: error: request for member 'net' in something not a structure
or union
dbdimp.c:2837: error: request for member 'last_errno' in something not a
structure or union
dbdimp.c:2947: error: 'imp_sth_t' has no member named 'currow'
dbdimp.c:2947: error: invalid lvalue in increment
dbdimp.c:2949: error: 'cols' undeclared (first use in this function)
dbdimp.c:2949: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2951: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2952: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2953: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:2953: warning: passing argument 3 of 'mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c:2958: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2958: warning: assignment makes pointer from integer without a cast
dbdimp.c:2965: error: incompatible types in initialization
dbdimp.c: In function 'mysql_st_finish':
dbdimp.c:3082: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3084: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3085: error: 'imp_sth_t' has no member named 'result'
dbdimp.c: In function 'mysql_st_destroy':
dbdimp.c:3161: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3161: warning: passing argument 1 of 'FreeParam' from incompatible
pointer type
dbdimp.c:3162: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3167: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3167: error: used struct type value where scalar is required
dbdimp.c:3168: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3168: error: cannot convert to a pointer type
dbdimp.c:3169: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3169: error: assignment of read-only location
dbdimp.c:3169: error: incompatible types in assignment
dbdimp.c: In function 'mysql_st_STORE_attrib':
dbdimp.c:3213: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c: At top level:
dbdimp.c:3263: error: expected declaration specifiers or '...' before
'MYSQL_RES'
dbdimp.c: In function 'mysql_st_FETCH_internal':
dbdimp.c:3269: error: 'MYSQL_FIELD' undeclared (first use in this function)
dbdimp.c:3269: error: 'curField' undeclared (first use in this function)
dbdimp.c:3269: error: invalid operands to binary *
dbdimp.c:3276: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3276: error: invalid operands to binary &&
dbdimp.c:3277: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3277: error: incompatible types in assignment
dbdimp.c:3280: error: 'res' undeclared (first use in this function)
dbdimp.c:3294: error: 'sql_type_info_t' has no member named 'name'
dbdimp.c:3294: error: 'sql_type_info_t' has no member named 'name'
dbdimp.c:3294: warning: passing argument 1 of 'strlen' from incompatible
pointer type
dbdimp.c:3294: warning: passing argument 2 of 'Perl_newSVpv' from
incompatible pointer type
dbdimp.c:3298: error: 'sql_type_info_t' has no member named 'table'
dbdimp.c:3298: error: 'sql_type_info_t' has no member named 'table'
dbdimp.c:3298: warning: passing argument 1 of 'strlen' from incompatible
pointer type
dbdimp.c:3298: warning: passing argument 2 of 'Perl_newSVpv' from
incompatible pointer type
dbdimp.c:3302: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3306: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3306: warning: passing argument 1 of 'native2sql' makes integer
from pointer without a cast
dbdimp.c:3309: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3313: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3317: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3321: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:3325: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3325: warning: passing argument 1 of 'native2sql' makes integer
from pointer without a cast
dbdimp.c:3329: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3329: warning: passing argument 1 of 'native2sql' makes integer
from pointer without a cast
dbdimp.c:3333: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:3345: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3345: error: 'PRI_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:3345: error: 'UNIQUE_KEY_FLAG' undeclared (first use in this
function)
dbdimp.c:3345: error: invalid operands to binary |
dbdimp.c:3345: error: 'MULTIPLE_KEY_FLAG' undeclared (first use in this
function)
dbdimp.c:3345: error: invalid operands to binary |
dbdimp.c:3345: error: invalid operands to binary &
dbdimp.c:3349: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3353: error: 'sql_type_info_t' has no member named 'decimals'
dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:3357: warning: passing argument 2 of 'Perl_newSViv' makes integer
from pointer without a cast
dbdimp.c:3372: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3372: error: assignment of read-only location
dbdimp.c:3372: error: incompatible types in assignment
dbdimp.c: In function 'mysql_st_FETCH_attrib':
dbdimp.c:3421: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3421: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3421: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3423: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3423: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3423: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3427: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3427: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3427: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3439: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3439: error: 'struct sql_type_info_s' has no member named 'value'
dbdimp.c:3439: warning: passing argument 2 of 'Perl_newSVsv' from
incompatible pointer type
dbdimp.c:3448: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3448: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3448: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3452: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3452: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3452: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3458: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3458: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3458: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3462: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3462: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3462: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3466: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3466: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3466: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3468: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3468: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3468: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3470: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3470: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3470: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3472: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3476: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3476: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3476: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3483: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:3485: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:3485: warning: passing argument 2 of 'Perl_sv_2mortal' makes
pointer from integer without a cast
dbdimp.c:3490: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3490: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3490: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3494: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3494: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3494: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3496: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3496: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3496: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c:3498: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:3510: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3510: warning: passing argument 3 of 'mysql_st_FETCH_internal'
makes integer from pointer without a cast
dbdimp.c:3510: error: too many arguments to function
'mysql_st_FETCH_internal'
dbdimp.c: In function 'mysql_bind_ph':
dbdimp.c:3625: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3625: warning: passing argument 1 of 'bind_param' from incompatible
pointer type
dbdimp.c: In function 'mysql_db_reconnect':
dbdimp.c:3746: error: 'MYSQL' undeclared (first use in this function)
dbdimp.c:3746: error: expected ';' before 'save_socket'
dbdimp.c:3756: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3756: error: 'CR_SERVER_GONE_ERROR' undeclared (first use in this
function)
dbdimp.c:3756: warning: comparison between pointer and integer
dbdimp.c:3760: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:3774: error: 'save_socket' undeclared (first use in this function)
dbdimp.c:3774: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3775: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3775: warning: passing argument 3 of 'memcpy' makes integer from
pointer without a cast
dbdimp.c:3776: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3776: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3776: warning: passing argument 3 of 'memset' makes integer from
pointer without a cast
dbdimp.c:3780: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3780: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3780: warning: passing argument 3 of 'mysql_dr_error' makes pointer
from integer without a cast
dbdimp.c:3781: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3781: warning: passing argument 3 of 'memcpy' makes integer from
pointer without a cast
dbdimp.c:3782: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:3782: error: request for member 'auto_reconnects_failed' in
something not a structure or union
dbdimp.c:3782: error: invalid lvalue in increment
dbdimp.c:3785: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:3785: error: request for member 'auto_reconnects_ok' in something
not a structure or union
dbdimp.c:3785: error: invalid lvalue in increment
dbdimp.c: In function 'mysql_db_quote':
dbdimp.c:3936: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c: In function 'mysql_db_last_insert_id':
dbdimp.c:3951: error: 'imp_dbh_t' has no member named 'mysql'
dbdimp.c:3951: warning: passing argument 2 of 'Perl_sv_2mortal' makes
pointer from integer without a cast
make: *** [dbdimp.o] Error 1

----------------------------------------------------------------------------
--------

I know that's quite a lot of output but I thought it would be a good idea to
post the complete error message.
If you need any further pieces of information or the output of some
commands, please let me know.

Thank you very much in advance,

-=W=-


Reply via email to