You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by "Wang, Hailong (NIH/CIT) [C]" <wa...@mail.nih.gov> on 2007/06/19 20:00:52 UTC
A compiling problem
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
RE: A compiling problem
Posted by "Wang, Hailong (NIH/CIT) [C]" <wa...@mail.nih.gov>.
Samisa,
Thanks for you response. Now the problem was solved.
Hailong
-----Original Message-----
From: Samisa Abeysinghe [mailto:samisa.abeysinghe@gmail.com]
Sent: Tuesday, June 19, 2007 10:27 PM
To: Apache AXIS C User List
Subject: Re: A compiling problem
What is the version of Axis2/C you are using? I hope you are using the
latest 1.0.0 version.
Also, please send in the command that you used to build the sample.
Thanks,
Samisa...
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 <ma...@mail.nih.gov>
>
> URL: http://ndar.nih.gov
>
>
>
--
Samisa Abeysinghe : http://www.bloglines.com/blog/samisa
---------------------------------------------------------------------
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
Re: A compiling problem
Posted by Samisa Abeysinghe <sa...@gmail.com>.
What is the version of Axis2/C you are using? I hope you are using the
latest 1.0.0 version.
Also, please send in the command that you used to build the sample.
Thanks,
Samisa...
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 <ma...@mail.nih.gov>
>
> URL: http://ndar.nih.gov
>
>
>
--
Samisa Abeysinghe : http://www.bloglines.com/blog/samisa
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
RE: A compiling problem
Posted by "Wang, Hailong (NIH/CIT) [C]" <wa...@mail.nih.gov>.
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
Re: A compiling problem
Posted by Manjula Peiris <ma...@wso2.com>.
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