[omniORB] To Compile under AIX...

Matthew Bettencourt matt@mail.ssc.usm.edu
Wed Apr 16 15:34:01 2003


I am using AIX 5.1 and it builds w/o a problem using xlC and 
makeC++SharedLib.  Are you sure you cleaned completely before doing a 
configure and made sure it was not using gcc anywhere (like linked to cc)
Matt
Vaillant Etienne wrote:
> Hello,
> 
> I need to omniorb under AIX so I want to compile it but I have some 
> problems.
> 
> My AIX is :
>    version : 4.3.3.0
> 
> Omniorb is :
>    version : 4.0.1
> 
> In first, I try to use gcc (3.2) :
>    ../configure
>    gmake
> 
> and I have some error messages :
> + rm -f _omniidlmodule.so.1.0
> + makeC++SharedLib_r -n init_omniidl -o _omniidlmodule.so.1.0 
> -bI:/usr/local/python/courant/lib/python1.5/config/python.exp 
> -L../../../../lib -L../../../../lib -bhal
> t:4 -T512 -H512 y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o 
> idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o 
> idlconfig.o idlfixed.o idlpython.o -p
> 40
> ld: 0711-317 ERROR: Undefined symbol: 
> _ZTVN10__cxxabiv121__vmi_class_type_infoE
> ld: 0711-317 ERROR: Undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE
> ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
> ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
> ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
> ld: 0711-317 ERROR: Undefined symbol: ._Znwm
> ld: 0711-317 ERROR: Undefined symbol: ._Znam
> ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
> ld: 0711-317 ERROR: Undefined symbol: 
> _ZTVN10__cxxabiv120__si_class_type_infoE
> ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
> ld: 0711-317 ERROR: Undefined symbol: .__cxa_allocate_exception
> ld: 0711-317 ERROR: Undefined symbol: .__cxa_throw
> ld: 0711-317 ERROR: Undefined symbol: .__ashrdi3
> ld: 0711-317 ERROR: Undefined symbol: .__lshrdi3
> ld: 0711-317 ERROR: Undefined symbol: .__ashldi3
> ld: 0711-317 ERROR: Undefined symbol: .__umoddi3
> ld: 0711-317 ERROR: Undefined symbol: .__moddi3
> ld: 0711-317 ERROR: Undefined symbol: .__cxa_begin_catch
> ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catch
> ld: 0711-317 ERROR: Undefined symbol: .__udivdi3
> ld: 0711-317 ERROR: Undefined symbol: .__divdi3
> ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitD1Ev
> ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitC1Ev
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
> information.
> gmake[4]: *** [_omniidlmodule.so.1.0] Error 8
> gmake[4]: Leaving directory 
> `/tmp_users/scdprve/omniORB-4.0.1/src/tool/omniidl/cxx'
> gmake[3]: *** [export] Error 2
> gmake[3]: Leaving directory 
> `/tmp_users/scdprve/omniORB-4.0.1/src/tool/omniidl'
> gmake[2]: *** [export] Error 2
> gmake[2]: Leaving directory `/tmp_users/scdprve/omniORB-4.0.1/src/tool'
> gmake[1]: *** [export] Error 2
> gmake[1]: Leaving directory `/tmp_users/scdprve/omniORB-4.0.1/src'
> gmake: *** [all] Error 2
> 
> In second, I try to use native compler(VisualAge C++/Professional 
> Version 6)
>    ../configure
>    gmake
> 
> and I have some error messages :
> + rm -f static/libomnithread.a
> + ar cq static/libomnithread.a static/posix.o
> + ranlib static/libomnithread.a
> + rm -f shared/libomnithread.so.3.0
> + cc -qmkshrobj -o shared/libomnithread.so.3.0 -L../../../lib 
> -L../../../lib shared/posix.o -lpthread
> ld: 0711-317 ERROR: Undefined symbol: 
> __vft24__DynaCastDesc_si_public14__DynaCastDesc
> ld: 0711-317 ERROR: Undefined symbol: __vft13eti_cplusplus9type_info
> ld: 0711-317 ERROR: Undefined symbol: __dl__FPv
> ld: 0711-317 ERROR: Undefined symbol: .__Throw
> ld: 0711-317 ERROR: Undefined symbol: .__nw__FUl
> ld: 0711-317 ERROR: Undefined symbol: .__dl__FPv
> ld: 0711-317 ERROR: Undefined symbol: .__vd__FPv
> ld: 0711-317 ERROR: Undefined symbol: .__vn__FUl
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
> information.
> gmake[3]: *** [shared/libomnithread.so.3.0] Error 8
> gmake[3]: Leaving directory 
> `/tmp_users/scdprve/omniORB-4.0.1/src/lib/omnithread'
> gmake[2]: *** [export] Error 2
> gmake[2]: Leaving directory `/tmp_users/scdprve/omniORB-4.0.1/src/lib'
> gmake[1]: *** [export] Error 2
> gmake[1]: Leaving directory `/tmp_users/scdprve/omniORB-4.0.1/src'
> gmake: *** [all] Error 2
> tom01 /tmp_users/scdprve/omniORB-4.0.1 (35) $
> 
> are there everybody who has complie omniorb under AIX ? And how ?
> 
> thank you
> Etienne
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>