Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-16-2005
zhangzq71's Avatar
zhangzq71 zhangzq71 is offline
Registered User
 
Name: ZhangZQ
Organization: WanYi
Project: Test
 
Join Date: Mar 2005
Location: GuangZhou, GuangDong
Posts: 43
Send a message via ICQ to zhangzq71 Send a message via MSN to zhangzq71 Send a message via Skype™ to zhangzq71
-->
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
Reply With Quote
  #2 (permalink)  
Old 12-16-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
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.
Reply With Quote
  #3 (permalink)  
Old 12-16-2005
zhangzq71's Avatar
zhangzq71 zhangzq71 is offline
Registered User
 
Name: ZhangZQ
Organization: WanYi
Project: Test
 
Join Date: Mar 2005
Location: GuangZhou, GuangDong
Posts: 43
Send a message via ICQ to zhangzq71 Send a message via MSN to zhangzq71 Send a message via Skype™ to zhangzq71
-->
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
link errors dthompson Help Center 1 05-24-2006 05:57 PM
Some errors? OrNot Help Center 6 07-21-2005 10:38 AM
errors about ice 1.4 in linux brad Help Center 1 01-29-2005 01:05 PM
Link errors annekat Help Center 4 07-06-2004 01:25 PM
compile errors fengxb Help Center 2 05-30-2004 02:37 AM


All times are GMT -4. The time now is 11:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.