Results 1 to 3 of 3

Thread: Ice2.0.0 build fail on HP-UX11.23, IA64,

  1. #1
    xiao is offline Registered User
    Join Date
    Jan 2005
    Posts
    5

    Ice2.0.0 build fail on HP-UX11.23, IA64,

    Comiler: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]

    error description:

    Make.rules:
    LP64 := yes

    Error 226: "BuiltinSequences.cpp", line 43 # No appropriate function found for call of 'read'. Last viable candidate was
    "void IceInternal::BasicStream::read(unsigned char &)" ["../../include/Ice/BasicStream.h", line 114]. Argument of type
    'class reference' could not be converted to 'unsigned char &'.
    __is->read(v[i]);
    ^^^^

    BuitinSequences.cpp is generated from slice/Ice/BuiltinSequence.ice :

    rm -f ../../include/Ice/BuiltinSequences.h BuiltinSequences.cpp
    ../../bin/slice2cpp --ice --include-dir Ice --dll-export ICE_API -I../../slice ../../slice/Ice/BuiltinSequences.ice
    mv BuiltinSequences.h ../../include/Ice

    ...

    BuiltinSequences.cpp line 43 is generated from :

    module Ice:
    {
    /** A sequence of bools. **/
    sequence<bool> BoolSeq;
    }



    and if I skip this error, all similar codes generated from
    sequence<bool> BoolSeq
    compile error.

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    It sounds like a compiler problem. Note that we don't officially support this compiler, we only support HP aCC 3.37 on PA-RISC. I would recommend to upgrade your compiler, it looks like it's quite old and HP released a number of patches since, see:

    http://h21007.www2.hp.com/dspp/tech/...,00.html#11.23

    Let us know if you get Ice to compile with these compiler patches!

    Benoit.

  3. #3
    xiao is offline Registered User
    Join Date
    Jan 2005
    Posts
    5
    thanks.

    I've found that HP aCC defined a builtin type vector<bool, _Allocator > in its STL liberary, it can be disabled by complie option:
    -D_RWSTD_NO_VECTOR_BOOL

    and build continued...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [3.4b] ruby bindings fail to build
    By Reto Glauser in forum Bug Reports
    Replies: 8
    Last Post: 02-05-2010, 11:41 AM
  2. Connections Issue #23
    By mes in forum Announcements
    Replies: 0
    Last Post: 05-08-2007, 03:37 PM
  3. Does ICE can build&run on Linux with IA64?
    By Yunqiao Yin in forum Help Center
    Replies: 2
    Last Post: 10-17-2005, 12:23 AM
  4. build fail on AIX5.1, Visual Age C++ 6
    By xiao in forum Help Center
    Replies: 2
    Last Post: 01-19-2005, 03:13 AM
  5. why build mfcHelloS sample fail!
    By ouloba in forum Help Center
    Replies: 4
    Last Post: 09-10-2004, 06:50 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
  •