RE: [Easysoap-developers] [Easysoap-discussion] Solaris CC Linkin g Problem
Status: Beta
Brought to you by:
dcrowley
From: Paul B. <Pau...@em...> - 2003-05-15 07:34:56
|
Ramchandra Phadake [mailto:ram...@pe...] wrote: > > I am having a linking problem with EasySoap library. > The default EasySoap installation uses gcc to build the library. > My client program is built using CC compiler. From what I remember, it can be difficult to build software on Solaris with mixtures of compiler and linker. It may be the case that you have to use various compiler and linker flags, eg. -fPIC and one of the -B flags when building the EasySoap++ installation with the GNU tools. > If I use the simpleclient.cpp program (which comes along the tarball)& > link it against easysoap using gcc it works but with CC it produces many > undefined symbols. > > I have tried to build the EasySoap using CC & then using CC for building & > linking against my program but the errors remain. That would potentially rule out linking errors against libstdc++, then. > I have to use CC to build the client program. > > What should be done to get EasySoap work with CC ? Given that you have attempted to use CC (and presumably Sun's ld) throughout, and still have linking issues, it may be a library search issue that you're encountering. Which symbols are you missing? One common Solaris problem is the need to explicitly link against various socket and network libraries; -lnsl sounds familiar but I can't remember clearly. Paul |