[omniORB] omniORB 40 on HP-UX (build problem)

Corrado Giacomini Corrado.Giacomini@trema.com
Fri, 22 Mar 2002 08:59:05 +0100


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
 
Duncan.


Duncan Grisby wrote:

> On Thursday 21 March, Corrado Giacomini wrote:
>
>> INSTLIBFLAGS  in mk/beforeauto.mk file should be set to  0755 instead 
>> of 0644 to make them executable  otherwise
>>
>
> How odd. It's a library so you wouldn't think it would need to be
> executable. Anyway, I've fixed it.
>
>> "../../../../../omni/src/lib/omniORB/orbcore/unix/unixConnection.cc", 
>> line 162: error:
>>          name followed by "::" must be a class or namespace name
>>        if (t.tv_sec > giopStrand::scanPeriod) {
>>
>
> That got missed when things were changed some time ago, but nobody
> noticed since that bit of code isn't used on most platforms. It's
> fixed now in CVS.
>
> Cheers,
>
> Duncan.
>