[omniORB] To Compile under AIX...
Gary Duzan
gduzan@bbn.com
Wed Apr 16 15:10:02 2003
In Message <3E9CE76D.2050606@noos.fr> ,
Vaillant Etienne <vaillant.etienne@noos.fr> 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
It is mostly a guess, since I haven't used AIX for a while, but I
don't think you want to use makeC++SharedLib_r with gcc; it is
more for compiling with xlC. I think you need to fix this in
src/tool/omniidl/cxx/dir.mk, since it is unconditionally using
makeC++SharedLib_r under AIX. This used to be reasonable since only xlC
was usable, but gcc is at least closer now, so something more resembling
the Linux library build would be appropriate for your case.
Good luck.
Gary Duzan
BBN Technologies
A Verizon Company