You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Samisa Abeysinghe <sa...@yahoo.com> on 2004/09/02 05:40:49 UTC

Re: Small question about Axis-C

Hi Jarno,
    It souns to me like the compiler is unable to locate the Axis related libs.

    You could use -L flag to specify this to the compiler
e.g.
g++ -L$AXISCPP_DEPLOY/lib *.o 

You could also set the LD_LIBRARY_PATH environment variable to include the location of the Axis
c++ libs (in which case you would not requre to use the -L option when linking)

Thanks,
Samisa...

--- Jarno Jokihaara <ja...@tut.fi> wrote:

> Hi again!
> Forget the earlier email, I figured out those myself.
> But now I'm building a client to test that server. I am getting strange
> errors when linking the objects in the client (many undefined references to
> axiscpp::Stub::xxxx). I have been using interoptests base sample client as
> an example. Just can't figure out what would be different here. Any help on
> that?
> - Jarno
> 
> ----- Original Message ----- 
> From: "Samisa Abeysinghe" <sa...@yahoo.com>
> To: "Jarno Jokihaara" <ja...@tut.fi>
> Sent: Tuesday, August 31, 2004 4:03 AM
> Subject: Re: Small question about Axis-C
> 
> 
> > Hi,
> >     You could use
> > g++ -c -I$AXISCPP_HOME/include *.cpp
> >     to compile the code
> > Then use
> > g++ -shared -o [serviceName.so]  *.o
> >
> > The above should work. Additionally you could write a make file to get the
> above done in a more
> > cleaner way.
> >
> > Thanks,
> > Samisa...
> >
> > --- Jarno Jokihaara <ja...@tut.fi> wrote:
> >
> > > Hello!
> > >
> > > I'm trying to test this AxisC++ (v1.3 Alpha) with Linux (Fedora Core2).
> > > I've created a new folder (called test) in $AXISCPP_HOME/samples/server/
> > > and made a wsdl-file and the skeletons with that WSDL2Ws tool. Then
> > > modified the .cpp file to return a simple integer when that function is
> > > called.
> > > Could you explain briefly how to compile it?
> > > Thanks!
> > >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> > http://promotions.yahoo.com/new_mail
> >
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail