Hi,
Downloaded latest source of XtraDB Cluster from
http://www.percona.com/redir/downloads/Percona-XtraDB-Cluster/5.5.20-...
to test it and tried to compile it on a Fedora 16 x64 box without
success due to compilation errors :
[100%] Built target sql
Linking CXX executable mysqld
libsql.a(sql_class.cc.o): In function `THD':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_class.cc:1069:
undefined reference to
`Query_Without_Comments::Query_Without_Comments()'
libsql.a(sql_class.cc.o): In function `~THD':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_class.cc:1751:
undefined reference to
`Query_Without_Comments::~Query_Without_Comments()'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::restore_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:821:
undefined reference to `Query_Without_Comments::set_length(unsigned
long)'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::remove_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:787:
undefined reference to `Query_Without_Comments::allocate(unsigned
long, unsigned long)'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::restore_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:821:
undefined reference to `Query_Without_Comments::set_length(unsigned
long)'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::remove_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:797:
undefined reference to `Query_Without_Comments::query()'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:801:
undefined reference to `Query_Without_Comments::set_length(unsigned
long)'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:805:
undefined reference to `Query_Without_Comments::query()'
libsql.a(sql_cache.cc.o): In function
`Query_Switcher::replace(Query_Without_Comments*)':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:709:
undefined reference to `Query_Without_Comments::query()'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:710:
undefined reference to `Query_Without_Comments::length()'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::remove_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:787:
undefined reference to `Query_Without_Comments::allocate(unsigned
long, unsigned long)'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:797:
undefined reference to `Query_Without_Comments::query()'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:801:
undefined reference to `Query_Without_Comments::set_length(unsigned
long)'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:805:
undefined reference to `Query_Without_Comments::query()'
libsql.a(sql_cache.cc.o): In function
`Query_Switcher::replace(Query_Without_Comments*)':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:709:
undefined reference to `Query_Without_Comments::query()'
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:710:
undefined reference to `Query_Without_Comments::length()'
libsql.a(sql_cache.cc.o): In function
`Comments_Processor::restore_comments()':
/temp/percona/percona-xtradb-cluster-5.5.20/sql/sql_cache.cc:821:
undefined reference to `Query_Without_Comments::set_length(unsigned
long)'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [sql/mysqld] Erreur 1
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Erreur 2
make: *** [all] Erreur 2
I can't figure out why I have this error, any advise would be
appreciated ?
Thanks.
BR,
Laurent