axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Hailong (NIH/CIT) [C]" <wan...@mail.nih.gov>
Subject RE: A compiling problem
Date Wed, 20 Jun 2007 13:07:55 GMT
Manjula,

Thanks for you response. Now the problem was solved.


Hailong

-----Original Message-----
From: Manjula Peiris [mailto:manjula@wso2.com] 
Sent: Tuesday, June 19, 2007 11:03 PM
To: Apache AXIS C User List
Subject: Re: A compiling problem

Hi Wang,

Did you add %AXIS2C_HOME%\lib to the %PATH% enviornment varaible ?

-Manjula


On Tue, 2007-06-19 at 14:00 -0400, Wang, Hailong (NIH/CIT) [C] wrote:
> Hi,
> 
>  
> 
> I tried to build the echo sample, but I got linking errors as
> following:
> 
>  
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axutil_env_free@4 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_svc_client_free@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axiom_node_to_string@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_svc_client_send_receive@12 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_svc_client_disengage_module@12 referenced in function
> _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_svc_client_set_options@12 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axutil_log_impl_log_error referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axutil_error_get_message@4 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_svc_client_create@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_options_set_action@12 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_options_set_to@12 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_options_create@4 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axis2_endpoint_ref_create@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axutil_strcmp@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axutil_env_create_all@8 referenced in function _main
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axiom_element_set_text@16 referenced in function
> _build_om_payload_for_echo_svc
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axiom_element_create@20 referenced in function
> _build_om_payload_for_echo_svc
> 
> 1>echo.obj : error LNK2019: unresolved external symbol
> __imp__axiom_namespace_create@12 referenced in function
> _build_om_payload_for_echo_svc
> 
> 1>Debug\Echo.exe : fatal error LNK1120: 18 unresolved externals
> 
>  
> 
> I looked at echo.obj and axutil.dll, and found something interesting.
> For example, in echo.obj the function of __imp__axutil_env_free@4 is
> invoked, and in axutil.dll there is a function with the name of
> _axutil_env_free@4. So the only difference is __imp_. I am just
> wandering if this is caused by cl.exe which added __imp_. Can someone
> help me on this? Thanks in advance.
> 
>  
> 
>  
> 
> Hailong Wang
> 
> National Database for Autism Research(NDAR)
> 
> NIH/CIT/DECA (MOM CONTRACTOR)
> 
> 9000 Rockville Pike, Bld 12A/Room 2027
> 
> Bethesda, MD 20892
> 
> Phone:  301-402-3045
> 
> Fax:       301-480-0028
> 
> Email:   wangh3@mail.nih.gov
> 
> URL:   http://ndar.nih.gov
> 
>  
> 
> 


---------------------------------------------------------------------
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


Mime
View raw message