[omniORB] problem compiling latest CVS omniORBpy snapshot

glowstars@gmx.de glowstars@gmx.de
Thu, 17 Aug 2000 08:45:19 +0200 (MEST)


Hi,


Mark Borges wrote:

> 
> Using the latest (I think) CVS snapshot of omniORBpy/omniORB3 with the
> new support for long long [...] and compiling gcc-2.95.2 under Solaris-
> 2.6, I'm seeing the appended error
> compiling pyMarshal.cc:
> 
> g++ -c  -fexceptions -Wall -Wno-unused -fPIC -DOMNIPY_MAJOR=0
> -DOMNIPY_MINOR=5 -DOMNIORB_VERSION_STRING=\"3.0.0\" -DOMNIORBPY_FOR_30
> -I../../../../src/lib/omniORB2 -I../../../../src/lib/omniORB2/orbcore
> -I/opt/local/include -I.  -I../../../../include -D__
> 
> Any idea what could be wrong? If necessary, I can provide more details
> on demand.

I've got the same Problem on Solaris 2.5.1.  Looks like HAS_LongLong is
not defined on Solaris using gcc (in CORBA_sysdep.h) und the alternative
code used in this case is somewhat broken.  Try adding -DHAS_LongLong
to your CXXDEBUGFLAGS (and recompile everything, not only omniORBpy!)
since gcc has long long support.

Hope that helps until Duncan fixes it ;-)

Cheers,

Thorsten Roskowetz

-- 
Sent through GMX FreeMail - http://www.gmx.net