Skip to content

Instantly share code, notes, and snippets.

@jwbrownatadobe
Created November 8, 2011 20:44
Show Gist options
  • Save jwbrownatadobe/1349150 to your computer and use it in GitHub Desktop.
Save jwbrownatadobe/1349150 to your computer and use it in GitHub Desktop.
Errors installing curb 0.7.16
# gem install curb
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.
/opt/ADBE/bin/ruby extconf.rb
checking for curl-config... yes
checking for curlinfo_redirect_time... yes
checking for curlinfo_response_code... yes
checking for curlinfo_filetime... yes
checking for curlinfo_redirect_count... yes
checking for curlinfo_os_errno... yes
checking for curlinfo_num_connects... yes
checking for curlinfo_ftp_entry_path... yes
checking for curl_version_ssl... yes
checking for curl_version_libz... yes
checking for curl_version_ntlm... yes
checking for curl_version_gssnegotiate... yes
checking for curl_version_debug... yes
checking for curl_version_asynchdns... yes
checking for curl_version_spnego... yes
checking for curl_version_largefile... yes
checking for curl_version_idn... yes
checking for curl_version_sspi... yes
checking for curl_version_conv... yes
checking for curlproxy_http... yes
checking for curlproxy_socks4... yes
checking for curlproxy_socks5... yes
checking for curlauth_basic... yes
checking for curlauth_digest... yes
checking for curlauth_gssnegotiate... yes
checking for curlauth_ntlm... yes
checking for curlauth_anysafe... yes
checking for curlauth_any... yes
checking for curle_tftp_notfound... yes
checking for curle_tftp_perm... yes
checking for curle_tftp_diskfull... yes
checking for curle_tftp_illegal... yes
checking for curle_tftp_unknownid... yes
checking for curle_tftp_exists... yes
checking for curle_tftp_nosuchuser... yes
checking for curle_send_fail_rewind... yes
checking for curle_ssl_engine_initfailed... yes
checking for curle_login_denied... yes
checking for curlmopt_maxconnects... no
checking for curle_conv_failed... yes
checking for curle_conv_reqd... yes
checking for curle_ssl_cacert_badfile... no
checking for curle_remote_file_not_found... no
checking for curle_ssh... no
checking for curle_ssl_shutdown_failed... no
checking for curle_again... no
checking for curle_ssl_crl_badfile... yes
checking for curle_ssl_issuer_error... no
checking for curlopt_username... no
checking for curlopt_password... no
checking for curlinfo_primary_ip... no
checking for curlauth_digest_ie... no
checking for curlftpmethod_multicwd... yes
checking for curlftpmethod_nocwd... yes
checking for curlftpmethod_singlecwd... yes
checking for curlm_bad_socket... yes
checking for curlm_unknown_option... yes
checking for curl_multi_timeout()... yes
checking for curl_multi_fdset()... yes
checking for curl_multi_perform()... yes
checking for curlopt_interleavefunction... no
checking for curlopt_interleavedata... no
checking for curlopt_chunk_bgn_function... no
checking for curlopt_chunk_end_function... no
checking for curlopt_chunk_data... no
checking for curlopt_fnmatch_function... no
checking for curlopt_fnmatch_data... no
checking for curlopt_errorbuffer... yes
checking for curlopt_stderr... yes
checking for curlopt_failonerror... yes
checking for curlopt_url... yes
checking for curlopt_protocols... yes
checking for curlopt_redir_protocols... yes
checking for curlopt_proxy... yes
checking for curlopt_proxyport... yes
checking for curlopt_proxytype... yes
checking for curlopt_noproxy... no
checking for curlopt_httpproxytunnel... yes
checking for curlopt_socks5_gssapi_service... no
checking for curlopt_socks5_gssapi_nec... no
checking for curlopt_interface... yes
checking for curlopt_localport... yes
checking for curlopt_dns_cache_timeout... yes
checking for curlopt_dns_use_global_cache... yes
checking for curlopt_buffersize... yes
checking for curlopt_port... yes
checking for curlopt_tcp_nodelay... yes
checking for curlopt_address_scope... no
checking for curlopt_netrc... yes
checking for curl_netrc_optional... yes
checking for curl_netrc_ignored... yes
checking for curl_netrc_required... yes
checking for curlopt_netrc_file... yes
checking for curlopt_userpwd... yes
checking for curlopt_proxyuserpwd... yes
checking for curlopt_username... no
checking for curlopt_password... no
checking for curlopt_password... no
checking for curlopt_password... no
checking for curlopt_httpauth... yes
checking for curlauth_digest_ie... no
checking for curlauth_only... no
checking for curlopt_tlsauth_type... no
checking for curlopt_tlsauth_srp... no
checking for curlopt_tlsauth_username... no
checking for curlopt_tlsauth_password... no
checking for curlopt_proxyauth... yes
checking for curlopt_autoreferer... yes
checking for curlopt_encoding... yes
checking for curlopt_followlocation... yes
checking for curlopt_unrestricted_auth... yes
checking for curlopt_maxredirs... yes
checking for curlopt_postredir... no
checking for curlopt_put... yes
checking for curlopt_post... yes
checking for curlopt_postfields... yes
checking for curlopt_postfieldsize... yes
checking for curlopt_postfieldsize_large... yes
checking for curlopt_copypostfields... no
checking for curlopt_httppost... yes
checking for curlopt_referer... yes
checking for curlopt_useragent... yes
checking for curlopt_httpheader... yes
checking for curlopt_http200aliases... yes
checking for curlopt_cookie... yes
checking for curlopt_cookiefile... yes
checking for curlopt_cookiejar... yes
checking for curlopt_cookiesession... yes
checking for curlopt_cookielist... yes
checking for curlopt_httpget... yes
checking for curlopt_http_version... yes
checking for curl_http_version_none... yes
checking for curl_http_version_1_0... yes
checking for curl_http_version_1_1... yes
checking for curlopt_ignore_content_length... yes
checking for curlopt_http_content_decoding... no
checking for curlopt_http_transfer_decoding... no
checking for curlopt_mail_from... no
checking for curlopt_mail_rcpt... no
checking for curlopt_tftp_blksize... no
checking for curlopt_ftpport... yes
checking for curlopt_quote... yes
checking for curlopt_postquote... yes
checking for curlopt_prequote... yes
checking for curlopt_dirlistonly... no
checking for curlopt_append... no
checking for curlopt_ftp_use_eprt... yes
checking for curlopt_ftp_use_epsv... yes
checking for curlopt_ftp_use_pret... no
checking for curlopt_ftp_create_missing_dirs... yes
checking for curlopt_ftp_response_timeout... yes
checking for curlopt_ftp_alternative_to_user... yes
checking for curlopt_ftp_skip_pasv_ip... yes
checking for curlopt_ftpsslauth... yes
checking for curlftpauth_default... yes
checking for curlftpauth_ssl... yes
checking for curlftpauth_tls... yes
checking for curlopt_ftp_ssl_ccc... no
checking for curlftpssl_ccc_none... no
checking for curlftpssl_ccc_passive... no
checking for curlftpssl_ccc_active... no
checking for curlopt_ftp_account... yes
checking for curlopt_ftp_filemethod... yes
checking for curlftpmethod_multicwd... yes
checking for curlftpmethod_nocwd... yes
checking for curlftpmethod_singlecwd... yes
checking for curlopt_rtsp_request... no
checking for curl_rtspreq_options... no
checking for curl_rtspreq_describe... no
checking for curl_rtspreq_announce... no
checking for curl_rtspreq_setup... no
checking for curl_rtspreq_play... no
checking for curl_rtspreq_pause... no
checking for curl_rtspreq_teardown... no
checking for curl_rtspreq_get_parameter... no
checking for curl_rtspreq_set_parameter... no
checking for curl_rtspreq_record... no
checking for curl_rtspreq_receive... no
checking for curlopt_rtsp_session_id... no
checking for curlopt_rtsp_stream_uri... no
checking for curlopt_rtsp_transport... no
checking for curlopt_rtsp_header... no
checking for curlopt_rtsp_client_cseq... no
checking for curlopt_rtsp_server_cseq... no
checking for curlopt_transfertext... yes
checking for curlopt_proxy_transfer_mode... no
checking for curlopt_crlf... yes
checking for curlopt_range... yes
checking for curlopt_resume_from... yes
checking for curlopt_resume_from_large... yes
checking for curlopt_customrequest... yes
checking for curlopt_filetime... yes
checking for curlopt_nobody... yes
checking for curlopt_infilesize... yes
checking for curlopt_infilesize_large... yes
checking for curlopt_upload... yes
checking for curlopt_maxfilesize... yes
checking for curlopt_maxfilesize_large... yes
checking for curlopt_timecondition... yes
checking for curlopt_timevalue... yes
checking for curlopt_timeout... yes
checking for curlopt_timeout_ms... no
checking for curlopt_low_speed_limit... yes
checking for curlopt_low_speed_time... yes
checking for curlopt_max_send_speed_large... yes
checking for curlopt_max_recv_speed_large... yes
checking for curlopt_maxconnects... yes
checking for curlopt_closepolicy... yes
checking for curlopt_fresh_connect... yes
checking for curlopt_forbid_reuse... yes
checking for curlopt_connecttimeout... yes
checking for curlopt_connecttimeout_ms... no
checking for curlopt_ipresolve... yes
checking for curl_ipresolve_whatever... yes
checking for curl_ipresolve_v4... yes
checking for curl_ipresolve_v6... yes
checking for curlopt_connect_only... yes
checking for curlopt_use_ssl... no
checking for curlusessl_none... no
checking for curlusessl_try... no
checking for curlusessl_control... no
checking for curlusessl_all... no
checking for curlopt_resolve... no
checking for curlopt_sslcert... yes
checking for curlopt_sslcerttype... yes
checking for curlopt_sslkey... yes
checking for curlopt_sslkeytype... yes
checking for curlopt_keypasswd... no
checking for curlopt_sslengine... yes
checking for curlopt_sslengine_default... yes
checking for curlopt_sslversion... yes
checking for curl_sslversion_default... yes
checking for CURL_SSLVERSION_TLSv1... yes
checking for CURL_SSLVERSION_SSLv2... yes
checking for CURL_SSLVERSION_SSLv3... yes
checking for curlopt_ssl_verifypeer... yes
checking for curlopt_cainfo... yes
checking for curlopt_issuercert... no
checking for curlopt_capath... yes
checking for curlopt_crlfile... yes
checking for curlopt_ssl_verifyhost... yes
checking for curlopt_certinfo... no
checking for curlopt_random_file... yes
checking for curlopt_egdsocket... yes
checking for curlopt_ssl_cipher_list... yes
checking for curlopt_ssl_sessionid_cache... no
checking for curlopt_krblevel... no
checking for curlopt_ssh_auth_types... no
checking for curlopt_ssh_host_public_key_md5... no
checking for curlopt_ssh_public_keyfile... no
checking for curlopt_ssh_private_keyfile... no
checking for curlopt_ssh_knownhosts... no
checking for curlopt_ssh_keyfunction... no
checking for curlkhstat_fine_add_to_file... no
checking for curlkhstat_fine... no
checking for curlkhstat_reject... no
checking for curlkhstat_defer... no
checking for curlopt_ssh_keydata... no
checking for curlopt_private... yes
checking for curlopt_share... yes
checking for curlopt_new_file_perms... no
checking for curlopt_new_directory_perms... no
checking for curlopt_telnetoptions... yes
checking for curle_not_built_in... no
checking for Ruby 1.9 Hash... yes
checking for Ruby 1.9 st.h... yes
checking for curl_easy_escape... yes
creating curb_config.h
creating Makefile
make
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_errors.o -c curb_errors.c
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_postfield.o -c curb_postfield.c
curb_postfield.c: In function ‘ruby_curl_postfield_new_content’:
curb_postfield.c:210: warning: unused parameter ‘klass’
curb_postfield.c: In function ‘ruby_curl_postfield_new_file’:
curb_postfield.c:255: warning: unused parameter ‘klass’
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_easy.o -c curb_easy.c
curb_easy.c: In function ‘callback_exception’:
curb_easy.c:31: warning: unused parameter ‘unused’
curb_easy.c: In function ‘proc_debug_handler’:
curb_easy.c:155: warning: unused parameter ‘curl’
curb_easy.c: In function ‘ruby_curl_easy_timeout_get’:
curb_easy.c:1052: warning: unused parameter ‘timeout’
curb_easy.c: In function ‘ruby_curl_easy_connect_timeout_get’:
curb_easy.c:1078: warning: unused parameter ‘connect_timeout’
curb_easy.c: In function ‘ruby_curl_easy_dns_cache_timeout_get’:
curb_easy.c:1101: warning: unused parameter ‘dns_cache_timeout’
curb_easy.c: In function ‘ruby_curl_easy_ftp_response_timeout_get’:
curb_easy.c:1128: warning: unused parameter ‘ftp_response_timeout’
curb_easy.c: In function ‘ruby_curl_easy_low_speed_limit_get’:
curb_easy.c:1151: warning: unused parameter ‘low_speed_limit’
curb_easy.c: In function ‘ruby_curl_easy_low_speed_time_get’:
curb_easy.c:1173: warning: unused parameter ‘low_speed_time’
curb_easy.c: In function ‘ruby_curl_easy_username_set’:
curb_easy.c:1183: warning: unused parameter ‘self’
curb_easy.c:1183: warning: unused parameter ‘username’
curb_easy.c: In function ‘ruby_curl_easy_username_get’:
curb_easy.c:1197: warning: unused parameter ‘self’
curb_easy.c:1197: warning: unused parameter ‘username’
curb_easy.c: In function ‘ruby_curl_easy_password_set’:
curb_easy.c:1211: warning: unused parameter ‘self’
curb_easy.c:1211: warning: unused parameter ‘password’
curb_easy.c: In function ‘ruby_curl_easy_password_get’:
curb_easy.c:1225: warning: unused parameter ‘self’
curb_easy.c:1225: warning: unused parameter ‘password’
curb_easy.c: In function ‘ruby_curl_easy_ssl_version_get’:
curb_easy.c:1251: warning: unused parameter ‘ssl_version’
curb_easy.c: In function ‘ruby_curl_easy_use_ssl_get’:
curb_easy.c:1272: warning: unused parameter ‘use_ssl’
curb_easy.c: In function ‘ruby_curl_easy_ftp_filemethod_get’:
curb_easy.c:1293: warning: unused parameter ‘ftp_filemethod’
curb_easy.c: In function ‘ruby_curl_easy_cleanup’:
curb_easy.c:2144: warning: unused parameter ‘self’
curb_easy.c: In function ‘ruby_curl_easy_get_opt’:
curb_easy.c:3091: warning: unused parameter ‘self’
curb_easy.c:3091: warning: unused parameter ‘opt’
curb_easy.c: In function ‘ruby_curl_easy_error_message’:
curb_easy.c:3189: warning: unused parameter ‘klass’
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_upload.o -c curb_upload.c
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb.o -c curb.c
curb.c: In function ‘ruby_curl_ipv6_q’:
curb.c:21: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_kerberos4_q’:
curb.c:33: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_ssl_q’:
curb.c:45: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_libz_q’:
curb.c:61: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_ntlm_q’:
curb.c:77: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_gssnegotiate_q’:
curb.c:93: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_debug_q’:
curb.c:110: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_asyncdns_q’:
curb.c:128: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_spnego_q’:
curb.c:145: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_largefile_q’:
curb.c:161: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_idn_q’:
curb.c:178: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_sspi_q’:
curb.c:197: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_conv_q’:
curb.c:213: warning: unused parameter ‘mod’
curb.c: In function ‘Init_curb_core’:
curb.c:366: error: ‘CURLOPT_SEEKFUNCTION’ undeclared (first use in this function)
curb.c:366: error: (Each undeclared identifier is reported only once
curb.c:366: error: for each function it appears in.)
curb.c:367: error: ‘CURLOPT_SEEKDATA’ undeclared (first use in this function)
curb.c:368: error: ‘CURLOPT_SOCKOPTFUNCTION’ undeclared (first use in this function)
curb.c:369: error: ‘CURLOPT_SOCKOPTDATA’ undeclared (first use in this function)
curb.c:370: error: ‘CURLOPT_OPENSOCKETFUNCTION’ undeclared (first use in this function)
curb.c:371: error: ‘CURLOPT_OPENSOCKETDATA’ undeclared (first use in this function)
make: *** [curb.o] Error 1
Gem files will remain installed in /opt/ADBE/lib/ruby/gems/1.9.1/gems/curb-0.7.16 for inspection.
Results logged to /opt/ADBE/lib/ruby/gems/1.9.1/gems/curb-0.7.16/ext/gem_make.out
# rake install
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /opt/ADBE/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
/opt/ADBE/lib/ruby/1.9.1/rdoc/task.rb:30: warning: already initialized constant Task
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_errors.o -c curb_errors.c
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_postfield.o -c curb_postfield.c
curb_postfield.c: In function ‘ruby_curl_postfield_new_content’:
curb_postfield.c:210: warning: unused parameter ‘klass’
curb_postfield.c: In function ‘ruby_curl_postfield_new_file’:
curb_postfield.c:255: warning: unused parameter ‘klass’
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_easy.o -c curb_easy.c
curb_easy.c: In function ‘callback_exception’:
curb_easy.c:31: warning: unused parameter ‘unused’
curb_easy.c: In function ‘proc_debug_handler’:
curb_easy.c:160: warning: unused variable ‘procret’
curb_easy.c:155: warning: unused parameter ‘curl’
curb_easy.c: In function ‘ruby_curl_easy_timeout_get’:
curb_easy.c:1054: warning: unused parameter ‘timeout’
curb_easy.c: In function ‘ruby_curl_easy_connect_timeout_get’:
curb_easy.c:1080: warning: unused parameter ‘connect_timeout’
curb_easy.c: In function ‘ruby_curl_easy_dns_cache_timeout_get’:
curb_easy.c:1103: warning: unused parameter ‘dns_cache_timeout’
curb_easy.c: In function ‘ruby_curl_easy_ftp_response_timeout_get’:
curb_easy.c:1130: warning: unused parameter ‘ftp_response_timeout’
curb_easy.c: In function ‘ruby_curl_easy_low_speed_limit_get’:
curb_easy.c:1153: warning: unused parameter ‘low_speed_limit’
curb_easy.c: In function ‘ruby_curl_easy_low_speed_time_get’:
curb_easy.c:1175: warning: unused parameter ‘low_speed_time’
curb_easy.c: In function ‘ruby_curl_easy_username_set’:
curb_easy.c:1185: warning: unused parameter ‘self’
curb_easy.c:1185: warning: unused parameter ‘username’
curb_easy.c: In function ‘ruby_curl_easy_username_get’:
curb_easy.c:1199: warning: unused parameter ‘self’
curb_easy.c:1199: warning: unused parameter ‘username’
curb_easy.c: In function ‘ruby_curl_easy_password_set’:
curb_easy.c:1213: warning: unused parameter ‘self’
curb_easy.c:1213: warning: unused parameter ‘password’
curb_easy.c: In function ‘ruby_curl_easy_password_get’:
curb_easy.c:1227: warning: unused parameter ‘self’
curb_easy.c:1227: warning: unused parameter ‘password’
curb_easy.c: In function ‘ruby_curl_easy_ssl_version_get’:
curb_easy.c:1253: warning: unused parameter ‘ssl_version’
curb_easy.c: In function ‘ruby_curl_easy_use_ssl_get’:
curb_easy.c:1274: warning: unused parameter ‘use_ssl’
curb_easy.c: In function ‘ruby_curl_easy_ftp_filemethod_get’:
curb_easy.c:1295: warning: unused parameter ‘ftp_filemethod’
curb_easy.c: In function ‘ruby_curl_easy_cleanup’:
curb_easy.c:2146: warning: unused parameter ‘self’
curb_easy.c: In function ‘ruby_curl_easy_get_opt’:
curb_easy.c:3093: warning: unused parameter ‘self’
curb_easy.c:3093: warning: unused parameter ‘opt’
curb_easy.c: In function ‘ruby_curl_easy_error_message’:
curb_easy.c:3191: warning: unused parameter ‘klass’
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb_upload.o -c curb_upload.c
gcc -I. -I/opt/ADBE/include/ruby-1.9.1/x86_64-linux -I/opt/ADBE/include/ruby-1.9.1/ruby/backward -I/opt/ADBE/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -g -Wall -o curb.o -c curb.c
curb.c: In function ‘ruby_curl_ipv6_q’:
curb.c:21: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_kerberos4_q’:
curb.c:33: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_ssl_q’:
curb.c:45: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_libz_q’:
curb.c:61: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_ntlm_q’:
curb.c:77: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_gssnegotiate_q’:
curb.c:93: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_debug_q’:
curb.c:110: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_asyncdns_q’:
curb.c:128: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_spnego_q’:
curb.c:145: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_largefile_q’:
curb.c:161: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_idn_q’:
curb.c:178: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_sspi_q’:
curb.c:197: warning: unused parameter ‘mod’
curb.c: In function ‘ruby_curl_conv_q’:
curb.c:213: warning: unused parameter ‘mod’
curb.c: In function ‘Init_curb_core’:
curb.c:366: error: ‘CURLOPT_SEEKFUNCTION’ undeclared (first use in this function)
curb.c:366: error: (Each undeclared identifier is reported only once
curb.c:366: error: for each function it appears in.)
curb.c:367: error: ‘CURLOPT_SEEKDATA’ undeclared (first use in this function)
curb.c:368: error: ‘CURLOPT_SOCKOPTFUNCTION’ undeclared (first use in this function)
curb.c:369: error: ‘CURLOPT_SOCKOPTDATA’ undeclared (first use in this function)
curb.c:370: error: ‘CURLOPT_OPENSOCKETFUNCTION’ undeclared (first use in this function)
curb.c:371: error: ‘CURLOPT_OPENSOCKETDATA’ undeclared (first use in this function)
make: *** [curb.o] Error 1
rake aborted!
Make failed (status 2)
Tasks: TOP => install => alltests => unittests => compile => ext/curb_core.so
(See full trace by running task with --trace)
@hyfather
Copy link

I got similar errors with curl-devel.rpm v7.15.5 and curb.gem v0.7.16.
Rolling down curb.gem to 0.7.15 fixed these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment