Results 1 to 3 of 3

Thread: got some errors when compiling Ice-3.0.0 in Mac osX 10.4

  1. #1
    zhangzq71's Avatar
    zhangzq71 is offline Registered User
    Name: ZhangZQ
    Organization: WanYi
    Project: Test
    Join Date
    Mar 2005
    Location
    GuangZhou, GuangDong
    Posts
    43

    got some errors when compiling Ice-3.0.0 in Mac osX 10.4

    here is the compiler version,
    Bruce:~/Desktop/ice/Ice-3.0.0 zzq$ c++ --version
    powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061)
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Bruce:~/Desktop/ice/Ice-3.0.0 zzq$

    here is the error message,

    Bruce:~/Desktop/ice/Ice-3.0.0 zzq$ make
    making all in src
    making all in IceUtil
    make[2]: Nothing to be done for `all'.
    making all in icecpp
    make[2]: Nothing to be done for `all'.
    making all in Slice
    make[2]: Nothing to be done for `all'.
    making all in slice2cpp
    make[2]: Nothing to be done for `all'.
    making all in slice2cs
    make[2]: Nothing to be done for `all'.
    making all in slice2vb
    make[2]: Nothing to be done for `all'.
    making all in slice2freeze
    make[2]: Nothing to be done for `all'.
    making all in slice2freezej
    make[2]: Nothing to be done for `all'.
    making all in slice2docbook
    make[2]: Nothing to be done for `all'.
    making all in slice2java
    make[2]: Nothing to be done for `all'.
    making all in slice2py
    make[2]: Nothing to be done for `all'.
    making all in Ice
    make[2]: Nothing to be done for `all'.
    making all in IceXML
    make[2]: Nothing to be done for `all'.
    making all in IceSSL
    c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS -I/Users/zzq/Desktop/ice/openssl-0.9.8/include -I/usr/kerberos/include -O2 -DNDEBUG -ftemplate-depth-128 -Wall -D_REENTRANT OpenSSLPluginI.cpp
    OpenSSLPluginI.cpp: In constructor `IceSSL::OpenSSLPluginI::OpenSSLPluginI(const IceInternal::ProtocolPluginFacadePtr&)':
    OpenSSLPluginI.cpp:190: error: no matching function for call to 'Ice::LocalObject::LocalObject(const void**)'
    ../../include/Ice/LocalObject.h:27: note: candidates are: Ice::LocalObject::LocalObject()
    ../../include/Ice/LocalObject.h:27: note: Ice::LocalObject::LocalObject(const Ice::LocalObject&)
    OpenSSLPluginI.cpp:190: error: no matching function for call to 'Ice::Plugin::Plugin(const void**)'
    ../../include/Ice/Plugin.h:84: note: candidates are: Ice::Plugin::Plugin()
    ../../include/Ice/Plugin.h:84: note: Ice::Plugin::Plugin(const Ice::Plugin&)
    OpenSSLPluginI.cpp:190: error: no matching function for call to 'IceSSL::Plugin::Plugin(const void**)'
    ../../include/IceSSL/Plugin.h:88: note: candidates are: IceSSL::Plugin::Plugin()
    ../../include/IceSSL/Plugin.h:88: note: IceSSL::Plugin::Plugin(const IceSSL::Plugin&)
    make[2]: *** [OpenSSLPluginI.o] Error 1
    make[1]: *** [all] Error 1
    make: *** [all] Error 1
    Bruce:~/Desktop/ice/Ice-3.0.0 zzq$

    Thank you for your help!
    Zhang Zhi Qiang
    Macrohard Inc.
    Testing IceE on my embedded system based on S3C2410 CPU

  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,140
    Hi,

    Ice 3.0 doesn't compile with GCC 4.0 because of a GCC bug. You have 2 options to compile Ice on Mac OS X 10.4.x:

    • Use GCC 3 (you can switch your default compiler to gcc 3 with the "gcc_select 3" command).
    • Download the latest XCode 2.2 from the Apple developer connection web site which includes GCC 4.0.1. Then, take a look a the instructions from this thread and this thread to workaround another (minor) compilation issue.

    Benoit.

  3. #3
    zhangzq71's Avatar
    zhangzq71 is offline Registered User
    Name: ZhangZQ
    Organization: WanYi
    Project: Test
    Join Date
    Mar 2005
    Location
    GuangZhou, GuangDong
    Posts
    43
    Quote Originally Posted by benoit
    Hi,

    Ice 3.0 doesn't compile with GCC 4.0 because of a GCC bug. You have 2 options to compile Ice on Mac OS X 10.4.x:

    • Use GCC 3 (you can switch your default compiler to gcc 3 with the "gcc_select 3" command).
    • Download the latest XCode 2.2 from the Apple developer connection web site which includes GCC 4.0.1. Then, take a look a the instructions from this thread and this thread to workaround another (minor) compilation issue.

    Benoit.
    Thanks, I am downloading the new xcode, I will report the result later.
    Zhang Zhi Qiang
    Macrohard Inc.
    Testing IceE on my embedded system based on S3C2410 CPU

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Build support for Mac 10.4 in Ice 3.4b
    By joshmoore in forum Patches
    Replies: 1
    Last Post: 05-15-2010, 04:33 PM
  2. Compiling Ice v3.4.0 on OSX/Snow Leopard
    By jsgoecke in forum Help Center
    Replies: 2
    Last Post: 03-29-2010, 05:03 PM
  3. OSX package on Intel MAC
    By ctennis in forum Bug Reports
    Replies: 2
    Last Post: 11-23-2006, 09:32 PM
  4. Ice 3.0.0 / Mac OS X 10.4.3, GCC 4.0.1
    By lindholm in forum Bug Reports
    Replies: 3
    Last Post: 11-21-2005, 05:54 AM
  5. Compiling demos on Mac OS X 10.4.2
    By CAS in forum Help Center
    Replies: 4
    Last Post: 09-30-2005, 08:33 PM

Posting Permissions

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