Advertisement
Guest User

Untitled

a guest
May 11th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.08 KB | None | 0 0
  1. CC vtls/libcurl_la-mbedtls.lo
  2. vtls/darwinssl.c:1308:6: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  3. if(SSLSetProtocolVersionMax != NULL) {
  4. ^~~~~~~~~~~~~~~~~~~~~~~~
  5. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  6. SSLSetProtocolVersionMax (SSLContextRef context,
  7. ^
  8. vtls/darwinssl.c:1308:6: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  9. if(SSLSetProtocolVersionMax != NULL) {
  10. ^~~~~~~~~~~~~~~~~~~~~~~~
  11. vtls/darwinssl.c:1324:11: error: 'SSLSetProtocolVersionMin' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  12. (void)SSLSetProtocolVersionMin(BACKEND->ssl_ctx, darwin_ver_min);
  13. ^~~~~~~~~~~~~~~~~~~~~~~~
  14. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:522:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked partial here
  15. SSLSetProtocolVersionMin (SSLContextRef context,
  16. ^
  17. vtls/darwinssl.c:1324:11: note: enclose 'SSLSetProtocolVersionMin' in a __builtin_available check to silence this warning
  18. (void)SSLSetProtocolVersionMin(BACKEND->ssl_ctx, darwin_ver_min);
  19. ^~~~~~~~~~~~~~~~~~~~~~~~
  20. vtls/darwinssl.c:1325:11: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  21. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, darwin_ver_max);
  22. ^~~~~~~~~~~~~~~~~~~~~~~~
  23. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  24. SSLSetProtocolVersionMax (SSLContextRef context,
  25. ^
  26. vtls/darwinssl.c:1325:11: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  27. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, darwin_ver_max);
  28. ^~~~~~~~~~~~~~~~~~~~~~~~
  29. vtls/darwinssl.c:1392:6: error: 'SSLCreateContext' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  30. if(SSLCreateContext != NULL) { /* use the newer API if avaialble */
  31. ^~~~~~~~~~~~~~~~
  32. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:416:1: note: 'SSLCreateContext' has been explicitly marked partial here
  33. SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType)
  34. ^
  35. vtls/darwinssl.c:1392:6: note: enclose 'SSLCreateContext' in a __builtin_available check to silence this warning
  36. if(SSLCreateContext != NULL) { /* use the newer API if avaialble */
  37. ^~~~~~~~~~~~~~~~
  38. vtls/darwinssl.c:1395:24: error: 'SSLCreateContext' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  39. BACKEND->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType);
  40. ^~~~~~~~~~~~~~~~
  41. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:416:1: note: 'SSLCreateContext' has been explicitly marked partial here
  42. SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType)
  43. ^
  44. vtls/darwinssl.c:1395:24: note: enclose 'SSLCreateContext' in a __builtin_available check to silence this warning
  45. BACKEND->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType);
  46. ^~~~~~~~~~~~~~~~
  47. vtls/darwinssl.c:1426:6: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  48. if(SSLSetProtocolVersionMax != NULL) {
  49. ^~~~~~~~~~~~~~~~~~~~~~~~
  50. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  51. SSLSetProtocolVersionMax (SSLContextRef context,
  52. ^
  53. vtls/darwinssl.c:1426:6: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  54. if(SSLSetProtocolVersionMax != NULL) {
  55. ^~~~~~~~~~~~~~~~~~~~~~~~
  56. vtls/darwinssl.c:1430:13: error: 'SSLSetProtocolVersionMin' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  57. (void)SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kTLSProtocol1);
  58. ^~~~~~~~~~~~~~~~~~~~~~~~
  59. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:522:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked partial here
  60. SSLSetProtocolVersionMin (SSLContextRef context,
  61. ^
  62. vtls/darwinssl.c:1430:13: note: enclose 'SSLSetProtocolVersionMin' in a __builtin_available check to silence this warning
  63. (void)SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kTLSProtocol1);
  64. ^~~~~~~~~~~~~~~~~~~~~~~~
  65. vtls/darwinssl.c:1436:15: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  66. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kTLSProtocol12);
  67. ^~~~~~~~~~~~~~~~~~~~~~~~
  68. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  69. SSLSetProtocolVersionMax (SSLContextRef context,
  70. ^
  71. vtls/darwinssl.c:1436:15: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  72. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kTLSProtocol12);
  73. ^~~~~~~~~~~~~~~~~~~~~~~~
  74. vtls/darwinssl.c:1453:13: error: 'SSLSetProtocolVersionMin' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  75. err = SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kSSLProtocol3);
  76. ^~~~~~~~~~~~~~~~~~~~~~~~
  77. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:522:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked partial here
  78. SSLSetProtocolVersionMin (SSLContextRef context,
  79. ^
  80. vtls/darwinssl.c:1453:13: note: enclose 'SSLSetProtocolVersionMin' in a __builtin_available check to silence this warning
  81. err = SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kSSLProtocol3);
  82. ^~~~~~~~~~~~~~~~~~~~~~~~
  83. vtls/darwinssl.c:1458:13: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  84. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kSSLProtocol3);
  85. ^~~~~~~~~~~~~~~~~~~~~~~~
  86. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  87. SSLSetProtocolVersionMax (SSLContextRef context,
  88. ^
  89. vtls/darwinssl.c:1458:13: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  90. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kSSLProtocol3);
  91. ^~~~~~~~~~~~~~~~~~~~~~~~
  92. vtls/darwinssl.c:1461:13: error: 'SSLSetProtocolVersionMin' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  93. err = SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kSSLProtocol2);
  94. ^~~~~~~~~~~~~~~~~~~~~~~~
  95. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:522:1: note: 'SSLSetProtocolVersionMin' has been explicitly marked partial here
  96. SSLSetProtocolVersionMin (SSLContextRef context,
  97. ^
  98. vtls/darwinssl.c:1461:13: note: enclose 'SSLSetProtocolVersionMin' in a __builtin_available check to silence this warning
  99. err = SSLSetProtocolVersionMin(BACKEND->ssl_ctx, kSSLProtocol2);
  100. ^~~~~~~~~~~~~~~~~~~~~~~~
  101. vtls/darwinssl.c:1466:13: error: 'SSLSetProtocolVersionMax' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  102. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kSSLProtocol2);
  103. ^~~~~~~~~~~~~~~~~~~~~~~~
  104. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:550:1: note: 'SSLSetProtocolVersionMax' has been explicitly marked partial here
  105. SSLSetProtocolVersionMax (SSLContextRef context,
  106. ^
  107. vtls/darwinssl.c:1466:13: note: enclose 'SSLSetProtocolVersionMax' in a __builtin_available check to silence this warning
  108. (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, kSSLProtocol2);
  109. ^~~~~~~~~~~~~~~~~~~~~~~~
  110. vtls/darwinssl.c:2742:8: error: 'SSLCreateContext' is only available on macOS 10.8 or newer [-Werror,-Wunguarded-availability]
  111. if(SSLCreateContext != NULL)
  112. ^~~~~~~~~~~~~~~~
  113. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:416:1: note: 'SSLCreateContext' has been explicitly marked partial here
  114. SSLCreateContext(CFAllocatorRef __nullable alloc, SSLProtocolSide protocolSide, SSLConnectionType connectionType)
  115. ^
  116. vtls/darwinssl.c:2742:8: note: enclose 'SSLCreateContext' in a __builtin_available check to silence this warning
  117. if(SSLCreateContext != NULL)
  118. ^~~~~~~~~~~~~~~~
  119. 13 errors generated.
  120. make[2]: *** [vtls/libcurl_la-darwinssl.lo] Error 1
  121. make[1]: *** [all] Error 2
  122. make: *** [all-recursive] Error 1
  123. ERROR: libcurl build failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement