Archived
This forum has been archived. Please start a new discussion on GitHub.
Compile Error on Solaris 10
crozzfire
in Bug Reports
Hello,
Our project uses Ice in the backend. Currently we are using the Ice 3.3.1 , but the code does not compile in Solaris 10 with Sun Studio Compilers and exits.
Here are the details:
The error message by cmake:
cc Version: Sun C 5.10 SunOS_i386 Patch 142363-02 2009/09/21
Are there any other patches to be installed to fix the error?
Regards
Souvik
Our project uses Ice in the backend. Currently we are using the Ice 3.3.1 , but the code does not compile in Solaris 10 with Sun Studio Compilers and exits.
Here are the details:
The error message by cmake:
"../../include/Ice/ProxyHandle.h", line 98: Error: Could not find a match for IceInternal::uncheckedCastImpl<IceInternal::P>(const IceInternal::ProxyHandle<IceProxy::IceStorm::Topic>) needed in IceInternal::uncheckedCastHelper<IceProxy::IceStorm::TopicInternal, IceProxy::IceStorm::Topic>(const IceInternal::ProxyHandle<IceProxy::IceStorm::Topic>&, void*). "../../include/Ice/ProxyHandle.h", line 288: Where: While instantiating "IceInternal::uncheckedCastHelper<IceProxy::IceStorm::TopicInternal, IceProxy::IceStorm::Topic>(const IceInternal::ProxyHandle<IceProxy::IceStorm::Topic>&, void*)". "../../include/Ice/ProxyHandle.h", line 288: Where: Instantiated from static IceInternal::ProxyHandle<IceProxy::IceStorm::TopicInternal>::uncheckedCast<IceProxy::IceStorm::Topic>(const IceInternal::ProxyHandle<IceProxy::IceStorm::Topic>&). "TopicI.cpp", line 852: Where: Instantiated from non-template code. 1 Error(s) detected. gmake[5]: *** [TopicI.o] Error 1 gmake[5]: Leaving directory `/usr/local/souvik/blackray-thirdparty/unpacked/Ice-3.3.1/cpp/src/IceStorm' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/local/souvik/blackray-thirdparty/unpacked/Ice-3.3.1/cpp/src' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/usr/local/souvik/blackray-thirdparty/unpacked/Ice-3.3.1/cpp' *** Error code 1 make: Fatal error: Command failed for target `build/opt/blackray/thirdparty/lib/amd64/libIce.so'
cc Version: Sun C 5.10 SunOS_i386 Patch 142363-02 2009/09/21
Are there any other patches to be installed to fix the error?
Regards
Souvik
0
Comments
-
Hello Souvik,
Which version of the Sun C++ compiler (CC) are you using? The version of the C compiler doesn't matter.
If you are not using the version we support (see http://www.zeroc.com/platforms_3_3_1.html), you should consider upgrading.
Best regards,
Bernard0 -
Hi Souvik,
The complete list of supported platforms and compilers is at http://www.zeroc.com/platforms_3_3_1.html.
I looked more closely into this build failure, and unfortunately it looks like a regression in this new version of the Sun compiler. We will probably include a work-around in the upcoming 3.4 release. Please contact info@zeroc.com if you can't wait and need a patch sooner.
Best regards,
Bernard0
