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 A compiling problem
Date Tue, 19 Jun 2007 18:00:52 GMT
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

 


Mime
View raw message