Hi Jonas and Qi,
I have downloaded the new tree from bk today (8/18). On the Sparc/Solaris 9
box, the compilation is successful, and I am able to start the management
server and ndbd without the Bus Error. I have not yet examined any detail
other than starting the database.
Thanks for the fix!
One item that may not be crucial to the functioning of the database is the
following query executed under ndb_mgmd:
show config
_mgmtSrvr.getConfigInfo()->print;
show parameters
_mgmtSrvr.getConfigFile()->print;
"show" by itself does work and prints the Cluster Configuration.
Under Solaris x86, the compilation works for ndb/src/mgmsrv by itself, i.e.
the errors in main.cpp no longer show up. However, a new error appeared in
ndb/src/ndbapi:
Making all in ndbapi
gmake[4]: Entering directory `/usr/local/compiled/mysql-4.1/ndb/src/ndbapi'
if /bin/bash ../../../libtool --preserve-dup-deps --mode=compile g++
-DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../.. -I../../../ndb/src/mgmapi -I.
-I../../../include -I../../../ndb/include -I../../../ndb/include/kernel
-I../../../ndb/include/transporter -I../../../ndb/include/debugger
-I../../../ndb/include/mgmapi -I../../../ndb/include/mgmcommon
-I../../../ndb/include/ndbapi -I../../../ndb/include/util
-I../../../ndb/include/portlib -I../../../ndb/include/logger -O3
-DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti
-D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -fimplicit-templates -MT
NdbOperationInt.lo -MD -MP -MF ".deps/NdbOperationInt.Tpo" -c -o
NdbOperationInt.lo NdbOperationInt.cpp; \
then mv -f ".deps/NdbOperationInt.Tpo" ".deps/NdbOperationInt.Plo"; else rm
-f ".deps/NdbOperationInt.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../.. -I../../../ndb/src/mgmapi
-I. -I../../../include -I../../../ndb/include -I../../../ndb/include/kernel
-I../../../ndb/include/transporter -I../../../ndb/include/debugger
-I../../../ndb/include/mgmapi -I../../../ndb/include/mgmcommon
-I../../../ndb/include/ndbapi -I../../../ndb/include/util
-I../../../ndb/include/portlib -I../../../ndb/include/logger -O3 -DDBUG_OFF
-fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64
-DHAVE_RWLOCK_T -fimplicit-templates -MT NdbOperationInt.lo -MD -MP -MF
.deps/NdbOperationInt.Tpo -c NdbOperationInt.cpp -fPIC -DPIC -o
.libs/NdbOperationInt.o
In file included from NdbOperationInt.cpp:35:
../../../ndb/include/kernel/Interpreter.hpp:86: error: parse error before
numeric constant
../../../ndb/include/kernel/Interpreter.hpp:187: error: parse error before
numeric constant
../../../ndb/include/kernel/Interpreter.hpp: In static member function `static
Uint32 Interpreter::Branch(...)':
../../../ndb/include/kernel/Interpreter.hpp:188: error: `R2' undeclared (first
use this function)
../../../ndb/include/kernel/Interpreter.hpp:188: error: (Each undeclared
identifier is reported only once for each function it appears in.)
../../../ndb/include/kernel/Interpreter.hpp:188: error: `Inst' undeclared
(first use this function)
gmake[4]: *** [NdbOperationInt.lo] Error 1
gmake[4]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb/src/ndbapi'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/compiled/mysql-4.1'
gmake: *** [all] Error 2
Thanks, Jonas.
- Alex
At 07:13 PM 8/17/2004, Jonas Oreland wrote:
>Hi Alex & Qi,
>
>I've now pushed fixes so that I can compile and run mysql-test-run
>on a Solaris9/sparc.
>
>It take some hours before the fixes will be available on the public bk-trees.
>
>I would appreciate it you tried them.
>
>/Jonas
>
>
>--
>Jonas Oreland, Software Engineer
>MySQL AB, www.mysql.com
>
>--
>MySQL Cluster Mailing List
>For list archives: http://lists.mysql.com/cluster
>To unsubscribe: http://lists.mysql.com/cluster?unsub=1
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Alexander Haubold
Columbia University - SEAS 2001, 2003
362 Riverside Dr. #5B3
New York, NY 10025
Phone: +212-853-8239
Email: ah297 [at] columbia [dot] edu
WWW: http://www.aquaphoenix.com