[omniORB] Compile error on gcc 2.8.1

Eric Raskin ehr@listworks.com
Wed, 28 Apr 1999 17:07:59 -0400


Hello all!!

I'm trying to create a DG/UX [Intel - 4.20MU03] port for omniORB2 (lot's of
luck! ;-) )

Anyway, I'm using gcc 2.8.1 to compile, and I'm getting the following error:

+ g++ -o omniNames -Wall -Wno-unused -L../../../lib/i586_dgux_4.20
omniNames.o NamingContext_i.o
log.o -lomniORB2 -lomniDynamic2 -lomnithread -lpthread -ltcpwrapGK
UX:ld: ERROR: ../../../lib/i586_dgux_4.20/libomniORB2.a(ior.o): fatal error:
symbol `__t15_CORBA_Sequence1ZQ23IOP13TaggedProfile` multiply-defined, also
in file ../../../lib/i586_dgux_4.20/libomniORB2.a(bootstrap_i.o)
make[2]: *** [omniNames] Error 1

This comes up when building omniNames (obviously).  My initial reaction is
that this is a name mangling problem in g++ 2.8.1.

Does anyone have any suggestions or ideas about this?  Is there anything I
can change in bootstrap_i.cc or ior.cc to get around it?

----------------------------------------------------------------------------
----------------
Eric H. Raskin                                 Voice: 914-769-7100 x321
President, CSC Division                   Fax:    914-769-8070
The Listworks Corp.                         E-Mail: ehr@listworks.com
1 Campus Drive
Pleasantville, NY 10570