Subject: | compilation problems with mysql 5.0.56 |
The module doesn't compile with mysql 5.0.56
Log:
LANG="C" make
g++ -c -I. -I/home/cubic/src/mysql-5.0.56/
-I/home/cubic/src/mysql-5.0.56//sql
-I/home/cubic/src/mysql-5.0.56//include
-I/home/cubic/src/mysql-5.0.56//regex -DEMBEDDED_LIBRARY -DMYSQL_SERVER
-Wall -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions
-fno-rtti -DNO_EMBEDDED_ACCESS_CHECKS -march=k8 -pipe -O2 -g
-DVERSION=\"0.88\" -DXS_VERSION=\"0.88\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" my_parse_cc.cc
my_parse_cc.cc:25:1: warning: "EMBEDDED_LIBRARY" redefined
<command line>:1:1: warning: this is the location of the previous definition
my_parse_cc.cc:26:1: warning: "MYSQL_SERVER" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /home/cubic/src/mysql-5.0.56//include/my_global.h:83,
from /home/cubic/src/mysql-5.0.56/sql/mysql_priv.h:28,
from my_parse_cc.cc:28:
/home/cubic/src/mysql-5.0.56//include/my_config.h:1127:1: warning:
"VERSION" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /home/cubic/src/mysql-5.0.56/sql/mysql_priv.h:28,
from my_parse_cc.cc:28:
/home/cubic/src/mysql-5.0.56//include/my_global.h:1342:1: warning:
"NO_EMBEDDED_ACCESS_CHECKS" redefined
<command line>:1:1: warning: this is the location of the previous definition
my_parse_cc.cc:77: error: 'st_table_list' has not been declared
my_parse_cc.cc: In function 'perl_object* my_parse_table(THD*,
st_select_lex*, perl_object*, perl_object*, int*)':
my_parse_cc.cc:81: error: request for member 'alias' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:82: error: request for member 'alias' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:85: error: request for member 'outer_join' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:87: error: request for member 'outer_join' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:89: error: request for member 'straight' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:91: error: request for member 'natural_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:95: error: request for member 'embedding' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:96: error: request for member 'embedding' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:113: error: request for member 'on_expr' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:114: error: request for member 'on_expr' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:118: error: request for member 'table_name' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:119: error: request for member 'table_name' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:124: error: request for member 'db' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:125: error: request for member 'db' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:128: error: request for member 'lock_type' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:130: error: request for member 'lock_type' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:135: error: request for member 'use_index' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:136: error: request for member 'use_index' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:138: error: request for member 'force_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:145: error: request for member 'ignore_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:146: error: request for member 'ignore_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:150: error: request for member 'nested_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:151: error: request for member 'nested_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:154: error: request for member 'derived' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:157: error: request for member 'derived' in '* table',
which is of non-class type 'int'
my_parse_cc.cc: In function 'perl_object* my_parse_tables_obj(THD*,
st_select_lex*, perl_object*, List<TABLE_LIST>*)':
my_parse_cc.cc:180: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:195: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc: In function 'perl_object* my_parse_tables_list(THD*,
st_select_lex*, perl_object*, TABLE_LIST*)':
my_parse_cc.cc:211: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:229: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc: In function 'perl_object* my_parse_inner(THD*,
st_select_lex*, bool)':
my_parse_cc.cc:970: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:991: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
make: *** [my_parse_cc.o] Error 1
--
Best regards, Ruslan.