Multiple Class id definition
- From: Andres Ortega <devcodegcc yahoo com>
- To: orbit-list gnome org
- Subject: Multiple Class id definition
- Date: Mon, 30 Dec 2002 19:35:00 -0800 (PST)
I have touched on this issue before ( orbit-list
digest, Vol 1 #701 ), but this time I even recompiled
my compiler to a newer version ( gcc-3.4 ) and this is
what I got when I tried to build ORBit2 ( which is
something similar to the error I got with gcc-3.3 )
gcc -shared .libs/orbit-init.o -Wl,--whole-archive
util/.libs/liborb-util.a GIOP/.libs/libGIOP.a
orb-core/.libs/liborb-core.a poa/.libs/liborb-poa.a
dynamic/.libs/liborb-dynamic.a -Wl,--no-whole-archive
-Wl,--rpath -Wl,/usr/local/gnome-2/lib -Wl,--rpath
-Wl,/usr/local/gnome-2/lib -L/usr/local/gnome-2/lib
/usr/local/gnome-2/lib/liblinc.so
/usr/local/gnome-2/lib/libgthread-2.0.so
/usr/local/gnome-2/lib/libgobject-2.0.so
/usr/local/gnome-2/lib/libgmodule-2.0.so -ldl
/usr/local/gnome-2/lib/libglib-2.0.so
/usr/lib/libpopt.so -Wl,--export-dynamic -Wl,-soname
-Wl,libORBit-2.so.0 -o .libs/libORBit-2.so.0.0.0
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x4):
multiple definition of `CORBA_Current__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x4):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x8):
multiple definition of `CORBA_Policy__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x8):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0xc):
multiple definition of `CORBA_DomainManager__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0xc):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x10):
multiple definition of
`CORBA_ConstructionPolicy__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x10):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x14):
multiple definition of `CORBA_IRObject__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x14):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x18):
multiple definition of `CORBA_Contained__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x18):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x1c):
multiple definition of `CORBA_Container__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x1c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x20):
multiple definition of `CORBA_IDLType__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x20):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x24):
multiple definition of `CORBA_Repository__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x24):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x28):
multiple definition of `CORBA_ModuleDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x28):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x2c):
multiple definition of `CORBA_ConstantDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x2c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x30):
multiple definition of `CORBA_TypedefDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x30):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x34):
multiple definition of `CORBA_StructDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x34):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x38):
multiple definition of `CORBA_UnionDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x38):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x3c):
multiple definition of `CORBA_EnumDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x3c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x40):
multiple definition of `CORBA_AliasDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x40):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x44):
multiple definition of `CORBA_NativeDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x44):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x48):
multiple definition of `CORBA_PrimitiveDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x48):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x4c):
multiple definition of `CORBA_StringDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x4c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x50):
multiple definition of `CORBA_WstringDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x50):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x54):
multiple definition of `CORBA_FixedDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x54):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x58):
multiple definition of `CORBA_SequenceDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x58):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x5c):
multiple definition of `CORBA_ArrayDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x5c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x60):
multiple definition of `CORBA_ExceptionDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x60):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x64):
multiple definition of `CORBA_AttributeDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x64):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x68):
multiple definition of `CORBA_OperationDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x68):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x6c):
multiple definition of `CORBA_InterfaceDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x6c):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x70):
multiple definition of `CORBA_ValueMemberDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x70):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x74):
multiple definition of `CORBA_ValueDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x74):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.bss+0x78):
multiple definition of `CORBA_ValueBoxDef__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.bss+0x78):
first defined here
collect2: ld returned 1 exit status
make[4]: *** [libORBit-2.la] Error 1
make[4]: Leaving directory
`/usr/src/Source/gnome/ORBit2/src/orb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/Source/gnome/ORBit2/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/Source/gnome/ORBit2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/Source/gnome/ORBit2'
make: *** [all] Error 2
I would appreciate any comments, suggestions for a
fix. It would also be interesting to know if anybody
else is having these problems.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]