Not the answer you need?
Register and ask your own question!
Many Forum changes were implemented on Tue 22 Sep. Read about new Ranks, Scoring, and Reactions.
Email [email protected] for any comments or concerns.

Percona Compile Error

percona_userpercona_user EntrantInactive User Role Beginner
I am getting a compilation error when trying to compile any stable build version since 5.5.28. Prior versions were compiling without problems. Did anyone else run into this problem? Any suggestions on what to try?

I used the following cmake configuration:
cmake -L -DWITH_READLINE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/software/mysql_cfs

make fails with the following message:
[ 86%] Building CXX object sql/CMakeFiles/sql.dir/set_var.cc.o
[ 86%] Building CXX object sql/CMakeFiles/sql.dir/slave.cc.o
/software/Percona-Server-5.5.29-rel30.0/sql/slave.cc: In function `int
terminate_slave_thread(THD*, mysql_mutex_t*, mysql_cond_t*, volatile uint*,
bool)':
/software/Percona-Server-5.5.29-rel30.0/sql/slave.cc:644: warning: unused
variable `int err'
[ 86%] Building CXX object sql/CMakeFiles/sql.dir/sp.cc.o
[ 86%] Building CXX object sql/CMakeFiles/sql.dir/sp_cache.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/sp_head.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/sp_pcontext.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/sp_rcontext.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/spatial.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/sql_acl.cc.o
[ 87%] Building CXX object sql/CMakeFiles/sql.dir/sql_analyse.cc.o
[ 88%] Building CXX object sql/CMakeFiles/sql.dir/sql_base.cc.o
/software/Percona-Server-5.5.29-rel30.0/sql/sql_base.cc: In function `bool
open_table_entry_fini(THD*, TABLE_SHARE*, TABLE*)':
/software/Percona-Server-5.5.29-rel30.0/sql/sql_base.cc:3885 : error: `
q_table_name' undeclared (first use this function)
/software/Percona-Server-5.5.29-rel30.0/sql/sql_base.cc:3885 : error: (Each
undeclared identifier is reported only once for each function it appears
in.)
make[2]: *** [sql/CMakeFiles/sql.dir/sql_base.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2



I have SLES 9 64-bit:
cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (x86_64)
VERSION = 9
PATCHLEVEL = 3
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.