Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 41449 invoked from network); 18 Jul 2006 13:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 13:56:07 -0000 Received: (qmail 11364 invoked by uid 500); 18 Jul 2006 13:56:06 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 11346 invoked by uid 500); 18 Jul 2006 13:56:06 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 11335 invoked by uid 99); 18 Jul 2006 13:56:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 06:56:05 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jbortoletto@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 06:56:04 -0700 Received: by nf-out-0910.google.com with SMTP id a4so163531nfc for ; Tue, 18 Jul 2006 06:55:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XahadlMZ2kCK9mBgHgcI1CVEGy4IspwZVq77LB+R0i6zs9retsNtfYw5r1t3LUCjJziE/7dSAvdjUFNpwqtLsUctCwEVxbMtrG7UElxwmtEunpop/DRYrPqslL6jl8vqwFcSTfJACck2npTjSZKnpOXKcD+uQ4hZcF47sDxSk40= Received: by 10.49.19.18 with SMTP id w18mr737350nfi; Tue, 18 Jul 2006 06:55:42 -0700 (PDT) Received: by 10.48.241.12 with HTTP; Tue, 18 Jul 2006 06:55:42 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2006 10:55:42 -0300 From: "=?ISO-8859-1?Q?Jo=E3o_Carlos_Bortoletto?=" To: "Apache AXIS C User List" Subject: Re: [Axis2]Compilation and Linkedition problem In-Reply-To: <44B7DF0A.1030202@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_73863_17587084.1153230942076" References: <44B7AD04.200@gmail.com> <44B7DF0A.1030202@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_73863_17587084.1153230942076 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Friends, I tried to export dlls to .a (mingw) doing the following: ----------------------------------------------------------- pexports axiom.dll > axiomdll.def dlltool --input-def axiomdll.def --dllname axiom.dll -l libaxiom.a -k ranlib libaxiom.a ----------------------------------------------------------- I processed this step to every axis2 dll... A generated .def file appears like: ----------------------------------------------------------- LIBRARY axiom.dll EXPORTS axiom_attribute_create@16 axiom_attribute_free_void_arg@8 axiom_child_element_iterator_create@8 axiom_children_iterator_create@8 axiom_children_qname_iterator_create@12 axiom_children_with_specific_attribute_iterator_create@20 axiom_comment_create@16 axiom_data_handler_create@12 axiom_doctype_create@16 axiom_document_create@12 axiom_element_create@20 axiom_element_create_with_qname@16 axiom_mime_body_part_create@4 axiom_mime_output_create@4 axiom_mime_parser_create@4 axiom_namespace_create@12 axiom_namespace_set_uri@12 axiom_navigator_create@8 axiom_node_create@4 axiom_node_get_builder@8 axiom_node_set_builder@12 axiom_node_set_complete@12 axiom_node_set_data_element@12 axiom_node_set_document@12 axiom_node_set_first_child@12 axiom_node_set_next_sibling@12 axiom_node_set_node_type@12 axiom_node_set_parent@12 axiom_node_set_previous_sibling@12 axiom_output_create@8 axiom_output_write_optimized@12 axiom_processing_instruction_create@20 axiom_soap11_builder_helper_create@12 axiom_soap12_builder_helper_create@8 axiom_soap_body_create@4 axiom_soap_body_create_with_parent@8 axiom_soap_builder_create@12 axiom_soap_envelope_create@8 axiom_soap_envelope_create_default_soap_envelope@8 axiom_soap_envelope_create_default_soap_fault_envelope@24 axiom_soap_envelope_create_null@4 axiom_soap_envelope_create_with_soap_version_prefix@12 axiom_soap_fault_code_create@4 axiom_soap_fault_code_create_with_parent@8 axiom_soap_fault_code_create_with_parent_value@12 axiom_soap_fault_create@4 axiom_soap_fault_create_default_fault@20 axiom_soap_fault_create_with_exception@12 axiom_soap_fault_create_with_parent@8 axiom_soap_fault_detail_create@4 axiom_soap_fault_detail_create_with_parent@8 axiom_soap_fault_node_create@4 axiom_soap_fault_node_create_with_parent@8 axiom_soap_fault_reason_create@4 axiom_soap_fault_reason_create_with_parent@8 axiom_soap_fault_role_create@4 axiom_soap_fault_role_create_with_parent@8 axiom_soap_fault_sub_code_create@4 axiom_soap_fault_sub_code_create_with_parent@8 axiom_soap_fault_sub_code_create_with_parent_value@12 axiom_soap_fault_text_create@4 axiom_soap_fault_text_create_with_parent@8 axiom_soap_fault_value_create@4 axiom_soap_fault_value_create_with_code@8 axiom_soap_fault_value_create_with_subcode@8 axiom_soap_header_block_create@4 axiom_soap_header_block_create_with_parent@16 axiom_soap_header_create@4 axiom_soap_header_create_with_parent@8 axiom_stax_builder_create@8 axiom_stax_builder_get_current_event@8 axiom_stax_builder_get_element_level@8 axiom_stax_builder_get_lastnode@8 axiom_stax_builder_set_element_level@12 axiom_stax_builder_set_lastnode@12 axiom_text_create@16 axiom_text_create_with_data_handler@16 axiom_util_get_child_elements@12 axiom_util_get_child_node_text@8 axiom_util_get_first_child_element@16 axiom_util_get_first_child_element_with_localname@20 axiom_util_get_first_child_element_with_localname_attr@28 axiom_util_get_first_child_element_with_localnames@20 axiom_util_get_first_child_element_with_uri@16 axiom_util_get_first_child_element_with_uri_localname@24 axiom_util_get_last_child_element@16 axiom_util_get_last_child_element_with_localname@20 axiom_util_get_last_child_element_with_localname_attr@28 axiom_util_get_last_child_element_with_localnames@20 axiom_util_get_last_child_element_with_uri_localname@24 axiom_util_get_localname@8 axiom_util_get_next_sibling_element@16 axiom_util_get_next_sibling_element_with_uri@16 axiom_util_get_next_sibling_element_with_uri_localname@24 axiom_util_get_next_siblng_element_with_localname@20 axiom_util_get_next_siblng_element_with_localname_attr@28 axiom_util_get_next_siblng_element_with_localnames@20 axiom_util_get_node_namespace_uri@8 axiom_output_write ----------------------------------------------------------- When I call my compilation routine: ----------------------------------------------------------- set INC_DIR=3D"D:\work\project" set LIB_DIR=3D"D:\work\project\lib" gcc -o project -B %INC_DIR% echo.c -L %LIB_DIR% -laxiom -laxis2_engine -laxis2_http_receiver -laxis2_http_sender -laxis2_parser -laxis2_util -laxis2_wsdl -liconv -llibxml2 -lmod_axis2 -lwoden -lxml_schema -lzlib1 ----------------------------------------------------------- I receive the following message: ----------------------------------------------------------- C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/cc8wcaaa.o(.text+0x39c):echo.c: undefine= d ref erence to `_imp__axiom_namespace_create' C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/cc8wcaaa.o(.text+0x3ca):echo.c: undefine= d ref erence to `_imp__axiom_element_create' C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/cc8wcaaa.o(.text+0x3f8):echo.c: undefine= d ref erence to `_imp__axiom_element_create' collect2: ld returned 1 exit status ----------------------------------------------------------- That's OK! If I remove '@number' from function in def file, this fail not occurs and compilation appears OK. But when I try to execute my "project.exe", I receive the message: ----------------------------------------------------------- Could not find the entry point "axiom_element_create" in the dynamic librar= y "axiom.dll". ----------------------------------------------------------- Anybody has any suggestion? Remember that I'm trying to compile under winXP and Mingw. Is Axis2 compatible with other compiles than MSVC?? I'd like to thank Samisa that has been tried to help me... Joao Bortoletto On 7/14/06, Samisa Abeysinghe wrote: > > The error basically suggests that you do not have the util, axiom and > engine libs on your path. > Does your %LIB_DIR% contain the path to these libs? > > Also, give that you are using gcc on windows, you must have build this > from source. How did the build go? > > Thanks, > Samisa... > > Jo=E3o Carlos Bortoletto wrote: > > > Hi Samisa, > > > > Thanks for your reply. > > I tried to execute again following your instructions. The compiler > > returned the same message: > > > > ------------------------------ > > D:\work\project\src\test>gcc -o echo -B %INC_DIR% echo.c -L %LIB_DIR% > > -laxiom -laxis2_engine -laxis2_http_receiver -laxis2_http_sender > > -laxis2_parser -laxis2_util -laxis2_wsdl -liconv -liconv_a -xml2 > > -xml2_a -lmod_axis2 -lwoden -lxml_schema -lzdll > > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x72): echo.c: > > undefined reference to `_imp__axis2_env_create_all' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0xa2):echo.c: > > undefined reference to `_imp__axis2_strcmp' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0xfa): echo.c: > > undefined reference to `_imp__axis2_endpoint_ref_create' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x10a):echo.c: > > undefined reference to `_imp__axis2_options_create' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x17a): echo.c: > > undefined reference to `_imp__axis2_svc_client_create' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x39c):echo.c: > > undefined reference to `_imp__axiom_namespace_create' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x3ca): echo.c: > > undefined reference to `_imp__axiom_element_create' > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x3f8):echo.c: > > undefined reference to `_imp__axiom_element_create' > > collect2: ld returned 1 exit status > > ------------------------------ > > > > I'm working with axis2c 0.92... Do you think there are any library > > missing? > > Thanks a lot for your help! > > > > > > Joao > > > > On 7/14/06, *Samisa Abeysinghe* > > wrote: > > > > Looks like you have not linked the libs correctly. > > You have to use > > -L{path to libs} -laxis2_util -laxis2_axiom -laxis2_wsdl > > -laxis2_engine > > -laxis2_parser -lpthread -lwoden -laxis2_xml_schema > > -laxis2_http_sender > > -laxis2_http_receiver -lxml2 -lpthread -lz -lm -ldl > > > > when linking. You have to replace {path to libs} with the path > > where you > > have libs. > > > > Samisa... > > > > Jo=E3o Carlos Bortoletto wrote: > > > > > Hi friends, > > > > > > I'm new in C/C++ programming language. I was trying to > > compile the > > > simple example "echo.c" using gcc under mingw (win32). > > > Compilation was successful (gcc -c), but when I try to link > > > (generate .exe) I receive the following messages: > > > > > > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x72):echo.c: > > > undefined reference to `_imp__axis2_env_create_all' > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0xa2): > > echo.c: > > > undefined reference to `_imp__axis2_strcmp' > > > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0xfa):echo.c: > > > undefined reference to `_imp__axis2_endpoint_ref_create' > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x10a): > > echo.c: > > > undefined reference to `_imp__axis2_options_create' > > > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x17a):echo.c: > > > undefined reference to `_imp__axis2_svc_client_create' > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x39d): > > echo.c: > > > undefined reference to `_imp__axiom_namespace_create' > > > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x3cb):echo.c: > > > undefined reference to `_imp__axiom_element_create' > > > C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x3f9): > > echo.c: > > > undefined reference to `_imp__axiom_element_create' > > > collect2: ld returned 1 exit status > > > > > > The command line is: > > > > > > set LIB_DIR=3DD:\work\myproject\lib > > > gcc -o echo -B D:\work\myproject echo.c %LIB_DIR%/axiom.lib > > > %LIB_DIR%/axis2_engine.lib %LIB_DIR%/axis2_http_receiver.lib > > > %LIB_DIR%/axis2_http_sender.lib %LIB_DIR%/axis2_parser.lib > > > %LIB_DIR%/axis2_util.lib %LIB_DIR%/axis2_wsdl.lib > > %LIB_DIR%/iconv.lib > > > %LIB_DIR%/iconv_a.lib %LIB_DIR%/libxml2.lib > %LIB_DIR%/libxml2_a.lib > > > %LIB_DIR%/mod_axis2.lib %LIB_DIR%/woden.lib > %LIB_DIR%/xml_schema.lib > > > %LIB_DIR%/zdll.lib %LIB_DIR%/zlib.lib > > > > > > > > > Thanks for any help! > > > > > > Joao Bortoletto > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > > > > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > ------=_Part_73863_17587084.1153230942076 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Friends,

    I tried to export dlls to .a (ming= w) doing the following:

--------------------------------------------= ---------------   
pexports axiom.dll > axiomdll.def<= br>dlltool --input-def axiomdll.def --dllname axiom.dll -l libaxiom.a -k
ranlib libaxiom.a
-------------= ----------------------------------------------

    I = processed this step to every axis2 dll...
    A generated= .def file appears like:
   
----------------------------------------------------= -------
LIBRARY axiom.dll
EXPORTS
axiom_attribute_create@16
axi= om_attribute_free_void_arg@8
axiom_child_element_iterator_create@8
ax= iom_children_iterator_create@8
axiom_children_qname_iterator_create@12
axiom_children_with_specific= _attribute_iterator_create@20
axiom_comment_create@16
axiom_data_hand= ler_create@12
axiom_doctype_create@16
axiom_document_create@12
axiom_element_create@20
axiom_element_create_with_qname@16
axiom_mime= _body_part_create@4
axiom_mime_output_create@4
axiom_mime_parser_crea= te@4
axiom_namespace_create@12
axiom_namespace_set_uri@12
axiom_na= vigator_create@8
axiom_node_create@4
axiom_node_get_builder@8
axiom_node_set_build= er@12
axiom_node_set_complete@12
axiom_node_set_data_element@12
ax= iom_node_set_document@12
axiom_node_set_first_child@12
axiom_node_set= _next_sibling@12
axiom_node_set_node_type@12
axiom_node_set_parent@12
axiom_node_s= et_previous_sibling@12
axiom_output_create@8
axiom_output_write_optim= ized@12
axiom_processing_instruction_create@20
axiom_soap11_builder_h= elper_create@12
axiom_soap12_builder_helper_create@8
axiom_soap_body_create@4
axi= om_soap_body_create_with_parent@8
axiom_soap_builder_create@12
axiom_= soap_envelope_create@8
axiom_soap_envelope_create_default_soap_envelope@= 8
axiom_soap_envelope_create_default_soap_fault_envelope@24
axiom_soap= _envelope_create_null@4
axiom_soap_envelope_create_with_soap_version_pre= fix@12
axiom_soap_fault_code_create@4
axiom_soap_fault_code_create_wi= th_parent@8
axiom_soap_fault_code_create_with_parent_value@12
axiom_soap_fault_c= reate@4
axiom_soap_fault_create_default_fault@20
axiom_soap_fault_cre= ate_with_exception@12
axiom_soap_fault_create_with_parent@8
axiom_soa= p_fault_detail_create@4
axiom_soap_fault_detail_create_with_parent@8
axiom_soap_fault_node_c= reate@4
axiom_soap_fault_node_create_with_parent@8
axiom_soap_fault_r= eason_create@4
axiom_soap_fault_reason_create_with_parent@8
axiom_soa= p_fault_role_create@4
axiom_soap_fault_role_create_with_parent@8
axiom_soap_fault_sub_code= _create@4
axiom_soap_fault_sub_code_create_with_parent@8
axiom_soap_f= ault_sub_code_create_with_parent_value@12
axiom_soap_fault_text_create@4
axiom_soap_fault_text_create_with_parent@8
axiom_soap_fault_value_cr= eate@4
axiom_soap_fault_value_create_with_code@8
axiom_soap_fault_val= ue_create_with_subcode@8
axiom_soap_header_block_create@4
axiom_soap_= header_block_create_with_parent@16
axiom_soap_header_create@4
axiom_soap_header_create_with_parent@8axiom_stax_builder_create@8
axiom_stax_builder_get_current_event@8
a= xiom_stax_builder_get_element_level@8
axiom_stax_builder_get_lastnode@8
axiom_stax_builder_set_element_level@12
axiom_stax_builder_set_lastn= ode@12
axiom_text_create@16
axiom_text_create_with_data_handler@16axiom_util_get_child_elements@12
axiom_util_get_child_node_text@8
axiom_util_get_first_child_element@16
axiom_util_get_first_child_element= _with_localname@20
axiom_util_get_first_child_element_with_localname_att= r@28
axiom_util_get_first_child_element_with_localnames@20
axiom_util= _get_first_child_element_with_uri@16
axiom_util_get_first_child_element_with_uri_localname@24
axiom_util_= get_last_child_element@16
axiom_util_get_last_child_element_with_localna= me@20
axiom_util_get_last_child_element_with_localname_attr@28
axiom_= util_get_last_child_element_with_localnames@20
axiom_util_get_last_child_element_with_uri_localname@24
axiom_util_g= et_localname@8
axiom_util_get_next_sibling_element@16
axiom_util_get_= next_sibling_element_with_uri@16
axiom_util_get_next_sibling_element_wit= h_uri_localname@24
axiom_util_get_next_siblng_element_with_localname@20
axiom_util_get_= next_siblng_element_with_localname_attr@28
axiom_util_get_next_siblng_el= ement_with_localnames@20
axiom_util_get_node_namespace_uri@8
axiom_ou= tput_write
-----------------------------------------------------------

&nbs= p;   When I call my compilation routine:
    -----------------------------------------------------------  &n= bsp;
set INC_DIR=3D"D:\work\project"
set LIB_DIR=3D"D:\work\project\lib"

gcc -o project -B = %INC_DIR% echo.c -L %LIB_DIR% -laxiom -laxis2_engine -laxis2_http_receiver = -laxis2_http_sender -laxis2_parser -laxis2_util -laxis2_wsdl -liconv -llibx= ml2 -lmod_axis2 -lwoden -lxml_schema -lzlib1
-----------------------------------------------------------

&nbs= p;   I receive the following message:

--------------------= ---------------------------------------
C:\DOCUME~1\JBORTO~1\CONFIG~1\Te= mp/cc8wcaaa.o(.text+0x39c): echo.c: undefined ref
erence to `_imp__axiom_namespace_create'
C:\DOC= UME~1\JBORTO~1\CONFIG~1\Temp/cc8wcaaa.o(.text+0x3ca):echo.c: undefined ref<= br>erence to `_imp__axiom_element_create'
C:\DOCUME~1\JBORTO~1\CONFIG~1\= Temp/cc8wcaaa.o(.text+0x3f8): echo.c: undefined ref
erence to `_imp__axiom_element_create'
collect2= : ld returned 1 exit status
--------------------------------------------= ---------------

    That's OK! If I remove '@number' = from function in def file, this fail not occurs and compilation appears OK.
    But when I try to execute my "project.exe"= , I receive the message:
   
------------------------= -----------------------------------   
Could not find th= e entry point "axiom_element_create" in the dynamic library "= ; axiom.dll".   
------------------------------------= -----------------------       

 =    Anybody has any suggestion?
    Remember tha= t I'm trying to compile under winXP and Mingw.
    Is Axi= s2 compatible with other compiles than MSVC??
    I'd like to thank Samisa that has been tried to help= me...
   
    Joao Bortoletto
&nbs= p;  

On 7/14/06, Samisa Abeysinghe < samisa.abeysinghe@gmail.com> wrote:
The error basically suggests that you do no= t have the util, axiom and
engine libs on your path.
Does your %LIB_DIR% contain the path to th= ese libs?

Also, give that you are using gcc on windows, you must hav= e build this
from source. How did the build go?

Thanks,
Samisa= ...

Jo=E3o Carlos Bortoletto wrote:

> Hi Samisa,
>
&= gt;     Thanks for your reply.
>   = ;  I tried to execute again following your instructions. The compiler<= br>> returned the same message:
>
> ------------------------------
> D:\work\project\src\tes= t>gcc -o echo -B %INC_DIR% echo.c -L %LIB_DIR%
> -laxiom &nbs= p;-laxis2_engine  -laxis2_http_receiver  -laxis2_http_s= ender
> -laxis2_parser  -laxis2_util  -laxis2_wsd= l  -liconv  -liconv_a  -xml2
> -xml2_a  -lmod_axis2 -lwoden  -lxml_schema&nbs= p; -lzdll
>
> C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.= o(.text+0x72): echo.c:
> undefined reference to `_imp__axis2_env_crea= te_all'
> C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0xa2): echo.c:
> undefined reference to `_imp__axis2_strcmp'
> C:\DOCU= ME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0xfa): echo.c:
> undefin= ed reference to `_imp__axis2_endpoint_ref_create'
> C:\DOCUME~1\JBORT= O~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x10a): echo.c:
> undefined reference to `_imp__axis2_options_create'
>= C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x17a): echo.c:
>= ; undefined reference to `_imp__axis2_svc_client_create'
> C:\DOCUME~= 1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x39c): echo.c:
> undefined reference to `_imp__axiom_namespace_create'
&g= t; C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x3ca): echo.c:
&= gt; undefined reference to `_imp__axiom_element_create'
> C:\DOCUME~1= \JBORTO~1\CONFIG~1\Temp/ccgzbaaa.o(.text+0x3f8): echo.c:
> undefined reference to `_imp__axiom_element_create'
>= collect2: ld returned 1 exit status
> ------------------------------=
>
>     I'm working with axis2c 0.92... Do= you think there are any library
> missing?
>     Thanks a lot for your hel= p!
>
>
>     Joao
>
> On = 7/14/06, *Samisa Abeysinghe* <samisa.abeysinghe@gmail.com
> <mailto:samisa.abeys= inghe@gmail.com>> wrote:
>
>     = Looks like you have not linked the libs correctly.
>   = ;  You have to use
>     -L{path to libs} -l= axis2_util -laxis2_axiom -laxis2_wsdl
>     -laxis2_engine
>   &n= bsp; -laxis2_parser -lpthread -lwoden -laxis2_xml_schema
>  = ;   -laxis2_http_sender
>     -laxis2_h= ttp_receiver  -lxml2 -lpthread -lz -lm   -ldl
>>     when linking. You have to replace {path to l= ibs} with the path
>     where you
>     = have libs.
>
>     Samisa...
>
>= ;     Jo=E3o Carlos Bortoletto wrote:
>
>&n= bsp;    > Hi friends,
>     >= ;
>     >     I'm new in C= /C++ programming language. I was trying to
>     compile the
>    = ; > simple example "echo.c" using gcc under mingw (win32).
= >     >     Compilation was s= uccessful (gcc -c), but when I try to link
>     = > (generate .exe) I receive the following messages:
>     >
>     ><= br>>     C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa= .o(.text+0x72):echo.c:
>     > undefined refer= ence to `_imp__axis2_env_create_all'
>     >&n= bsp;    C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+= 0xa2):
>     echo.c:
>     &g= t; undefined reference to `_imp__axis2_strcmp'
>   &nb= sp; >
>     C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp= /ccW2baaa.o(.text+0xfa):echo.c:
>     > undefi= ned reference to `_imp__axis2_endpoint_ref_create'
>     >     C:\DOCUME~1\J= BORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x10a):
>   &nb= sp; echo.c:
>     > undefined reference to `_i= mp__axis2_options_create'
>     >
> = ;    C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x1= 7a): echo.c:
>     > undefined reference to `_imp__= axis2_svc_client_create'
>     >  &n= bsp;  C:\DOCUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x39d):
&= gt;     echo.c:
>     > un= defined reference to `_imp__axiom_namespace_create'
>     >
>     C:\DO= CUME~1\JBORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x3cb):echo.c:
> =     > undefined reference to `_imp__axiom_element_create'=
>     >     C:\DOCUME~1\J= BORTO~1\CONFIG~1\Temp/ccW2baaa.o(.text+0x3f9):
>     echo.c:
>     &g= t; undefined reference to `_imp__axiom_element_create'
>  &= nbsp;  > collect2: ld returned 1 exit status
>  &nb= sp;  >
>     >    = The command line is:
>     >
>     >     set LIB_DIR=3DD:\= work\myproject\lib
>     >   &n= bsp; gcc -o echo -B D:\work\myproject echo.c %LIB_DIR%/axiom.lib
>&nb= sp;    > %LIB_DIR%/axis2_engine.lib %LIB_DIR%/axis2_http_= receiver.lib
>     > %LIB_DIR%/axis2_http_send= er.lib %LIB_DIR%/axis2_parser.lib
>     > %LIB_DIR%/axis2_util.lib %LIB_DIR%/ax= is2_wsdl.lib
>     %LIB_DIR%/iconv.lib
>&nb= sp;    > %LIB_DIR%/iconv_a.lib %LIB_DIR%/libxml2.lib %LIB= _DIR%/libxml2_a.lib
>     > %LIB_DIR%/mod_axis= 2.lib %LIB_DIR%/woden.lib %LIB_DIR%/xml_schema.lib
>     > %LIB_DIR%/zdll.lib %LIB_DIR%/zlib.lib=
>     >
>     ><= br>>     >     Thanks for any= help!
>     >
>    = >     Joao Bortoletto
>
>
>
&g= t;     ------------------------------------------------= ---------------------
>     To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.or= g
>     <mailto:axis-c-user-unsubscribe@ws.apache.org >
>     For additional commands, e-mail: <= a href=3D"mailto:axis-c-user-help@ws.apache.org">axis-c-user-help@ws.apache= .org
>     <mailto:axis-c-user-help@ws.apache.org >
>
>


---------------------------------------= ------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.o= rg
For additional commands, e-mail: axis-c-user-help@ws.apache.org


------=_Part_73863_17587084.1153230942076--