Installation problem with CORBA::omniORB

Installation problem with CORBA::omniORB

am 19.02.2007 13:29:07 von constantin.wiemer

Hi all,

I'm trying to install CORBA::omniORB on Linux (Fedora Core 4) but I'm
getting the following compilation error:

g++ -c -D__x86__ -D__linux__ -D__OSVERSION__=2 -I/usr/local/include
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -
pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -DVERSION=\"0.8\"
-DXS_VERSION=\"0.8\" -fpic
"-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" server.cc
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is
valid for C/ObjC but not for C++
server.cc: In function void init_forward_request():
server.cc:401: error: no matching function for call to
CORBA::TypeCode::PR_exception_tc(const char [46], const char [15],
CORBA::PR_structMember [1], int)
/usr/local/include/omniORB4/CORBA_TypeCode.h:265: note: candidates
are:
static CORBA::TypeCode* CORBA::TypeCode::PR_exception_tc(const char*,
const
char*, const CORBA::PR_structMember*, CORBA::ULong,
CORBA::TypeCode::_Tracker*)
make: *** [server.o] Error 1

I use omniORB 4.1.0, omniifr 2.pre.1, CORBA::omniORB 0.8, gcc 4.0.0
and
Perl 5.8.8.

I'm pretty much stuck at this point. I tried to google for the error
but without any success. Any ideas what the problem could be are very
much appreciated.

Many thanks in advance,
Constantin Wiemer

Re: Installation problem with CORBA::omniORB

am 20.02.2007 09:02:06 von constantin.wiemer

On 19 Feb., 13:29, constantin.wie...@gmx.de wrote:
> Hi all,
>
> I'm trying to install CORBA::omniORB on Linux (Fedora Core 4) but I'm
> getting the following compilation error:
>
> g++ -c -D__x86__ -D__linux__ -D__OSVERSION__=2 -I/usr/local/include
> -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -
> pipe
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -DVERSION=\"0.8\"
> -DXS_VERSION=\"0.8\" -fpic
> "-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" server.cc
> cc1plus: warning: command line option "-Wdeclaration-after-statement"
> is
> valid for C/ObjC but not for C++
> server.cc: In function void init_forward_request():
> server.cc:401: error: no matching function for call to
> CORBA::TypeCode::PR_exception_tc(const char [46], const char [15],
> CORBA::PR_structMember [1], int)
> /usr/local/include/omniORB4/CORBA_TypeCode.h:265: note: candidates
> are:
> static CORBA::TypeCode* CORBA::TypeCode::PR_exception_tc(const char*,
> const
> char*, const CORBA::PR_structMember*, CORBA::ULong,
> CORBA::TypeCode::_Tracker*)
> make: *** [server.o] Error 1
>
> I use omniORB 4.1.0, omniifr 2.pre.1, CORBA::omniORB 0.8, gcc 4.0.0
> and
> Perl 5.8.8.
>
> I'm pretty much stuck at this point. I tried to google for the error
> but without any success. Any ideas what the problem could be are very
> much appreciated.
>
> Many thanks in advance,
> Constantin Wiemer

Just to inform you - it works with omniORB 4.0.7. It seems the module
hasn't been tested with the newest version of omniORB.

Constantin Wiemer