axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Karseras <>
Subject Re: Linking hello_svc.c example
Date Fri, 16 May 2008 14:43:25 GMT

I have just checked and do not see axis2_axiom - it was not part of the package downloaded.

Should it be there ?

Just to stress that I am currently working in Windows and not Linux (I see axis2_axiom in
the Linix bin package).

Package details as follows:- - 1.4.0 Release.

Thanks Dinesh for your comment on header files with -I option not -L, I was just being sloppy.


----- Original Message ----
From: Dinesh Premalal <>
To: Apache AXIS C User List <>
Sent: Friday, May 16, 2008 12:24:26 AM
Subject: Re: Linking hello_svc.c example

Hi Andreas,

On Fri, May 16, 2008 at 2:33 AM, Andreas Karseras <> wrote:

Apologies if this is a basic question but am having trouble linking now.

Am seeing "undefined reference to..." errors but believe I have all the correct libraries

The problematic references include axiom_node_get_first_child, axiom_node_get_node_type, axiom_node_get_data_element

I'm linking as follows:-
g++ -LD:\MinGW\lib -LD:\axis2c\lib\ -LD:\axis2c\include -ohello.dll hello_svc.o -laxutil -laxiom
-laxis2_parser -laxis2_engine

As Samisa mentioned please check D:\axis2c\lib location for , I think you
have to  link  -laxis2_axiom , not -laxiom

This is not related to your problem,however You may need to specify header files with -I option
not -L, Therefore you may need to change -LD:\axis2c\include into -ID:\axis2c\include , just
a wild guess :)



View raw message