User login

Problem installing WSO2/Ruby on CentOS 5.1

Forums :

After a successful install on Windows 2003, I needed to try on Linux. But it failed with CentOS 5.1.

I installed wsf_c from the rpm. The examples worked ok.

WSO2/Ruby was installed from sources. The (samples) provider service started ok.

But running the consumer exampled (ruby echo_client.rb) failed.

It first failed complaining of a missing so (lib_mod_rampart.so.0). I copied all the files from /opt/wso2/wsf_c/modules/rampart/ to /opt/wso2/wsf_c/lib

The error was still there, so I executed:

export LD_LIBRARY_PATH=/usr/local/lib:${WSFC_HOME}lib

The error went away for another one (seeb buffer overflow below).

Any help would be greatly appreciated.

 

Regards,

Thierry Thelliez

# ruby echo_client.rb
*** buffer overflow detected ***: ruby terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0xa743a1]
/lib/libc.so.6[0xa73de3]
/lib/libc.so.6(__snprintf_chk+0x37)[0xa73cc7]
/usr/lib/ruby/site_ruby/1.8/i386-linux/wsservice.so(wsf_env_create_svr+0xe4)[0x69d374]
/usr/lib/ruby/site_ruby/1.8/i386-linux/wsservice.so(Init_wsservice+0x16d)[0x69e53d]
/usr/lib/libruby.so.1.8(dln_load+0x10f)[0xb3a04f]
/usr/lib/libruby.so.1.8(rb_require_safe+0x5cb)[0xb5665b]
/usr/lib/libruby.so.1.8(rb_f_require+0x29)[0xb56839]
/usr/lib/libruby.so.1.8[0xb40daa]
/usr/lib/libruby.so.1.8[0xb4849b]
/usr/lib/libruby.so.1.8[0xb491b8]
/usr/lib/libruby.so.1.8[0xb50f92]
/usr/lib/libruby.so.1.8(rb_load+0x502)[0xb55fb2]
/usr/lib/libruby.so.1.8(rb_require_safe+0x56b)[0xb565fb]
/usr/lib/libruby.so.1.8(rb_f_require+0x29)[0xb56839]
/usr/lib/libruby.so.1.8[0xb40daa]
/usr/lib/libruby.so.1.8[0xb4849b]
/usr/lib/libruby.so.1.8[0xb491b8]
/usr/lib/libruby.so.1.8[0xb50f92]
/usr/lib/libruby.so.1.8[0xb56a27]
/usr/lib/libruby.so.1.8(ruby_exec+0x22)[0xb56a72]
/usr/lib/libruby.so.1.8(ruby_run+0x2f)[0xb56aaf]
ruby[0x8048622]
/lib/libc.so.6(__libc_start_main+0xdc)[0x9a7dec]
ruby[0x8048521]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thierry,I was able to

Thierry,

I was able to reproduce this on Fedora Core 8.  The problem was in server side code (specifically in wsf_util.c) the log_path was declared to be 250 bytes and later snprintf was writing 256 bytes causing the buffer overflow.

I fixed it on svn and tested and it's working fine.  Could you please try to get a checkout of WSF/Ruby from svn and try?

Funny thing is this was not happening on either Gentoo or Ubuntu :-)

 

Passed on CentOS 5.1

Thank you for the fix.

I was able to pass the first examples (echo_client.rb).

 

You're welcome.

You're welcome.

SVN Checkout wont compile on CentOS 5.1

I received the same error, and after checking out trunk from the svn and trying to run sh build.sh i receive an error with the following stack trace.  It seems that wsf_wsdl_mode.h is not being found.  My environment is as follows:

[root@localhost ~]# cat wso2_profile

WSFC_HOME='/opt/wso2/wsf_c'

export WSFC_HOME

export LD_LIBRARY_PATH=$WSFC_HOME/lib

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/wso2/wsf_c/modules/rampart

export PATH=$WSFC_HOME:$PATH

[root@localhost ~]#

The C libs and everything up to this point installs fine, and the tests pass.  However, if i use the tar.gz source for the ruby extensions, i get the same error as stated above.  If i checkout the lastest from trunk, i have this error.

Stack trace:

[root@localhost wso2-wsf-ruby-src-1.0.0]# sh build.sh

checking for main() in -laxis2_axiom... yes

checking for main() in -laxutil... yes

checking for main() in -laxis2_parser... yes

checking for main() in -laxis2_engine... yes

checking for main() in -laxis2_http_common... yes

checking for main() in -laxis2_http_sender... yes

checking for main() in -laxis2_http_receiver... yes

checking for main() in -lomxmlsec... yes

checking for main() in -loxstokens... yes

checking for main() in -lsaml... yes

checking for main() in -lomopenssl... yes

checking for main() in -lneethi... yes

checking for main() in -lneethi_util... yes

checking for main() in -lmod_rampart... yes

creating Makefile

gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/opt/wso2/wsf_c/include/rampart-1.0 -I/opt/wso2/wsf_c/include/axis2-1.2  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC  -c WSFC_wrapper.c

WSFC_wrapper.c:1901:27: error: wsf_wsdl_mode.h: No such file or directory

WSFC_wrapper.c: In function âwsf_set_security_token_data_to_rampart_contextâ:

WSFC_wrapper.c:1925: warning: unused variable âcallback_fnâ

WSFC_wrapper.c:1924: warning: unused variable âcallback_function_nameâ

WSFC_wrapper.c: In function âhandle_client_securityâ:

WSFC_wrapper.c:2048: warning: implicit declaration of function âneethi_engine_get_policyâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2095: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c:2096: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_request_function_mem_free_returnâ:

WSFC_wrapper.c:2103: error: âuser_parametersâ undeclared (first use in this function)

WSFC_wrapper.c:2103: error: (Each undeclared identifier is reported only once

WSFC_wrapper.c:2103: error: for each function it appears in.)

WSFC_wrapper.c:2104: warning: implicit declaration of function âwsdl_data_freeâ

WSFC_wrapper.c:2105: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2121: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token

WSFC_wrapper.c: In function âhash_callbackâ:

WSFC_wrapper.c:2128: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2128: error: âdataâ undeclared (first use in this function)

WSFC_wrapper.c:2133: error: expected expression before â)â token

WSFC_wrapper.c:2153: error: âsub_dataâ undeclared (first use in this function)

WSFC_wrapper.c:2154: warning: implicit declaration of function âwsf_wsdl_convert_params_to_wsdl_dataâ

WSFC_wrapper.c:2155: warning: implicit declaration of function âwsdl_data_add_objectâ

WSFC_wrapper.c:2160: warning: implicit declaration of function âwsdl_data_add_simple_elementâ

WSFC_wrapper.c:2147: warning: unused variable âvalue_type_strâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2185: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token

WSFC_wrapper.c:2213: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c:2216: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_convert_response_to_rubyâ:

WSFC_wrapper.c:2218: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2218: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2223: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_convert_wsdl_data_to_hashâ:

WSFC_wrapper.c:2226: error: âwsf_wsdl_data_iterator_tâ undeclared (first use in this function)

WSFC_wrapper.c:2226: error: âiteratorâ undeclared (first use in this function)

WSFC_wrapper.c:2228: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2228: error: âCHILDREN_TYPE_NONEâ undeclared (first use in this function)

WSFC_wrapper.c:2236: warning: implicit declaration of function âwsdl_data_iterator_createâ

WSFC_wrapper.c:2238: warning: implicit declaration of function âwsdl_data_iterator_firstâ

WSFC_wrapper.c:2241: error: âCHILDREN_TYPE_ARRAY_ELEMENTSâ undeclared (first use in this function)

WSFC_wrapper.c:2247: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2247: error: âdataâ undeclared (first use in this function)

WSFC_wrapper.c:2249: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c:2253: warning: implicit declaration of function âwsdl_data_iterator_nextâ

WSFC_wrapper.c:2255: error: âCHILDREN_TYPE_ATTRIBUTESâ undeclared (first use in this function)

WSFC_wrapper.c:2264: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c:2272: warning: implicit declaration of function âwsdl_data_iterator_freeâ

WSFC_wrapper.c: In function âwsf_wsdl_request_functionâ:

WSFC_wrapper.c:2285: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2285: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2286: error: âuser_parametersâ undeclared (first use in this function)

WSFC_wrapper.c:2306: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2306: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2315: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2315: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2328: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2328: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2337: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2337: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2348: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2348: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2361: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2361: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2370: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2370: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2383: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2383: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2392: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2392: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2398: warning: implicit declaration of function âwsf_wsdl_requestâ

WSFC_wrapper.c:2411: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2411: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2418: error: too many arguments to function âwsf_wsdl_convert_response_to_rubyâ

WSFC_wrapper.c:2424: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2424: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2433:48: warning: "/*" within comment

WSFC_wrapper.c:2434:41: warning: "/*" within comment

WSFC_wrapper.c:2436:4: warning: "/*" within comment

WSFC_wrapper.c:2448:4: warning: "/*" within comment

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_request_function_mem_free_returnâ:

WSFC_wrapper.c:3118: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3118: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3118: error: expected expression before â)â token

WSFC_wrapper.c:3119: error: âarg3â undeclared (first use in this function)

WSFC_wrapper.c:3119: error: expected expression before â)â token

WSFC_wrapper.c:3160: error: expected expression before â)â token

WSFC_wrapper.c:3165: error: expected expression before â)â token

WSFC_wrapper.c:3191: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:3191: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_params_to_wsdl_dataâ:

WSFC_wrapper.c:3211: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3211: error: âresultâ undeclared (first use in this function)

WSFC_wrapper.c:3225: error: expected expression before â)â token

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_wsdl_data_to_hashâ:

WSFC_wrapper.c:3262: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3262: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3262: error: expected expression before â)â token

WSFC_wrapper.c:3282: error: expected expression before â)â token

WSFC_wrapper.c:3283: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_response_to_rubyâ:

WSFC_wrapper.c:3294: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3294: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3294: error: expected expression before â)â token

WSFC_wrapper.c:3314: error: expected expression before â)â token

WSFC_wrapper.c:3315: error: too many arguments to function âwsf_wsdl_convert_response_to_rubyâ

make: *** [WSFC_wrapper.o] Error 1

gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/opt/wso2/wsf_c/include/rampart-1.0 -I/opt/wso2/wsf_c/include/axis2-1.2  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC  -c WSFC_wrapper.c

WSFC_wrapper.c:1901:27: error: wsf_wsdl_mode.h: No such file or directory

WSFC_wrapper.c: In function âwsf_set_security_token_data_to_rampart_contextâ:

WSFC_wrapper.c:1925: warning: unused variable âcallback_fnâ

WSFC_wrapper.c:1924: warning: unused variable âcallback_function_nameâ

WSFC_wrapper.c: In function âhandle_client_securityâ:

WSFC_wrapper.c:2048: warning: implicit declaration of function âneethi_engine_get_policyâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2095: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c:2096: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_request_function_mem_free_returnâ:

WSFC_wrapper.c:2103: error: âuser_parametersâ undeclared (first use in this function)

WSFC_wrapper.c:2103: error: (Each undeclared identifier is reported only once

WSFC_wrapper.c:2103: error: for each function it appears in.)

WSFC_wrapper.c:2104: warning: implicit declaration of function âwsdl_data_freeâ

WSFC_wrapper.c:2105: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2121: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token

WSFC_wrapper.c: In function âhash_callbackâ:

WSFC_wrapper.c:2128: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2128: error: âdataâ undeclared (first use in this function)

WSFC_wrapper.c:2133: error: expected expression before â)â token

WSFC_wrapper.c:2153: error: âsub_dataâ undeclared (first use in this function)

WSFC_wrapper.c:2154: warning: implicit declaration of function âwsf_wsdl_convert_params_to_wsdl_dataâ

WSFC_wrapper.c:2155: warning: implicit declaration of function âwsdl_data_add_objectâ

WSFC_wrapper.c:2160: warning: implicit declaration of function âwsdl_data_add_simple_elementâ

WSFC_wrapper.c:2147: warning: unused variable âvalue_type_strâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2185: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token

WSFC_wrapper.c:2213: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c:2216: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_convert_response_to_rubyâ:

WSFC_wrapper.c:2218: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2218: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c: At top level:

WSFC_wrapper.c:2223: error: expected declaration specifiers or â...â before âwsf_wsdl_data_tâ

WSFC_wrapper.c: In function âwsf_wsdl_convert_wsdl_data_to_hashâ:

WSFC_wrapper.c:2226: error: âwsf_wsdl_data_iterator_tâ undeclared (first use in this function)

WSFC_wrapper.c:2226: error: âiteratorâ undeclared (first use in this function)

WSFC_wrapper.c:2228: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2228: error: âCHILDREN_TYPE_NONEâ undeclared (first use in this function)

WSFC_wrapper.c:2236: warning: implicit declaration of function âwsdl_data_iterator_createâ

WSFC_wrapper.c:2238: warning: implicit declaration of function âwsdl_data_iterator_firstâ

WSFC_wrapper.c:2241: error: âCHILDREN_TYPE_ARRAY_ELEMENTSâ undeclared (first use in this function)

WSFC_wrapper.c:2247: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2247: error: âdataâ undeclared (first use in this function)

WSFC_wrapper.c:2249: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c:2253: warning: implicit declaration of function âwsdl_data_iterator_nextâ

WSFC_wrapper.c:2255: error: âCHILDREN_TYPE_ATTRIBUTESâ undeclared (first use in this function)

WSFC_wrapper.c:2264: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c:2272: warning: implicit declaration of function âwsdl_data_iterator_freeâ

WSFC_wrapper.c: In function âwsf_wsdl_request_functionâ:

WSFC_wrapper.c:2285: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:2285: error: âresponseâ undeclared (first use in this function)

WSFC_wrapper.c:2286: error: âuser_parametersâ undeclared (first use in this function)

WSFC_wrapper.c:2306: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2306: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2315: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2315: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2328: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2328: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2337: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2337: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2348: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2348: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2361: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2361: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2370: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2370: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2383: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2383: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2392: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2392: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2398: warning: implicit declaration of function âwsf_wsdl_requestâ

WSFC_wrapper.c:2411: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2411: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2418: error: too many arguments to function âwsf_wsdl_convert_response_to_rubyâ

WSFC_wrapper.c:2424: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:2424: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c:2433:48: warning: "/*" within comment

WSFC_wrapper.c:2434:41: warning: "/*" within comment

WSFC_wrapper.c:2436:4: warning: "/*" within comment

WSFC_wrapper.c:2448:4: warning: "/*" within comment

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_request_function_mem_free_returnâ:

WSFC_wrapper.c:3118: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3118: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3118: error: expected expression before â)â token

WSFC_wrapper.c:3119: error: âarg3â undeclared (first use in this function)

WSFC_wrapper.c:3119: error: expected expression before â)â token

WSFC_wrapper.c:3160: error: expected expression before â)â token

WSFC_wrapper.c:3165: error: expected expression before â)â token

WSFC_wrapper.c:3191: warning: passing argument 6 of âwsf_wsdl_request_function_mem_free_returnâ from incompatible pointer type

WSFC_wrapper.c:3191: error: too many arguments to function âwsf_wsdl_request_function_mem_free_returnâ

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_params_to_wsdl_dataâ:

WSFC_wrapper.c:3211: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3211: error: âresultâ undeclared (first use in this function)

WSFC_wrapper.c:3225: error: expected expression before â)â token

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_wsdl_data_to_hashâ:

WSFC_wrapper.c:3262: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3262: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3262: error: expected expression before â)â token

WSFC_wrapper.c:3282: error: expected expression before â)â token

WSFC_wrapper.c:3283: error: too many arguments to function âwsf_wsdl_convert_wsdl_data_to_hashâ

WSFC_wrapper.c: In function â_wrap_wsf_wsdl_convert_response_to_rubyâ:

WSFC_wrapper.c:3294: error: âwsf_wsdl_data_tâ undeclared (first use in this function)

WSFC_wrapper.c:3294: error: âarg2â undeclared (first use in this function)

WSFC_wrapper.c:3294: error: expected expression before â)â token

WSFC_wrapper.c:3314: error: expected expression before â)â token

WSFC_wrapper.c:3315: error: too many arguments to function âwsf_wsdl_convert_response_to_rubyâ

make: *** [WSFC_wrapper.o] Error 1

checking for main() in -laxis2_axiom... yes

checking for main() in -laxutil... yes

checking for main() in -laxis2_minizip... yes

checking for main() in -laxis2_parser... yes

checking for main() in -laxis2_engine... yes

checking for main() in -laxis2_http_common... yes

checking for main() in -laxis2_http_sender... yes

checking for main() in -laxis2_http_receiver... yes

checking for main() in -laxis2_engine... yes

checking for main() in -lneethi... yes

checking for main() in -lneethi_util... yes

checking for main() in -lmod_rampart... yes

creating Makefile

gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/opt/wso2/wsf_c/include/rampart-1.0 -I/opt/wso2/wsf_c/include/axis2-1.2  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC  -c wsf.c

wsf.c:18:27: error: wsf_wsdl_mode.h: No such file or directory

wsf.c: In function âwsservice_initializeâ:

wsf.c:244: error: âwsf_wsdl_info_tâ undeclared (first use in this function)

wsf.c:244: error: (Each undeclared identifier is reported only once

wsf.c:244: error: for each function it appears in.)

wsf.c:244: error: âwsdl_infoâ undeclared (first use in this function)

wsf.c:269: warning: implicit declaration of function âwsf_wsdl_mode_initialize_for_serviceâ

wsf.c:86: warning: unused variable âv_request_uriâ

wsf.c:85: warning: unused variable âkeyâ

wsf.c: In function âwsservice_replyâ:

wsf.c:496: warning: unused variable âarg_data_lenâ

wsf.c:495: warning: unused variable âarg_dataâ

wsf.c:493: warning: unused variable âraw_post_nullâ

wsf.c:492: warning: unused variable âin_wsdl_modeâ

wsf.c:491: warning: unused variable âcontent_typeâ

wsf.c:480: warning: unused variable âht_ops_to_mepâ

wsf.c: In function âInit_wsserviceâ:

wsf.c:590: warning: unused variable ârm_db_dirâ

make: *** [wsf.o] Error 1

gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/opt/wso2/wsf_c/include/rampart-1.0 -I/opt/wso2/wsf_c/include/axis2-1.2  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC  -c wsf.c

wsf.c:18:27: error: wsf_wsdl_mode.h: No such file or directory

wsf.c: In function âwsservice_initializeâ:

wsf.c:244: error: âwsf_wsdl_info_tâ undeclared (first use in this function)

wsf.c:244: error: (Each undeclared identifier is reported only once

wsf.c:244: error: for each function it appears in.)

wsf.c:244: error: âwsdl_infoâ undeclared (first use in this function)

wsf.c:269: warning: implicit declaration of function âwsf_wsdl_mode_initialize_for_serviceâ

wsf.c:86: warning: unused variable âv_request_uriâ

wsf.c:85: warning: unused variable âkeyâ

wsf.c: In function âwsservice_replyâ:

wsf.c:496: warning: unused variable âarg_data_lenâ

wsf.c:495: warning: unused variable âarg_dataâ

wsf.c:493: warning: unused variable âraw_post_nullâ

wsf.c:492: warning: unused variable âin_wsdl_modeâ

wsf.c:491: warning: unused variable âcontent_typeâ

wsf.c:480: warning: unused variable âht_ops_to_mepâ

wsf.c: In function âInit_wsserviceâ:

wsf.c:590: warning: unused variable ârm_db_dirâ

make: *** [wsf.o] Error 1

[root@localhost wso2-wsf-ruby-src-1.0.0]#

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.