Multiple __classid definition



Some info about my environment:

[root@churchill ORBit2]# gcc --version
gcc (GCC) 3.2

[root@churchill ORBit2]# automake --version
automake (GNU automake) 1.7a

[root@churchill ORBit2]# autoconf --version
autoconf (GNU Autoconf) 2.57

[root@churchill ORBit2]# libtool --version
ltmain.sh (GNU libtool) 1.4e (1.1165 2002/12/11
19:44:59)

I got this error when I tried to compile ORBit2:

/bin/sh ../../libtool --mode=link gcc  -g -O2   -o
libORBit-2.la -rpath /usr/local/gnome-2/lib
-version-info 0:0:0 -pthread -Wl,--export-dynamic
-L/usr/local/gnome-2/lib -llinc -lgthread-2.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lpopt
orbit-init.lo util/liborb-util.la GIOP/libGIOP.la
orb-core/liborb-core.la poa/liborb-poa.la
dynamic/liborb-dynamic.la 
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)(.data+0x0):
multiple definition of `CORBA_Current__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.data+0x0):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.data+0x4):
multiple definition of `CORBA_Policy__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.data+0x4):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.data+0x8):
multiple definition of `CORBA_DomainManager__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.data+0x8):
first defined here
orb-core/.libs/liborb-core.a(iop-defs-common.o)(.data+0xc):
multiple definition of
`CORBA_ConstructionPolicy__classid'
orb-core/.libs/liborb-core.a(corba-defs-common.o)(.data+0xc):
first defined here
 same thing .... until

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've been wokring on this for a while now, and I'd
appreciate some help. I posted a message about this
earlier where I included the feedback I got from some
developers and such about this matter. However, even
though I've followed their suggestions, I can't seem
to get this to work. Is anybody else having the same
problem?

Andres Ortega

=======

    To be is to be perceived
                   --George Berkeley




__________________________________________________
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]