[omniORB] 2.7.0 question: IOP::TaggedProfile multiple defs.

David Riddoch djr@orl.co.uk
Wed, 3 Feb 1999 10:30:43 +0000 (GMT)



Aaron,

We're going to need quite a lot more info from you to be able to help with
this. We certainly need to know your platform, and it would be a huge help
if you could give a minimal example so that we can reproduce the problem
here.

The omniORB library already contains a number of SK.o files which include
IOP.h, and the definition of IOP::TaggedProfile hasn't changed for a few
versions - so its unlikely that that is the cause of the problem.

David


On Fri, 22 Jan 1999, Aaron Van Couwenberghe wrote:

> Quick question. I just got and built omniorb 2.7.0 (also added a few random
> lc mods from duncan -- this doesn't affect what this post is about though)
> for use with the Berlin project.
> 	Just had one problem. our 115k of idl worked fine with >= 2.6.0;
> seems to here as well. however upon linking the SK.o/DynSK.o files into the
> usual shared library, I recieve this error:
> 
> glyphSK.o: In function 	OP::TaggedProfile::NP_alignedSize(unsigned int)':
> /usr/local/include/omniORB2/IOP.h:64: multiple definition of lobal
> constructors keyed to
> _CORBA_Unbounded_Sequence<IOP::TaggedProfile>::NP_alignedSize(unsigned int)
> const'
> unicharSK.o:/usr/local/include/omniORB2/IOP.h:64: first defined here
> collect2: ld returned 1 exit status
> 
> Anybody ever encountered this before? Any known method to fix it?
> 
> I also went back over my files to make sure I hadn't left any dangling
> extras in there.
> 
> -- 
> ..Aaron Van Couwenberghe... ..vanco@sonic.net.. ..aaronv@debian.org....
> 	Berlin:			http://www.berlin-consortium.org
> 	Debian GNU/Linux:	http://www.debian.org
> 
> Nullum magnum ingenium sine mixtura dementiae fuit. -- Seneca
> 
>