Bug #39036 Compile error in Cluster "Ndb.cpp": "... not accessible ..."
Submitted: 26 Aug 2008 9:43 Modified: 25 Sep 2008 21:06
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:6.3.17 Cluster OS:Solaris (Solaris 9, all CPUs)
Assigned to: CPU Architecture:Any

[26 Aug 2008 9:43] Joerg Bruehe
Description:
"Cluster 6.3.17" cannot be built on any of our Solaris 9 platforms
(Sparc-32, Sparc-64, or x86):

 CC -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../storage/ndb/src/mgmapi -I. -I../../../../include -I../../../../storage/ndb/include -I../../../../include -I../../../../mysys -I../../../../storage/ndb/include -I../../../../storage/ndb/include/kernel -I../../../../storage/ndb/include/transporter -I../../../../storage/ndb/include/debugger -I../../../../storage/ndb/include/mgmapi -I../../../../storage/ndb/include/mgmcommon -I../../../../storage/ndb/include/ndbapi -I../../../../storage/ndb/include/util -I../../../../storage/ndb/include/portlib -I../../../../storage/ndb/include/logger -instances=static -g -DSAFE_MUTEX -g -noex -mt -D_FORTEC_ -xarch=v9 -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c Ndb.cpp  -KPIC -DPIC -o .libs/Ndb.o
((... 11 warnings deleted ...))
"../../../../storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp", line 265: Error: NdbIndexScanOperation::OldApiBoundInfo is not accessible from NdbIndexScanOperation::OldApiScanRangeDefinition::union::struct.
"../../../../storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp", line 266: Error: NdbIndexScanOperation::OldApiBoundInfo is not accessible from NdbIndexScanOperation::OldApiScanRangeDefinition::union::struct.
2 Error(s) and 11 Warning(s) detected.
make[4]: *** [Ndb.lo] Error 1
make[4]: Leaving directory `/export/home/mysqldev/tmp-200808250957-6.3.17-1247/butch-64bit/mysql-cluster-gpl-6.3.17/storage/ndb/src/ndbapi'

How to repeat:
Try a build on Solaris 9.
[26 Aug 2008 10:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52524

2682 Jonas Oreland	2008-08-26
      ndb - bug#39036 - compile error with forte
[27 Aug 2008 5:34] Jonas Oreland
Tim,

this code is not in 6.0
so I have a really hard time to seeing the connection

/jonas