Results 1 to 6 of 6

Thread: Compile Error on Solaris 10

  1. #1
    crozzfire is offline Registered User
    Name: Souvik Roy
    Organization: SoftMethod
    Project: Blackray Data Engine (www.blackray.org) , uses ICE
    Join Date
    Dec 2009
    Posts
    3

    Compile Error on Solaris 10

    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:
    Code:
    "../../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

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    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,
    Bernard
    Last edited by bernard; 12-08-2009 at 10:18 AM.
    Bernard Normier
    ZeroC, Inc.

  3. #3
    crozzfire is offline Registered User
    Name: Souvik Roy
    Organization: SoftMethod
    Project: Blackray Data Engine (www.blackray.org) , uses ICE
    Join Date
    Dec 2009
    Posts
    3
    Hi Bernard,
    Thanks for your reply. I'm using the same CC version too. We are also compiling against stlport instead of Cstd. Do let me know if you need additional info.

    Regards
    Souvik

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hello Souvik,

    It's not clear from your post which version of CC you use. Is it the version we support, CC 5.9?

    We only support the default standard library with this compiler. Do you have any problem if you build Ice 3.3.1 with CC 5.9 and libCstd?

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    crozzfire is offline Registered User
    Name: Souvik Roy
    Organization: SoftMethod
    Project: Blackray Data Engine (www.blackray.org) , uses ICE
    Join Date
    Dec 2009
    Posts
    3
    Hi again,
    No , we are using a newer version, CC 5.10 . We have also tried compiling against -CStd , but still no luck. Its the same error , as I had posted initially. Does ICE Support 5.10 yet (SUN Studio 12 Update 1) ?

    Thanks
    Souvik

  6. #6
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    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,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-29-2009, 04:29 PM
  2. Solaris 8 (SPARC) or Solaris 10 x86 support?
    By Ian James in forum Help Center
    Replies: 3
    Last Post: 06-29-2007, 10:16 AM
  3. I can use the Ice on Solaris 8 and Solaris 10?
    By tjl02040 in forum Help Center
    Replies: 1
    Last Post: 09-07-2006, 09:06 AM
  4. Replies: 1
    Last Post: 11-17-2005, 09:17 AM
  5. Compile Error on OS X 10.4.2
    By jbruni in forum Help Center
    Replies: 4
    Last Post: 09-22-2005, 04:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •