axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Pettini <>
Subject Re: Service compilation problem
Date Fri, 03 Aug 2007 07:35:58 GMT

If I'm not wrong, please have a look at the ldd command (on linux). It 
should generate automatically symlinks to dynamic libraries installed in 
the system. But I'm not sure if this is what you need.


Subra A Narayanan wrote:
> Hello folks,
> I am trying to compile the 'math' service from the samples directory 
> without using the make file provided with the samples. I used the 
> instructions from the Axic2/C manual ( 
> I used the following commands to compile:
> gcc -c -omath.o -I/usr/local/axis2c/include/axis2-1.0/ 
> -L/usr/local/axis2c/lib -fPIC math.c
> gcc -c -omath_skeleton.o -I/usr/local/axis2c/include/axis2-1.0/ 
> -L/usr/local/axis2c/lib -fPIC math_skeleton.c
> gcc -shared math.o math_skeleton.o -L/usr/local/axis2c/lib -laxis2 
> I see a file being generated. But my service doesn't work. 
> I do realize that the above commands do not generate the following 
> files which are generated if I use the make file:
> libmath.a
> <>
> What am I doing wrong? I am trying this so that I can compile my own 
> web services without having to rely on the make file. I have written 
> my web service but I cannot test it as I am stuck at this point.
> Any help or pointers in the right direction would be greatly helpful.
> Subra

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message