gem install oversip -debug
ERROR: While executing gem ... (OptionParser::AmbiguousOption)
ambiguous option: -debug
[root@cloud-server-06 ~]# gem install oversip -V
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=oversip
200 OK
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=eventmachine,tins
200 OK
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/AUTHORS
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/LICENSE
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/README.md
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/Rakefile
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/bin/oversip
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/oversip.conf
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/proxies.conf
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/ca/cacert.pem
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/demo-tls.oversip.net.crt
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/demo-tls.oversip.net.key
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/upgrade-cacert.sh
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/utils/create-cert.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/etc/tls/utils/get-sip-identities.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/common/c_util.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/common/ruby_c_util.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/common_headers.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/ext_help.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/sip_message_parser.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/sip_parser.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/sip_parser_ruby.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/sip_parser/sip_uri_parser.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/stud/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/stun/ext_help.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/stun/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/stun/stun_ruby.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/ext_help.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/haproxy_protocol.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/haproxy_protocol.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/ip_utils.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/ip_utils.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/outbound_utils.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/outbound_utils.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/utils_ruby.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/utils/utils_ruby.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_framing_utils/ext_help.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_framing_utils/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_framing_utils/ws_framing_utils.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_framing_utils/ws_framing_utils_ruby.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_http_parser/ext_help.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_http_parser/extconf.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_http_parser/ws_http_parser.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_http_parser/ws_http_parser.h
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/ext/websocket_http_parser/ws_http_parser_ruby.c
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/config.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/config_validators.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/default_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/errors.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/fiber_pool.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/launcher.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/logger.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/modules/outbound_mangling.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/modules/user_assertion.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/proxies_config.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/ruby_ext/eventmachine.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/client_transaction.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/constants.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/core.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/launcher.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/connection.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_tcp_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_tcp_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_tls_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_tls_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_tls_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv4_udp_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_tcp_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_tcp_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_tls_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_tls_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_tls_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/ipv6_udp_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tcp_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tcp_connection.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tcp_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tls_client.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tls_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tls_tunnel_connection.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/tls_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/listeners/udp_connection.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/message.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/message_processor.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/name_addr.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/proxy.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/request.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/response.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/rfc3263.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/server_transaction.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/sip.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/tags.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/timers.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/transport_manager.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/uac.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/uac_request.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/sip/uri.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/syslog.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/system_callbacks.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/tls.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/utils.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/version.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/constants.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/http_request.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/launcher.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/connection.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv4_ws_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv4_wss_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv4_wss_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv6_ws_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv6_wss_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ipv6_wss_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/ws_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/wss_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/listeners/wss_tunnel_server.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/websocket.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/ws_framing.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/lib/oversip/websocket/ws_sip_app.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/oversip_test_helper.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_http_parser.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_name_addr.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_name_addr_parser.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_sip_message_parser.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_sip_uri_parser.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/test/test_uri.rb
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1/thirdparty/stud/stud.tar.gz
Building native extensions. This could take a while...
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-nm20tc.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling sip_uri_parser.c
sip_uri_parser.rl: In function ‘sip_uri_parser_execute’:
sip_uri_parser.rl:209:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_uri_parser.rl:225:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
compiling sip_message_parser.c
sip_message_parser.rl: In function ‘sip_message_parser_init’:
sip_message_parser.rl:582:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser.rl: In function ‘sip_message_parser_execute’:
sip_message_parser.rl:629:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
In file included from sip_message_parser.rl:4:0:
sip_message_parser.rl:638:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
sip_message_parser.rl: In function ‘sip_message_parser_finish’:
sip_message_parser.rl:670:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
compiling sip_parser_ruby.c
In file included from common_headers.h:4:0,
from sip_parser_ruby.c:4:
../common/c_util.h: In function ‘str_to_int’:
../common/c_util.h:19:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int number = 0;
^
In file included from sip_parser_ruby.c:4:0:
common_headers.h: In function ‘init_common_headers’:
common_headers.h:103:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int i;
^
common_headers.h: In function ‘init_short_headers’:
common_headers.h:121:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int i, j;
^
common_headers.h: In function ‘find_common_header_name’:
common_headers.h:137:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int i;
^
common_headers.h: In function ‘find_short_header_name’:
common_headers.h:151:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int i;
^
common_headers.h: In function ‘headerize’:
common_headers.h:170:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE headerized;
^
common_headers.h:193:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < hname_len; i++) {
^
In file included from sip_parser_ruby.c:7:0:
../common/ruby_c_util.h: In function ‘my_rb_str_hex_unescape’:
../common/ruby_c_util.h:31:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *s, *t;
^
../common/ruby_c_util.h:35:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (s = t = new_str, i = 0 ; i < len ; s++, i++) {
^
../common/ruby_c_util.h: In function ‘my_rb_str_downcase’:
../common/ruby_c_util.h:70:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *s;
^
../common/ruby_c_util.h:73:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (s = new_str, i = 0 ; i < len ; s++, i++)
^
sip_parser_ruby.c: In function ‘data_type’:
sip_parser_ruby.c:126:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed;
^
sip_parser_ruby.c: In function ‘header’:
sip_parser_ruby.c:169:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *ch, *end;
^
sip_parser_ruby.c:169:14: warning: unused variable ‘end’ [-Wunused-variable]
char *ch, *end;
^
sip_parser_ruby.c:169:9: warning: unused variable ‘ch’ [-Wunused-variable]
char *ch, *end;
^
sip_parser_ruby.c: In function ‘msg_method’:
sip_parser_ruby.c:214:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_status_code’:
sip_parser_ruby.c:283:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_reason_phrase’:
sip_parser_ruby.c:293:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_sip_version’:
sip_parser_ruby.c:303:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_via_sent_by_host’:
sip_parser_ruby.c:313:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_via_sent_by_port’:
sip_parser_ruby.c:323:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_via_branch’:
sip_parser_ruby.c:333:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_via_received’:
sip_parser_ruby.c:351:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_call_id’:
sip_parser_ruby.c:377:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_cseq_number’:
sip_parser_ruby.c:387:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_max_forwards’:
sip_parser_ruby.c:397:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_content_length’:
sip_parser_ruby.c:407:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_from_tag’:
sip_parser_ruby.c:417:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_to_tag’:
sip_parser_ruby.c:427:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘get_uri_object’:
sip_parser_ruby.c:437:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE routes_array;
^
sip_parser_ruby.c: In function ‘uri_scheme’:
sip_parser_ruby.c:460:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_full’:
sip_parser_ruby.c:476:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_user’:
sip_parser_ruby.c:486:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_host’:
sip_parser_ruby.c:500:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_port’:
sip_parser_ruby.c:529:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_param’:
sip_parser_ruby.c:539:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE uri, params, v;
^
sip_parser_ruby.c: In function ‘uri_known_param’:
sip_parser_ruby.c:559:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE p, v;
^
sip_parser_ruby.c: In function ‘uri_has_param’:
sip_parser_ruby.c:600:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE p;
^
sip_parser_ruby.c: In function ‘uri_headers’:
sip_parser_ruby.c:615:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘uri_display_name’:
sip_parser_ruby.c:625:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘header_core_value’:
sip_parser_ruby.c:638:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘header_param’:
sip_parser_ruby.c:655:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘msg_contact_params’:
sip_parser_ruby.c:690:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c: In function ‘option_tag’:
sip_parser_ruby.c:711:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE v;
^
sip_parser_ruby.c:711:9: warning: unused variable ‘v’ [-Wunused-variable]
VALUE v;
^
sip_parser_ruby.c: In function ‘my_rb_str_tel_number_clean’:
sip_parser_ruby.c:739:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *new_str;
^
sip_parser_ruby.c:744:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *s;
^
sip_parser_ruby.c:748:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (s = (char *)str, i = 0, j = 0, new_len = len; i < len ; s++, i++)
^
sip_parser_ruby.c: In function ‘SipMessageParser_alloc’:
sip_parser_ruby.c:782:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE obj;
^
sip_parser_ruby.c: In function ‘SipMessageParser_init’:
sip_parser_ruby.c:845:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_reset’:
sip_parser_ruby.c:867:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_finish’:
sip_parser_ruby.c:885:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_execute’:
sip_parser_ruby.c:900:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_has_error’:
sip_parser_ruby.c:936:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_error’:
sip_parser_ruby.c:952:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c:967:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0, j=0; i < parser->error_len; i++) {
^
sip_parser_ruby.c: In function ‘SipMessageParser_is_finished’:
sip_parser_ruby.c:1027:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_parsed’:
sip_parser_ruby.c:1047:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_nread’:
sip_parser_ruby.c:1067:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_has_duplicated_core_header’:
sip_parser_ruby.c:1084:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_has_missing_core_header’:
sip_parser_ruby.c:1117:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_post_parsing’:
sip_parser_ruby.c:1138:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sip_message_parser *parser = NULL;
^
sip_parser_ruby.c: In function ‘SipMessageParser_Class_parse_uri’:
sip_parser_ruby.c:1178:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *dptr = NULL;
^
sip_parser_ruby.c:1180:19: warning: unused variable ‘parser’ [-Wunused-variable]
sip_uri_parser *parser;
^
In file included from ../utils/utils_ruby.h:10:0,
from sip_parser_ruby.c:5:
sip_parser_ruby.c: At top level:
../utils/ip_utils.h:23:12: warning: ‘utils_compare_pure_ips’ defined but not used [-Wunused-function]
static int utils_compare_pure_ips(char *ip1, size_t len1, enum enum_ip_type ip1_type, char *ip2, size_t len2, enum enum_ip_type ip2_type)
^
sip_parser_ruby.c: In function ‘data_type’:
sip_parser_ruby.c:149:14: warning: ‘parsed’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ivar_set(sp->ruby_sip_parser, id_parsed, parsed);
^
sip_parser_ruby.c: In function ‘option_tag’:
sip_parser_ruby.c:722:6: warning: ‘id_option_tag_owner’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ((option_tag_owner = rb_ivar_get(parsed, id_option_tag_owner)) == Qnil) {
^
sip_parser_ruby.c: In function ‘uri_has_param’:
sip_parser_ruby.c:608:14: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ivar_set(get_uri_object(parsed, owner), p, Qtrue);
^
sip_parser_ruby.c: In function ‘uri_scheme’:
sip_parser_ruby.c:469:14: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ivar_set(get_uri_object(parsed, owner), id_uri_scheme, v);
^
sip_parser_ruby.c: In function ‘uri_known_param’:
sip_parser_ruby.c:592:14: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ivar_set(get_uri_object(parsed, owner), p, v);
^
sip_parser_ruby.c:592:14: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sip_parser_ruby.c: In function ‘uri_host’:
sip_parser_ruby.c:517:6: warning: ‘host_type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (host_type == symbol_ipv6_reference)
^
linking shared-object oversip/sip/sip_parser.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 sip_parser.so ./.gem.20151216-8499-1xduzsn/oversip/sip
installing default sip_parser libraries
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-1hxqqnw.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling stun_ruby.c
stun_ruby.c: In function ‘Stun_parse_request’:
stun_ruby.c:58:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *request = NULL;
^
stun_ruby.c:65:12: warning: variable ‘message_length’ set but not used [-Wunused-but-set-variable]
uint16_t message_length;
^
linking shared-object oversip/stun.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 stun.so ./.gem.20151216-8499-1fov2sg/oversip
installing default stun libraries
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-phr3cl.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling outbound_utils.c
outbound_utils.rl: In function ‘outbound_udp_flow_token_parser_execute’:
outbound_utils.rl:69:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
outbound_utils.rl:53:10: warning: unused variable ‘mark’ [-Wunused-variable]
compiling utils_ruby.c
In file included from utils_ruby.c:5:0:
../common/c_util.h: In function ‘str_to_int’:
../common/c_util.h:19:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int number = 0;
^
utils_ruby.c: In function ‘Utils_is_ip’:
utils_ruby.c:24:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str;
^
utils_ruby.c: In function ‘Utils_is_pure_ip’:
utils_ruby.c:43:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str;
^
utils_ruby.c: In function ‘Utils_ip_type’:
utils_ruby.c:69:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str;
^
utils_ruby.c: In function ‘Utils_compare_ips’:
utils_ruby.c:104:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str1, *str2;
^
utils_ruby.c: In function ‘Utils_compare_pure_ips’:
utils_ruby.c:157:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str1, *str2;
^
utils_ruby.c: In function ‘Utils_normalize_ipv6’:
utils_ruby.c:207:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE string;
^
utils_ruby.c: In function ‘Utils_normalize_host’:
utils_ruby.c:237:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE host, ip_type;
^
utils_ruby.c: In function ‘Utils_to_pure_ip’:
utils_ruby.c:270:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str;
^
utils_ruby.c: In function ‘Utils_parser_outbound_udp_flow_token’:
utils_ruby.c:298:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str = NULL;
^
utils_ruby.c: In function ‘Utils_parser_haproxy_protocol’:
utils_ruby.c:341:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *str = NULL;
^
In file included from utils_ruby.c:5:0:
utils_ruby.c: At top level:
../common/c_util.h:38:14: warning: ‘strnchr’ defined but not used [-Wunused-function]
static char *strnchr(const char *s, size_t len, size_t c)
^
../common/c_util.h:52:14: warning: ‘str_find_upcase’ defined but not used [-Wunused-function]
static char *str_find_upcase(const char *s, size_t len)
^
../common/c_util.h:65:13: warning: ‘downcase_char’ defined but not used [-Wunused-function]
static void downcase_char(char *c)
^
compiling haproxy_protocol.c
haproxy_protocol.rl: In function ‘struct_haproxy_protocol_parser_execute’:
haproxy_protocol.rl:61:10: warning: unused variable ‘mark’ [-Wunused-variable]
compiling ip_utils.c
ip_utils.rl: In function ‘utils_ip_parser_execute’:
ip_utils.rl:48:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from ip_utils.rl:2:0:
ip_utils.rl: At top level:
ip_utils.h:23:12: warning: ‘utils_compare_pure_ips’ defined but not used [-Wunused-function]
static int utils_compare_pure_ips(char *ip1, size_t len1, enum enum_ip_type ip1_type, char *ip2, size_t len2, enum enum_ip_type ip2_type)
^
linking shared-object oversip/utils.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 utils.so ./.gem.20151216-8499-10nuxy2/oversip
installing default utils libraries
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-gufa1o.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling ws_http_parser_ruby.c
In file included from ws_http_parser_ruby.c:5:0:
../common/c_util.h: In function ‘str_to_int’:
../common/c_util.h:19:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int number = 0;
^
In file included from ws_http_parser_ruby.c:6:0:
../common/ruby_c_util.h: In function ‘my_rb_str_hex_unescape’:
../common/ruby_c_util.h:31:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *s, *t;
^
../common/ruby_c_util.h:35:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (s = t = new_str, i = 0 ; i < len ; s++, i++) {
^
../common/ruby_c_util.h: In function ‘my_rb_str_downcase’:
../common/ruby_c_util.h:70:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *s;
^
../common/ruby_c_util.h:73:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (s = new_str, i = 0 ; i < len ; s++, i++)
^
ws_http_parser_ruby.c: In function ‘header’:
ws_http_parser_ruby.c:48:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
char *ch, *end;
^
ws_http_parser_ruby.c:48:14: warning: unused variable ‘end’ [-Wunused-variable]
char *ch, *end;
^
ws_http_parser_ruby.c:48:9: warning: unused variable ‘ch’ [-Wunused-variable]
char *ch, *end;
^
ws_http_parser_ruby.c: In function ‘req_method’:
ws_http_parser_ruby.c:74:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_uri_scheme’:
ws_http_parser_ruby.c:102:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_request_uri’:
ws_http_parser_ruby.c:118:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_request_path’:
ws_http_parser_ruby.c:129:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_query’:
ws_http_parser_ruby.c:140:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_fragment’:
ws_http_parser_ruby.c:151:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_http_version’:
ws_http_parser_ruby.c:162:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_host’:
ws_http_parser_ruby.c:173:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_port’:
ws_http_parser_ruby.c:188:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_content_length’:
ws_http_parser_ruby.c:199:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_connection_value’:
ws_http_parser_ruby.c:210:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_upgrade’:
ws_http_parser_ruby.c:231:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_sec_websocket_version’:
ws_http_parser_ruby.c:242:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_sec_websocket_key’:
ws_http_parser_ruby.c:253:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_sec_websocket_protocol_value’:
ws_http_parser_ruby.c:264:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘req_hdr_origin’:
ws_http_parser_ruby.c:285:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE parsed = (VALUE)data;
^
ws_http_parser_ruby.c: In function ‘headerize’:
ws_http_parser_ruby.c:304:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE headerized;
^
ws_http_parser_ruby.c:313:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < hname_len; i++) {
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_alloc’:
ws_http_parser_ruby.c:346:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE obj;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_init’:
ws_http_parser_ruby.c:388:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_reset’:
ws_http_parser_ruby.c:406:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_finish’:
ws_http_parser_ruby.c:424:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_execute’:
ws_http_parser_ruby.c:435:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_has_error’:
ws_http_parser_ruby.c:473:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_error’:
ws_http_parser_ruby.c:489:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c:504:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0, j=0; i < parser->error_len; i++) {
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_is_finished’:
ws_http_parser_ruby.c:564:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
ws_http_parser_ruby.c: In function ‘HttpRequestParser_nread’:
ws_http_parser_ruby.c:581:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ws_http_request_parser *parser = NULL;
^
In file included from ../utils/utils_ruby.h:10:0,
from ws_http_parser_ruby.c:4:
ws_http_parser_ruby.c: At top level:
../utils/ip_utils.h:23:12: warning: ‘utils_compare_pure_ips’ defined but not used [-Wunused-function]
static int utils_compare_pure_ips(char *ip1, size_t len1, enum enum_ip_type ip1_type, char *ip2, size_t len2, enum enum_ip_type ip2_type)
^
In file included from ws_http_parser_ruby.c:5:0:
../common/c_util.h:65:13: warning: ‘downcase_char’ defined but not used [-Wunused-function]
static void downcase_char(char *c)
^
In file included from ws_http_parser_ruby.c:6:0:
../common/ruby_c_util.h:20:14: warning: ‘my_rb_str_hex_unescape’ defined but not used [-Wunused-function]
static VALUE my_rb_str_hex_unescape(const char *str, size_t len)
^
ws_http_parser_ruby.c: In function ‘req_uri_scheme’:
ws_http_parser_ruby.c:111:14: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ivar_set(parsed, id_uri_scheme, v);
^
compiling ws_http_parser.c
In file included from ws_http_parser.rl:4:0:
ws_http_parser.rl: In function ‘ws_http_request_parser_execute’:
ws_http_parser.rl:182:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
linking shared-object oversip/websocket/ws_http_parser.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 ws_http_parser.so ./.gem.20151216-8499-u86z1y/oversip/websocket
installing default ws_http_parser libraries
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-qcbry7.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling ws_framing_utils_ruby.c
ws_framing_utils_ruby.c: In function ‘Utf8Validator_alloc’:
ws_framing_utils_ruby.c:68:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
VALUE obj;
^
ws_framing_utils_ruby.c: In function ‘Utf8Validator_reset’:
ws_framing_utils_ruby.c:81:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
utf8_validator *validator = NULL;
^
ws_framing_utils_ruby.c: In function ‘Utf8Validator_validate’:
ws_framing_utils_ruby.c:99:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
utf8_validator *validator = NULL;
^
linking shared-object oversip/websocket/ws_framing_utils.so
make "DESTDIR=" install
/usr/bin/install -c -m 0755 ws_framing_utils.so ./.gem.20151216-8499-ff0b70/oversip/websocket
installing default ws_framing_utils libraries
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151216-8499-1ueds6d.rb extconf.rb
[ext/stud/extconf.rb] executing system command: tar -zxf stud.tar.gz
[ext/stud/extconf.rb] RbConfig::CONFIG['host_os'] returns "linux-gnu"
[ext/stud/extconf.rb] executing system command: make
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby
extconf.rb:14:in `sys': [ext/stud/extconf.rb] system command `make' failed (RuntimeError)
from extconf.rb:35:in `block (2 levels) in <main>'
from extconf.rb:27:in `chdir'
from extconf.rb:27:in `block in <main>'
from extconf.rb:24:in `chdir'
from extconf.rb:24:in `<main>'
ERROR: Error installing oversip:
ERROR: Failed to build gem native extension.
Building has failed. See above output for more information on the failure.
extconf failed, exit code 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p643/gems/oversip-2.0.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.0.0-p643/extensions/x86_64-linux/2.0.0/oversip-2.0.1/gem_make.ou
...