[omniORB] Compilation omniORB4 (snapshot) on Linux - LongDoubleSeq

Brecht Vermeulen brecht.vermeulen@rug.ac.be
Wed, 24 Apr 2002 22:40:43 +0200


Hi,

I'm just replying on my old mail of Tue Mar 12 2002 - 01:12:01 GMT

regarding :

I've just downloaded the latest snapshot (20020311) and tried to compile 
it on a Debian 2.2/Linux glibc 2.1 platform with the old method (not the 
new configure) via the debian scripts to make debian packages and had 
the following error : 

/usr/bin/g++ -c -O2 -Wall -Wno-unused -I.. -I./.. 
-I../../../../include/omniORB4/internal -D_REENTRANT 
-DUSE_omniORB_logStream -D_OMNIORB_LIBRARY 
-DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' 
-DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I. 
-I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o 
static/anonObject.o anonObject.cc 
In file included from ../../../../include/omniORB4/CORBA.h:444, 
                 from anonObject.cc:60: 
../../../../include/omniORB4/dynAny.h:148: `LongDoubleSeq' undeclared in 
namespace `CORBA' 

I said in that thread that it just disappeared suddenly.
Well, I had the same problem again on another computer and I've solved
it by first removing the existing earlier version omniORB on that PC
(also Debian linux) (well in fact only the debian omniorb-dev package
which includes header files in /usr/include, the static libraries and
omniidl and omnidlrun.py).

Perhaps there is some wrong header file included during compilation or
so ? (I haven't tracked it down).
If you afterwards try to compile again the source, then you don't have
to remove the existing omniorb installation.

(by the way I now used the beta version of 4th April).

regards,
Brecht