[omniORB] To Compile under AIX...

Vaillant Etienne vaillant.etienne@noos.fr
Thu Apr 17 17:49:01 2003


Hello,

>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.
>  
>
It is true but it is the problem when I want to compile with gcc because
omniorb "want" to use makeC++SharedLib_r. So I read
"src/tool/omniidl/cxx/dir.mk" but i don't see what I must modify.
Nevertheless, I try to modify : I remplace the word "AIX" by the word
"linux" and "linux" by the word "AIX" at the line 95 et 149.... but
there are alwas error... :((

So have you any idea ?

thak
Etienne