fighting multiple symbol definitions in ORBit2 on OSX 10.2.2 (fwd)



hi all,

i'm in the process of building prereqs for gnumeric on Mac OSX 10.2.2 ....
and have hit some confusion with ORBit2 ..... can you help?

autogen.sh works fine, but make fails with a bunch o' complaining about
multiple symbol definitions ..... (make tail is below ...)

i've tried the usual CFLAGS & LDFLAGS variants, as well as known
convenience lib fixes to ltmain.sh -- to no avail .....

one of the authors suggested:

> Find out why it is linking with both -lintl and -liconv.

my 1st naive answer is that configure (in autogen) won't complete without
both the presence of libiconv & lintl .....

any ideas/suggestions as to what the problem may be here?

thanks,

richard

--------------------------------------
R Blake
blakers <at> mac <dot> com
http://www.presence-group.com/opensource_osx
--------------------------------------

********* make tail *****************
mv -f .libs/orbit-init.lo orbit-init.lo
/bin/sh ../../libtool --mode=link gcc  -fno-common -no-cpp-precomp
-bind_at_load -L/usr/local/libiconv/lib -L/usr/local/gettext/lib
-flat_namespace -undefined suppress -o libORBit-2.la -rpath /usr/local/lib
-version-info 0:0:0 -L/usr/local/lib -llinc -lgthread-2.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl -liconv   -lpopt orbit-init.lo
util/liborb-util.la GIOP/libGIOP.la orb-core/liborb-core.la
poa/liborb-poa.la dynamic/liborb-dynamic.la rm -fr .libs/libORBit-2.la
.libs/libORBit-2.* .libs/libORBit-2.*
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libORBit-2.0.0.0.dylib  orbit-init.lo -all_load
util/.libs/liborb-util.al GIOP/.libs/libGIOP.al
orb-core/.libs/liborb-core.al poa/.libs/liborb-poa.al
dynamic/.libs/liborb-dynamic.al  -L/usr/local/libiconv/lib
-L/usr/local/gettext/lib -L/usr/local/lib -llinc -lgthread-2.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
/usr/local/lib/.libs/libpopt.a util/.libs/liborb-util.al
GIOP/.libs/libGIOP.al orb-core/.libs/liborb-core.al poa/.libs/liborb-poa.al
dynamic/.libs/liborb-dynamic.al -lc -install_name
/usr/local/lib/libORBit-2.0.dylib -compatibility_version 1 -current_version
1.0 ld: multiple definitions of symbol _CORBA_AliasDef__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_AliasDef__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_AliasDef__classid in section (__DATA,__data) ld: multiple
definitions of symbol _CORBA_ArrayDef__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_ArrayDef__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_ArrayDef__classid in section (__DATA,__data) ld: multiple
definitions of symbol _CORBA_AttributeDef__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_AttributeDef__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_AttributeDef__classid in section (__DATA,__data) ld: multiple
definitions of symbol _CORBA_ConstantDef__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_ConstantDef__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_ConstantDef__classid in section (__DATA,__data) ld: multiple
definitions of symbol _CORBA_ConstructionPolicy__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_ConstructionPolicy__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_ConstructionPolicy__classid in section (__DATA,__data) ld: multiple
definitions of symbol _CORBA_Contained__classid
orb-core/.libs/liborb-core.al(corba-defs-common.lo) definition of
_CORBA_Contained__classid in section (__DATA,__data)
orb-core/.libs/liborb-core.al(iop-defs-common.lo) definition of
_CORBA_Contained__classid in section (__DATA,__data) ld:
...
...
...
multiple definitions of symbol _DynamicAny_DynUnion_set_to_no_active_member
dynamic/.libs/liborb-dynamic.al(dynany.lo) definition of
_DynamicAny_DynUnion_set_to_no_active_member in section (__TEXT,__text)
dynamic/.libs/liborb-dynamic.al(dynany.lo) definition of
_DynamicAny_DynUnion_set_to_no_active_member in section (__TEXT,__text) ld:
multiple definitions of symbol _ORBit_dynany_new_default
dynamic/.libs/liborb-dynamic.al(dynany.lo) definition of
_ORBit_dynany_new_default in section (__TEXT,__text)
dynamic/.libs/liborb-dynamic.al(dynany.lo) definition of
_ORBit_dynany_new_default in section (__TEXT,__text) make[4]: ***
[libORBit-2.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[root@g4edgar]/usr/ports/ORBit2>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]