Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 62286 invoked from network); 10 Jul 2004 09:15:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Jul 2004 09:15:47 -0000 Received: (qmail 11007 invoked by uid 500); 10 Jul 2004 09:15:47 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 10982 invoked by uid 500); 10 Jul 2004 09:15:46 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 10968 invoked by uid 99); 10 Jul 2004 09:15:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.68.1.20] (HELO relay.pair.com) (209.68.1.20) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 10 Jul 2004 02:15:45 -0700 Received: (qmail 3434 invoked from network); 10 Jul 2004 09:15:43 -0000 Received: from 32.240.adsl.sltnet.lk (HELO ?192.168.101.20?) (220.247.240.32) by relay.pair.com with SMTP; 10 Jul 2004 09:15:43 -0000 X-pair-Authenticated: 220.247.240.32 Subject: Re: Compiling Axis C++ for Mac OS X 10.3 From: Roshan Weerasuriya To: Apache AXIS C User List In-Reply-To: <301CB42D-D1EB-11D8-A698-000393B3DC0A@motive.com> References: <298F0169-D1B0-11D8-AA63-000393B3DC0A@motive.com> <301CB42D-D1EB-11D8-A698-000393B3DC0A@motive.com> Content-Type: text/plain Organization: Message-Id: <1089450943.2412.27.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 10 Jul 2004 15:15:43 +0600 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi Brian and Kenneth, If some of you can compile a document about "How to build Axis C++ for Mac OS" and send it to this mailing list then we could add it to the Axis C++ documentation and it wold be really great. Roshan On Sat, 2004-07-10 at 03:01, Brian Burton wrote: > Ding Ding Ding. We have a winner. That is all it took to get it to > work. > > Thanks a bunch. > > Brian > > On Jul 9, 2004, at 1:53 PM, Kenneth Chiu wrote: > > > Try removing -lstdc++ from the compile line. This will be > > added by the g++ automatically, so should not normally be > > necessary. > > > > On Fri, 9 Jul 2004, Brian Burton wrote: > > > >> I am having a bit of difficulty in linking the various pieces (client > >> engine, specifically). After building the expat and xerces-c, I build > >> the Axis C++ (version 1.2 for linux) and during the linkage of the > >> client engine (the server engine has the same problem, btw), I get the > >> following (I set the optimization to 0 by setting the CXXFLAGS in the > >> configuration.ac file): > >> > >> /bin/sh ../../../libtool --mode=link g++ -O0 -g -s -lstdc++ -o > >> libaxiscpp_client.la -rpath > >> /Users/bburton/Dev/DevSrc/HighEnd/DL2/axis-c-src-1-2-beta-linux/bin > >> Axis.lo ClientAxisEngine.lo AxisEngine.lo HandlerChain.lo > >> HandlerLoader.lo HandlerPool.lo AppScopeHandlerPool.lo > >> DeserializerPool.lo RequestScopeHandlerPool.lo SerializerPool.lo > >> SessionScopeHandlerPool.lo SharedObject.lo Call.lo Stub.lo > >> AxisEngineException.lo SOAPTransportFactory.lo XMLParserFactory.lo -s > >> -lstdc++ ../../common/libcommon.la ../../soap/libsoap.la > >> ../../wsdd/libwsdd.la ../../xml/libxml.la > >> g++ -dynamiclib -single_module -flat_namespace -undefined suppress -o > >> .libs/libaxiscpp_client.0.dylib .libs/Axis.o .libs/ClientAxisEngine.o > >> .libs/AxisEngine.o .libs/HandlerChain.o .libs/HandlerLoader.o > >> .libs/HandlerPool.o .libs/AppScopeHandlerPool.o > >> .libs/DeserializerPool.o .libs/RequestScopeHandlerPool.o > >> .libs/SerializerPool.o .libs/SessionScopeHandlerPool.o > >> .libs/SharedObject.o .libs/Call.o .libs/Stub.o > >> .libs/AxisEngineException.o .libs/SOAPTransportFactory.o > >> .libs/XMLParserFactory.o -all_load ../../common/.libs/libcommon.a > >> ../../soap/.libs/libsoap.a ../../wsdd/.libs/libwsdd.a > >> ../../xml/.libs/libxml.a -lstdc++ -install_name > >> /Users/bburton/Dev/DevSrc/HighEnd/DL2/axis-c-src-1-2-beta-linux/bin/ > >> libaxiscpp_client.0.dylib -compatibility_version 1 -current_version > >> 1.0 > >> > >> ld: multiple definitions of symbol > >> _ZNKSt12_Base_bitsetILm1EE15_M_do_find_nextEmm.eh > >> /usr/lib/gcc/darwin/3.3/libstdc++.a(bitset.o) private external > >> definition of absolute > >> _ZNKSt12_Base_bitsetILm1EE15_M_do_find_nextEmm.eh (value 0x0) > >> /usr/lib/gcc/darwin/3.3/libstdc++.a(bitset.o) private external > >> definition of absolute > >> _ZNKSt12_Base_bitsetILm1EE15_M_do_find_nextEmm.eh (value 0x0) > >> ld: multiple definitions of symbol > >> _ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm.eh > >> /usr/lib/gcc/darwin/3.3/libstdc++.a(bitset.o) private external > >> definition of absolute > >> _ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm.eh (value 0x0) > >> /usr/lib/gcc/darwin/3.3/libstdc++.a(bitset.o) private external > >> definition of absolute > >> _ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm.eh (value 0x0) > >> ld: multiple definitions of symbol std::_Base_bitset<(unsigned > >> long)1>::_M_do_find_next(unsigned long, unsigned long) const > >> /usr/lib/gcc/darwin/3.3/libstdc++.a(bitset.o) private external > >> definition of std::_Base_bitset<(unsigned > >> long)1>::_M_do_find_next(unsigned long, unsigned long) const in > >> section > >> (__TEXT,__text) > >> > >> The libtool generates (I added the -v for debugging) > >> > >> g++ -v -dynamiclib -single_module -flat_namespace -undefined suppress > >> -o .libs/libaxiscpp_client.0.dylib .libs/Axis.o .l > >> ibs/ClientAxisEngine.o .libs/AxisEngine.o .libs/HandlerChain.o > >> .libs/HandlerLoader.o .libs/HandlerPool.o .libs/AppScopeHan > >> dlerPool.o .libs/DeserializerPool.o .libs/RequestScopeHandlerPool.o > >> .libs/SerializerPool.o .libs/SessionScopeHandlerPool.o > >> .libs/SharedObject.o .libs/Call.o .libs/Stub.o > >> .libs/AxisEngineException.o .libs/SOAPTransportFactory.o > >> .libs/XMLParserFa > >> ctory.o -all_load ../../common/.libs/libcommon.a > >> ../../soap/.libs/libsoap.a ../../wsdd/.libs/libwsdd.a > >> ../../xml/.libs/li > >> bxml.a -lstdc++ -install_name > >> /Users/bburton/Dev/DevSrc/HighEnd/DL2/axis-c-src-1-2-beta-linux/bin/ > >> libaxiscpp_client.0.d > >> ylib -compatibility_version 1 -current_version 1.0 > >> > >> the g++ generates the following: > >> Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs > >> Thread model: posix > >> gcc version 3.3 20030304 (Apple Computer, Inc. build 1640) > >> /usr/bin/libtool -arch_only ppc -dynamic -compatibility_version 1 > >> -current_version 1.0 -install_name > >> /Users/bburton/Dev/DevSrc/HighEnd/DL2/axis-c-src-1-2-beta-linux/bin/ > >> libaxiscpp_client.0.dylib -all_load -flat_namespace -single_module > >> -undefined suppress -o .libs/libaxiscpp_client.0.dylib > >> -L/usr/lib/gcc/darwin/3.3 -L/usr/lib/gcc/darwin > >> -L/usr/libexec/gcc/darwin/ppc/3.3/../../.. .libs/Axis.o > >> .libs/ClientAxisEngine.o .libs/AxisEngine.o .libs/HandlerChain.o > >> .libs/HandlerLoader.o .libs/HandlerPool.o .libs/AppScopeHandlerPool.o > >> .libs/DeserializerPool.o .libs/RequestScopeHandlerPool.o > >> .libs/SerializerPool.o .libs/SessionScopeHandlerPool.o > >> .libs/SharedObject.o .libs/Call.o .libs/Stub.o > >> .libs/AxisEngineException.o .libs/SOAPTransportFactory.o > >> .libs/XMLParserFactory.o ../../common/.libs/libcommon.a > >> ../../soap/.libs/libsoap.a ../../wsdd/.libs/libwsdd.a > >> ../../xml/.libs/libxml.a -lstdc++ -lstdc++ -lgcc -lSystem | > >> c++filt3 > >> /usr/bin/libtool: internal link edit command failed > >> > >> > >> I am using gcc 3.3 on OS X 10.3.4 > >> > >> So, has anyone on this list built AxisC++ for Mac OS X? > >> > >> Brian > >> > > > >