List:Cluster« Previous MessageNext Message »
From:Magnus Svensson Date:July 23 2004 8:26am
Subject:Re: Cluster on Solaris 9: Bus Error, Core Dump
View as plain text  
On Thu, 2004-07-22 at 21:28, Alexander Haubold wrote:
> Hi Mark and everyone,
> 
> I have previously worked with an older version that wasn't pulled from 
> BitKeeper. I have now obtained the latest version, and am stuck at 
> compiling it for Sparc:
> 
> if g++ -DHAVE_CONFIG_H -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD   -I. -I. 
> -I../../../.. -I/usr/include -I../../../../ndb/src/mgmapi -I. 
> -I../../../../include -I../../../../ndb/include 
> -I../../../../ndb/src/kernel/vm -I../../../../ndb/src/kernel/error 
> -I../../../../ndb/src/kernel -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    -g -O 
> -DSAFE_MUTEX    -fno-implicit-templates -fno-exceptions -fno-rtti 
> -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -fimplicit-templates   -MT 
> Emulator.o -MD -MP -MF ".deps/Emulator.Tpo" -c -o Emulator.o Emulator.cpp; \
> then mv -f ".deps/Emulator.Tpo" ".deps/Emulator.Po"; else rm -f 
> ".deps/Emulator.Tpo"; exit 1; fi
> Emulator.cpp: In function `void NdbShutdown(NdbShutdownType, NdbRestartType)':
> Emulator.cpp:174: error: `signal' undeclared (first use this function)
> Emulator.cpp:174: error: (Each undeclared identifier is reported only once for
>     each function it appears in.)
> gmake: *** [Emulator.o] Error 1


Try to include the file signal.h in the file
ndb/src/kernel/vm/Emulator.cpp

Best regards
Magnus

> 
> I have tried adding the header sys/proc.h, and further adding -D_KERNEL, 
> because signal is defined in an ifdef. This caused even bigger confusion. 
> Am I doing something very basic wrong?
> 
> The configure options I am using are: --prefix=/usr/local/mysql 
> --with-ndbcluster --without-innodb --with-debug
> 
> Thanks.
> 
> - Alex
> 
> At 04:29 PM 7/20/2004, Mark Kim wrote:
> >How recently did you pull mysql cluster down from bitkeeper?  Also, did you
> >configure it with debug (--with-debug) turned on (if you compiled with gcc) or
> >run it with strace?   Could you send us the output of either?
> >
> >Mark
> >
> >Alexander Haubold wrote:
> >
> > > Hi everyone,
> > >
> > > I, too, am having problems getting MySQL Cluster (4.1.4) to run on
> > > Sparc/Solaris 9. While the management server starts just fine, ndbd
> appears
> > > to not work. The error is simply:
> > > Bus Error (core dumped)
> > >
> > > On a side note, typing in the command "SHOW PARAMETERS" on the management
> > > server prompt results in the following:
> > > _mgmtSrvr.getConfigInfo()->print;
> > >
> > > Any suggestions would be welcome.
> > >
> > > Thanks.
> > >
> > > - Alex
> > >
> > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> > > +-+-+-+-+-
> > > Alexander Haubold
> > > Columbia University - SEAS 2001, 2003
> > >
> > > 362 Riverside Dr. #5B3
> > > New York, NY 10025
> > >
> > > Phone: +212-853-8239
> > > Email: ah297@stripped
> > > WWW: http://www.aquaphoenix.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@stripped
> WWW: http://www.aquaphoenix.com
-- 
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com
Office: +46 709 164 491

Thread
Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold20 Jul
  • Re: Cluster on Solaris 9: Bus Error, Core DumpMark Kim20 Jul
    • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold22 Jul
      • Re: Cluster on Solaris 9: Bus Error, Core DumpMagnus Svensson23 Jul
    • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold23 Jul
      • Re: Cluster on Solaris 9: Bus Error, Core DumpMagnus Svensson23 Jul
        • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold23 Jul
        • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold27 Jul
        • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold27 Jul
          • Re: Cluster on Solaris 9: Bus Error, Core DumpMagnus Svensson28 Jul
            • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold28 Jul
  • Re: Cluster on Solaris 9: Bus Error, Core DumpMark Kim27 Jul
    • Re: Cluster on Solaris 9: Bus Error, Core DumpAlexander Haubold28 Jul