Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile 0.9.2 #296

Closed
mikaelhm opened this issue Apr 11, 2016 · 2 comments
Closed

Cannot compile 0.9.2 #296

mikaelhm opened this issue Apr 11, 2016 · 2 comments

Comments

@mikaelhm
Copy link

I just tried to install curb 0.9.2

System details:

  • Ubuntu 12.04.5 LTS
  • curl 7.22.0 (x86_64-pc-linux-gnu)
  • libcurl/7.22.0
  • OpenSSL/1.0.1
  • zlib/1.2.3.4
  • libidn/1.23
  • librtmp/2.3
  • libcurl3 Version: 7.22.0-3ubuntu4.15
  • libcurl3-gnutls Version 7.22.0-3ubuntu4.15
  • libcurl4-openssl-dev Version 7.22.0-3ubuntu4.15

Error:

creating curb_config.h
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling curb_multi.c
curb_multi.c: In function ‘ruby_curl_multi_perform’:
curb_multi.c:688:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
compiling curb_easy.c
compiling curb_errors.c
compiling curb_postfield.c
compiling curb.c
curb.c: In function ‘Init_curb_core’:
curb.c:299:55: error: ‘CURL_SSLVERSION_TLSv1_0’ undeclared (first use in this function)
curb.c:299:55: note: each undeclared identifier is reported only once for each function it appears in
curb.c:300:55: error: ‘CURL_SSLVERSION_TLSv1_1’ undeclared (first use in this function)
curb.c:301:55: error: ‘CURL_SSLVERSION_TLSv1_2’ undeclared (first use in this function)
make: *** [curb.o] Error 1

make failed, exit code 2
@taf2
Copy link
Owner

taf2 commented Apr 11, 2016

please see if master works.

@mikaelhm
Copy link
Author

3ed0f62 fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants