Re: Error in Compilation of evaluation version of ORBACUS 4.3.0
Darren Middleman <[email protected]> Tue, 30 Aug 2005 13:23:08 -0230
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Arun, > > We are trying to use the evaluation version of ORBACUS 4.3.0 and using GNU > GCC 3.2.3 on SOLARIS 5.8/C++ language support. > > We are getting following errors(segmentation fault) while doing make: > > make[3]: Entering directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/idl/OB' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/idl/OB' > make[2]: Leaving directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/idl' > making all in test > make[2]: Entering directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/test' > making all in types > make[3]: Entering directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/test/types' > rm -f Types.cpp Types.h > ../../bin/idl -I../../idl --no-skeletons Types.idl > make[3]: *** [Types.cpp] Segmentation Fault (core dumped) > make[3]: Leaving directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/test/types' > make[2]: *** [all] Error 1 > make[2]: Leaving directory > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/test' > make[1]: *** [all] Error 1 > `/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob' > make: *** [all] Error 1 > > > I have attached config.env file for reference. > > [...] > > AR="g++"; export AR > ARFLAGS="-xarch=v9 -g -O3 -fPIC -shared -o"; export ARFLAGS > CC="gcc"; export CC > CFLAGS=""; export CFLAGS > CPP=""; export CPP > CPPFLAGS="-I/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval -DNDEBUG "; > export > CPPFLAGS > CXX="g++"; export CXX > CXXFLAGS="-fno-rtti -g -O3 -fPIC -Wall -Wno-format-y2k"; export CXXFLAGS > LDFLAGS="-L/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval "; export LDFLAGS > LDOPTS=""; export LDOPTS > LD_LIBRARY_PATH="/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ > property/lib:/ > oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/event/lib:/oracle/ > arun.kumar/raj > neet/ORBACUS/OB-4.3.0-eval/property/lib:/oracle/arun.kumar/rajneet/ > ORBACUS/OB-4. > 3.0-eval/naming/lib:/oracle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/ob/ > lib:/ora > cle/arun.kumar/rajneet/ORBACUS/OB-4.3.0-eval/jtc/lib:$LD_LIBRARY_PATH"; > export L > D_LIBRARY_PATH > LIBEXT=".so"; export LIBEXT > LIBPATH=""; export LIBPATH > LIBVERFLAG="-Wl,-h,"; export LIBVERFLAG > RANLIB=":"; export RANLIB > RUNCONFIG="yes"; export RUNCONFIG > TMPL_REPOS_DIR=""; export TMPL_REPOS_DIR I just had a look again at the config.env file you sent and I see that you are using the flag -fno-rtti. Orbacus requires that RTTI is enabled to allow dynamic casts to work properly. I would suggest removing that flag and rebuilding Orbacus to see if that clears up the segmentation fault. Regards, Darren -- Darren Middleman, Software Engineer Team Orbacus - Your CORBA Source Email: mailto:[email protected] WWW: http://www.orbacus.com/ _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html