Bug #43643 compile-ndb-autotest produces errors when building ndbapi_50compat0.cpp
Submitted: 13 Mar 2009 20:44 Modified: 2 Nov 2009 20:01
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:mysql-6.0-telco-6.4 OS:Linux
Assigned to: Jonas Oreland CPU Architecture:Any
Tags: mysql-6.0-telco-6.4 & 6.3

[13 Mar 2009 20:44] Jonathan Miller
Description:
ndbapi_50compat0.cpp:36:22: error: NdbApi.hpp: No such file or directory
ndbapi_50compat0.cpp:39:22: error: NdbOut.hpp: No such file or directory
ndbapi_50compat0.cpp:41: error: ‘Ndb_cluster_connection’ has not been declared
ndbapi_50compat0.cpp: In function ‘int main()’:
ndbapi_50compat0.cpp:57: error: ‘ndb_init’ was not declared in this scope
ndbapi_50compat0.cpp:62: error: ‘Ndb_cluster_connection’ was not declared in this scope
ndbapi_50compat0.cpp:62: error: expected `;' before ‘cluster_connection’
ndbapi_50compat0.cpp:65: error: ‘cluster_connection’ was not declared in this scope
ndbapi_50compat0.cpp:69: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:70: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:74: error: ‘cluster_connection’ was not declared in this scope
ndbapi_50compat0.cpp:76: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:77: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:83: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:84: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:88: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:88: error: ‘endl’ was not declared in this scope
ndbapi_50compat0.cpp:88: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:91: error: ‘cluster_connection’ was not declared in this scope
ndbapi_50compat0.cpp:94: error: ‘ndb_end’ was not declared in this scope
ndbapi_50compat0.cpp:96: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp: At global scope:
ndbapi_50compat0.cpp:103: error: variable or field ‘do_insert’ declared void
ndbapi_50compat0.cpp:103: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:103: error: expected primary-expression before ‘)’ token
ndbapi_50compat0.cpp:104: error: variable or field ‘do_update’ declared void
ndbapi_50compat0.cpp:104: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:104: error: expected primary-expression before ‘)’ token
ndbapi_50compat0.cpp:105: error: variable or field ‘do_delete’ declared void
ndbapi_50compat0.cpp:105: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:105: error: expected primary-expression before ‘)’ token
ndbapi_50compat0.cpp:106: error: variable or field ‘do_read’ declared void
ndbapi_50compat0.cpp:106: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:106: error: expected primary-expression before ‘)’ token
ndbapi_50compat0.cpp:109: error: ‘Ndb_cluster_connection’ has not been declared
ndbapi_50compat0.cpp: In function ‘void run_application(MYSQL&, int&)’:
ndbapi_50compat0.cpp:115: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:115: error: ‘endl’ was not declared in this scope
ndbapi_50compat0.cpp:115: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:122: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:122: error: expected `;' before ‘myNdb’
ndbapi_50compat0.cpp:123: error: ‘myNdb’ was not declared in this scope
ndbapi_50compat0.cpp:123: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:123: error: ‘endl’ was not declared in this scope
ndbapi_50compat0.cpp:123: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp:128: error: ‘myNdb’ was not declared in this scope
ndbapi_50compat0.cpp:128: error: ‘do_insert’ cannot be used as a function
ndbapi_50compat0.cpp:129: error: ‘do_update’ cannot be used as a function
ndbapi_50compat0.cpp:130: error: ‘do_delete’ cannot be used as a function
ndbapi_50compat0.cpp:131: error: ‘do_read’ cannot be used as a function
ndbapi_50compat0.cpp: In function ‘void create_table(MYSQL&)’:
ndbapi_50compat0.cpp:145: error: ‘ndbout’ was not declared in this scope
ndbapi_50compat0.cpp:145: error: ‘endl’ was not declared in this scope
ndbapi_50compat0.cpp:145: error: ‘exit’ was not declared in this scope
ndbapi_50compat0.cpp: At global scope:
ndbapi_50compat0.cpp:151: error: variable or field ‘do_insert’ declared void
ndbapi_50compat0.cpp:151: error: redefinition of ‘int do_insert’
ndbapi_50compat0.cpp:103: error: ‘int do_insert’ previously defined here
ndbapi_50compat0.cpp:151: error: ‘Ndb’ was not declared in this scope
ndbapi_50compat0.cpp:151: error: ‘myNdb’ was not declared in this scope
gmake[5]: *** [ndbapi_50compat0-ndbapi_50compat0.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....

-----
gmake[5]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-6.0-telco-6.4-2009-03-13.10196/storage/ndb/test/ndbapi'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-6.0-telco-6.4-2009-03-13.10196/storage/ndb/test/ndbapi'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-6.0-telco-6.4-2009-03-13.10196/storage/ndb/test'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-6.0-telco-6.4-2009-03-13.10196/storage/ndb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-6.0-telco-6.4-2009-03-13.10196/storage'
gmake: *** [all-recursive] Error 1

How to repeat:
mysql-6.0-telco-6.4/BUILD/compile-ndb-autotest
[13 Mar 2009 22:55] Jonathan Miller
same for 6.3

ndbapi_50compat0.cpp:36:22: error: NdbApi.hpp: No such file or directory
ndbapi_50compat0.cpp:39:22: error: NdbOut.hpp: No such file or directory
[13 Mar 2009 22:55] Jonathan Miller
same for 6.3

ndbapi_50compat0.cpp:36:22: error: NdbApi.hpp: No such file or directory
ndbapi_50compat0.cpp:39:22: error: NdbOut.hpp: No such file or directory
[2 Nov 2009 20:01] Jonas Oreland
this must have been fixed along the way
we now compile storage/ndb/test in club,
so it can't creep in either