[omniORB] Problems compiling omni4_0_develop

Marc Ordinas i Llopis marc@factoriaX.com
Sat, 27 Jan 2001 11:44:58 -0500


Sai-Lai Lo wrote:

> The omni4_0_develop branch should now compile. Apart from some missing
> GNUmakefiles, I have to make some changes to the cxx backend to fix the
> error you've seen. Its interesting that the backend problem only occurs
> when omniidl is given a relative path name as the -p option.
> 
> I suggest you do a fresh cvs checkout. I'm not 100% sure a cvs update will
> pick up the changes in directory names etc.


Thanks, I got it to start compiling. Unfortunately, it dies like this:

/usr/bin/g++ -c -O2  -Wall -Wno-unused -I..  -D_REENTRANT 
-DUSE_omniORB_logStream -D_OMNIORB_LIBRARY 
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DUnixArchitecture -I.  
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o 
static/bootstrapstub.o bootstrapstub.cc
In file included from bootstrapstub.cc:31:
../omniORB4/bootstrapSK.cc: In method `void 
_0RL_cd_96f078e2247ab9da_20000000::marshalReturnedValues (cdrStream &)':
../omniORB4/bootstrapSK.cc:164: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

But I'm pretty sure this is just the compiler in RH7, known for its 
helpful error messages...

I'll keep trying and tell you if I get any further, although I'm afraid 
I'll have to wait until the next gcc release.

By the way, may I ask which development environment do you develop 
omniORB 4 on?

Thanks again,

Marc Ordinas i Llopis
factoriaX