Bug #10002 Build with --with-ndb-test fails
Submitted: 19 Apr 2005 15:57 Modified: 20 Apr 2005 9:02
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1.11 OS:Linux (linux)
Assigned to: Jonas Oreland CPU Architecture:Any

[19 Apr 2005 15:57] Hartmut Holzgraefe
Description:
make[5]: Entering directory `/usr/MysqlTools/dagobert/product/4.1.11-src/ndb/test/ndbapi'
if g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../.. -I../../../ndb/include/kernel -I../../.. -I../../../include -I../../../ndb/include -I../../../ndb/include/ndbapi -I../../../ndb/include/util -I../../../ndb/include/portlib -I../../../ndb/test/include -I../../../ndb/include/mgmapi -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -MT mainPopulate.o -MD -MP -MF ".deps/mainPopulate.Tpo" -c -o mainPopulate.o `test -f 'bench/mainPopulate.cpp' || echo './'`bench/mainPopulate.cpp; \
then mv -f ".deps/mainPopulate.Tpo" ".deps/mainPopulate.Po"; else rm -f ".deps/mainPopulate.Tpo"; exit 1; fi
bench/mainPopulate.cpp:20:27: userInterface.h: No such file or directory
bench/mainPopulate.cpp:21:24: dbPopulate.h: No such file or directory
bench/mainPopulate.cpp: In function `int main(int, const char**)':
bench/mainPopulate.cpp:58: `UserHandle' undeclared (first use this function)
bench/mainPopulate.cpp:58: (Each undeclared identifier is reported only once
for each function it appears in.)
bench/mainPopulate.cpp:58: `uh' undeclared (first use this function)
bench/mainPopulate.cpp:76: `userDbConnect' undeclared (first use this function)
bench/mainPopulate.cpp:77: `dbPopulate' undeclared (first use this function)
bench/mainPopulate.cpp:78: `userDbDisconnect' undeclared (first use this
function)
make[5]: *** [mainPopulate.o] Error 1
make[5]: Leaving directory `/usr/MysqlTools/dagobert/product/4.1.11-src/ndb/test/ndbapi'

How to repeat:
./configure  --with-ndbcluster --with-ndb-test --with-ndb-docs --with-ndb-port --with-ndb-port-base

Suggested fix:
make sure all needed include files are actualy present in the release source tarball