Bug #60449 Compile error in source mysql-5.5

Submitted: 13 Mar 2011 6:15 Modified: 26 Dec 2011 22:02
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5 OS:Linux (Mint 10 X86_64)
Assigned to: CPU Architecture:Any
Tags: compiling

[13 Mar 2011 6:15] Miguel Solorzano
Description:
Compile mysql-5.5:

[ 77%] Building CXX object sql/CMakeFiles/sql.dir/slave.cc.o                                                                            
/home/miguel/bzr/5.5/sql/slave.cc: In function ‘int get_master_version_and_clock(MYSQL*, Master_info*)’:                                
/home/miguel/bzr/5.5/sql/slave.cc:1289: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/home/miguel/bzr/5.5/sql/slave.cc:1289: error: ‘debug_sync_set_action’ was not declared in this scope
/home/miguel/bzr/5.5/sql/slave.cc:1339: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/home/miguel/bzr/5.5/sql/slave.cc:1339: error: ‘debug_sync_set_action’ was not declared in this scope
/home/miguel/bzr/5.5/sql/slave.cc: In function ‘void* handle_slave_io(void*)’:
/home/miguel/bzr/5.5/sql/slave.cc:2797: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/home/miguel/bzr/5.5/sql/slave.cc:2797: error: ‘debug_sync_set_action’ was not declared in this scope
make[2]: *** [sql/CMakeFiles/sql.dir/slave.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
miguel@tikal ~/bzr/5.5 $ bzr revno
3366

How to repeat:
see description

Suggested fix:
--
[13 May 2011 22:42] Andrey Gluhov
I have the same error on openSuse

sql.dir/slave.cc.o -c /usr/src/prg/mysql-5.5.12/sql/slave.cc
/usr/src/prg/mysql-5.5.12/sql/slave.cc: In function ‘int get_master_version_and_clock(MYSQL*, Master_info*)’:
/usr/src/prg/mysql-5.5.12/sql/slave.cc:1289: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/usr/src/prg/mysql-5.5.12/sql/slave.cc:1289: error: ‘debug_sync_set_action’ was not declared in this scope
/usr/src/prg/mysql-5.5.12/sql/slave.cc:1339: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/usr/src/prg/mysql-5.5.12/sql/slave.cc:1339: error: ‘debug_sync_set_action’ was not declared in this scope
/usr/src/prg/mysql-5.5.12/sql/slave.cc: In function ‘void* handle_slave_io(void*)’:
/usr/src/prg/mysql-5.5.12/sql/slave.cc:2797: error: ‘opt_debug_sync_timeout’ was not declared in this scope
/usr/src/prg/mysql-5.5.12/sql/slave.cc:2797: error: ‘debug_sync_set_action’ was not declared in this scope
make[2]: *** [sql/CMakeFiles/sql.dir/slave.cc.o] Error 1
make[2]: Leaving directory `/usr/src/prg/mysql-5.5.12'
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make[1]: Leaving directory `/usr/src/prg/mysql-5.5.12'
make: *** [all] Error 2
[26 Dec 2011 22:02] MySQL Verification Team
Not more repeatable.
[19 Mar 2024 8:29] Bob Zhang
Solved the problem by removing all cmake temporary files like CMakeCache and CMakeFiles/

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.