opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cluster@lists.mysql.com 27 May 2012 • 10:01PM -0400

mysql-cluster-7.2.6 build failed GCC-4.7
by nanashi

REPLY TO AUTHOR
 
REPLY TO GROUP




I'm using Slackware-current GCC-4.7 cmake-2.8.8 linux kernel 3.2.14

Although mysql-5.5.24 server built successfully, I'm trying to build
mysql-cluster-gpl-7.2.6 and I'm getting a build failed with

[ 32%] Building CXX object
storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/HashMap2.cpp.o
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:
In function ‘int HashMap2_test()’:
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:160:18:
error: redeclaration of ‘IntIntKVPod* j’
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:117:12:
error: ‘int j’ previously declared here
make[2]: ***
[storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/HashMap2.cpp.o]
Error 1
make[1]: *** [storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/all]
Error 2
make: *** [all] Error 2

It must be gcc-4.7 related, according to
http://gcc.gnu.org/gcc-4.7/porting_to.html

regards


--
MySQL Cluster Mailing List
For list archives: http://lists.mysql.com/cluster
To unsubscribe:    http://lists.mysql.com/cluster


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.