[omniORB] omniORB 40 on HP-UX (build problem)
Corrado Giacomini
Corrado.Giacomini@trema.com
Fri, 22 Mar 2002 09:27:02 +0100
Hi all,
Sorry if I replay to my own mail but I just found that CXXLINKOPTIONS
is not set to "+Wl,+s" in mk/beforeauto.mk for KCC compiler
and this is the reason why all the executable are build with SHLIB-PATH
is disabled.
For what is concerning CXXDEBUGFLAGS, is src/lib/omniORB/orbcore/dir.mk
the right place to set the flags or should they be set in a more specifc
place ?
Thanks in advance,
-Corrado
Corrado Giacomini wrote:
> Hi Duncan,
> Thanks for the fixes...
>
> Now always on HP-UX there are two more other problems:
>
> 1) in order to be able to copile src/lib/omniORB/orbcore I need to put
> the following CXXFLAGS into src/lib/omniORB/orbcore/dir.mk :
> CXXDEBUGFLAGS = -g +K0 --one_per --thread_safe --exceptions +Z
> Well I don't know if it is the proper place to to put them since I
> am not very familiar with makefiles.
>
> Without these flags I have the following error message at link time
> when producing thelibraries :
>
> Error: The setting of --[no_]thread_safe and/or --[no_]exceptions
> in /usr/local/KAI/KCC_BASE/lib32/libKCC-eh-ts.sl is incompatible
> with previous file(s) in this link.
>
> 2) with these flags I am able to copile omniORB40 on HP but all the
> executable seams to be linked without "+Wl,+s flag"
> infact using "chatr" on each executable I can see that SHLIB-PATH
> is disabled.
> I had a look into mk/beforeauto.mk file and it seams the
> CXXLINKOPTIONS is properly set but is not use at link time.
> -Corrado