axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damitha kumarage <dami...@opensource.lk>
Subject Re: Compiling Axis C++ for Mac OS X 10.3
Date Wed, 14 Jul 2004 08:44:03 GMT
On Mon, 2004-07-12 at 14:27, John Hawkins wrote:
> 
>  Why do we have the two mechanisms of loading libraries?
You mean ltdl and dl libraries?.
dl is the native dynamic loading machanism of linux and may not be
portable across all unices. ltdl is supposed to be portable loading
mechanism across all unix platforms. But using ltdl in linux started
giving unpredictable behaviour for me.

damitha
> 
> John Hawkins
> 
> 
> 
> 
>                                                                            
>              Kenneth Chiu                                                  
>              <chiuk@cs.indiana                                             
>              .edu>                                                      To 
>                                        Apache AXIS C User List             
>              10/07/2004 13:21          <axis-c-user@ws.apache.org>         
>                                                                         cc 
>                                                                            
>              Please respond to                                     Subject 
>               "Apache AXIS C           Re: Compiling Axis C++ for Mac OS X 
>                 User List"             10.3                                
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> I've never actually used Mac OS X.  However, the extra -lstdc++
> has caused a different kind of problem for me before on
> Linux (during the configure).
> 
> I removed it from configure.ac and everything seemed to work okay.
> 
> On Sat, 10 Jul 2004, Roshan Weerasuriya wrote:
> 
> > 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
> > > >>
> > > >
> > >
> > >
> >
> 
> 
> 


Mime
View raw message