Balachandran Natarajan wrote:
> Hi
>
>
>> TAO VERSION: 1.4
>> ACE VERSION: 5.4
>
>
> Thanks for using the PRF!
>
>
>> HOST MACHINE and OPERATING SYSTEM:
>> SunOS somehost 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-4
>>
>> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>> same
>>
>> COMPILER NAME AND VERSION (AND PATCHLEVEL):
>> CC: Forte Developer 7 C++ 5.4 2002/03/09
>>
>> AREA/CLASS/EXAMPLE AFFECTED:
>>Link error on libTAO.so.1.4.0
>>
>> DOES THE PROBLEM AFFECT:
>> COMPILATION?
>>ace/config.h -> config-sunos5.6.h
>>include/makeinclude/platform_macros.GNU -> platform_sunos5_sunc++.GNU
>>
>> LINKING?
>> On Unix systems, did you run make realclean first?: No (new
>>tar.Z)
>> EXECUTION?
>> OTHER (please specify)?
>>
>> SYNOPSIS:
>>Link error on libTAO.so.1.4.0
>>
>> DESCRIPTION:
>>Am trying to build with above config file, using "gmake distrib=1".
>>ACE compiles/links ok, when I get in $TAO_ROOT/tao, it compile everything
>>successfully, but at then end I get:
>>ld: fatal: symbol
>>`TAO::__RTTI__1CpknDTAOVRet_Object_Argument_T4CpnFCORBAGPolicy_nQTAO_Objref_
>>Var_T4n0C_____' is multiply defined:
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: symbol
>>`TAO::__RTTI__1CpnDTAOVRet_Object_Argument_T4CpnFCORBAGPolicy_nQTAO_Objref_V
>>ar_T4n0C_____' is multiply defined:
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: symbol
>>`TAO::__RTTI__1nDTAOVRet_Object_Argument_T4CpnFCORBAGPolicy_nQTAO_Objref_Var
>>_T4n0C_____' is multiply defined:
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: symbol `void
>>TAO::Ret_Object_Argument_T<CORBA::Policy*,TAO_Objref_Var_T<CORBA::Policy>
>>
>>>::interceptor_result(CORBA::Any*)' is multiply defined:
>>
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: symbol `unsigned char
>>TAO::Ret_Object_Argument_T<CORBA::Policy*,TAO_Objref_Var_T<CORBA::Policy>
>>
>>>::demarshal(TAO_InputCDR&)' is multiply defined:
>>
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: symbol
>>`TAO::Ret_Object_Argument_T<CORBA::Policy*,TAO_Objref_Var_T<CORBA::Policy>
>>
>>>::__vtbl' is multiply defined:
>>
>> (file .shobj/PolicyC.o and file .shobj/DomainC.o);
>>ld: fatal: File processing errors. No output written to libTAO.so.1.4.0
>>gmake[1]: *** [libTAO.so.1.4.0] Error 1
>>
>> REPEAT BY:
>>
>> SAMPLE FIX/WORKAROUND:
>>
>>Is this is problem on SunOS 5.6, or a Forte Developer 7 C++ 5.4 compiler
>>problem? Would using gcc-2.95.2 or 3.3.2 be better? (those are my compiler
>>choices).
>
>
> Yes, it is a problem with Forte 7. Please use 2.95.2 and better.
Hi Bala,
I'm having the same problem but I'm pretty much stuck with Forte 7. Is
there a workaround?
Thanks,
Steve
>
>
>>I note from the scoreboard
>>(http://www.dre.vanderbilt.edu/scoreboard/tao.html)
>>that the cross compile (SunOS-5.8/gcc-2.95.3) was clean, but the
>>SunOS-5.7/gcc-2.95.3 had problems.
>
>
> No when the 1.4 went out things were clean with 2.95.2 on Solaris 7. This
> is a temporary problem from our development tasks yesterday.
>
> HTH
>
> Thanks
> Bala
>
>