I do not think you would be able to statically link and get Axis2/C to work, because it assumes dynamic loading for some of the behavior in the engine.

Someone worked on static linking sometime back, but it was not completed.

Samisa...

Fan, Jan-fon wrote:

Hi,

I am trying to link the static libraries:AXIS2C_HOME/lib/*.a with my application. But when I build my application I got lots of “undefined reference to xxx_function” such as:

/nfs/scec/disks/imo181/mtse/MaskTools/axis2c-src-1.3.0/lib/libaxis2_engine.a(svc_client.o)(.text+0x1274): In function `axis2_svc_client_send_receive_with_op_qname':

/nfs/scec/disks/imo181/mtse/MaskTools/axis2c-src-1.3.0/src/core/clientapi/svc_client.c:777: undefined reference to `axiom_soap_envelope_get_body'

I am using the following include directories in my make file:

$(AXIS2C_HOME)/include

$(AXIS2C_HOME)/include/axis2-1.3.0

$(AXIS2C_HOME)/samples/user_guide/clients

What might be wrong?

Thanks,

Jan

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.5/1881 - Release Date: 1/7/2009 5:59 PM



--
Samisa Abeysinghe Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"

Reply via email to