Bug #10813 Build with SCI Transporter fails
Submitted: 24 May 2005 1:23 Modified: 24 May 2005 1:29
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0.4 OS:
Assigned to: Stewart Smith CPU Architecture:Any

[24 May 2005 1:23] Stewart Smith
Description:
Building with SCI transporter enabled fails.

[t1] /usr/local/src/mysql-5.0.4-beta/ndb/src/common/transporter# gmake
if /bin/sh ../../../../libtool --preserve-dup-deps --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -DNDEBUG   -I. -I. -I../../../.. -I../../../../ndb/include/mgmapi -I../../../../ndb/src/mgmapi -I../../../../ndb/include/debugger -I../../../../ndb/include/kernel -I../../../../ndb/include/transporter -I/opt/DIS/include -I. -I../../../../include -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger    -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti   -MT SCI_Transporter.lo -MD -MP -MF ".deps/SCI_Transporter.Tpo" -c -o SCI_Transporter.lo SCI_Transporter.cpp; \
then mv -f ".deps/SCI_Transporter.Tpo" ".deps/SCI_Transporter.Plo"; else rm -f ".deps/SCI_Transporter.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../.. -I../../../../ndb/include/mgmapi -I../../../../ndb/src/mgmapi -I../../../../ndb/include/debugger -I../../../../ndb/include/kernel -I../../../../ndb/include/transporter -I/opt/DIS/include -I. -I../../../../include -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -MT SCI_Transporter.lo -MD -MP -MF .deps/SCI_Transporter.Tpo -c SCI_Transporter.cpp  -fPIC -DPIC -o .libs/SCI_Transporter.o
SCI_Transporter.cpp: In constructor `SCI_Transporter::SCI_Transporter(TransporterRegistry&, const char*, const char*, int, bool, Uint32, Uint32, Uint32, Uint16, Uint16, NodeId, NodeId, NodeId, bool, bool, Uint32)':
SCI_Transporter.cpp:51: error: `serverNodeID' undeclared (first use this function)
SCI_Transporter.cpp:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
gmake: *** [SCI_Transporter.lo] Error 1

How to repeat:
./configure --prefix=/usr/local/mysql --with-ndbcluster --with-ndb-sci=/opt/DIS --with-extra-charsets=complex

Suggested fix:
change serverNodeID to serverNodeId (the d at the end is now lower case)
[24 May 2005 1:28] 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/internals/25200
[24 May 2005 1:28] Stewart Smith
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Fixed in ndb tree, will hit main 5.0 tree soon.
[24 May 2005 1:29] Stewart Smith
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html