hello,buddies
I'm compiling mesos on mac os x 10.11 (EI capitan) and come across with some
error as flowing
version: mesos-0.24.0 & mesos-0.25.0-rc3
/usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been explicitly
marked deprecated here
LIBSASL_API const char *sasl_errstring(int saslerr,
^
../../src/authentication/cram_md5/authenticator.cpp:334:20: error:
'sasl_errdetail' is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
string error(sasl_errdetail(connection));
^
/usr/include/sasl/sasl.h:770:25: note: 'sasl_errdetail' has been explicitly
marked deprecated here
LIBSASL_API const char *sasl_errdetail(sasl_conn_t *conn)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_11,__IPHONE_NA,__IPHONE_NA);
^
../../src/authentication/cram_md5/authenticator.cpp:514:18: error:
'sasl_server_init' is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
int result = sasl_server_init(NULL, "mesos");
^
/usr/include/sasl/sasl.h:1016:17: note: 'sasl_server_init' has been explicitly
marked deprecated here
LIBSASL_API int sasl_server_init(const sasl_callback_t *callbacks,
^
../../src/authentication/cram_md5/authenticator.cpp:519:11: error:
'sasl_errstring' is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
sasl_errstring(result, NULL, NULL));
^
/usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been explicitly
marked deprecated here
LIBSASL_API const char *sasl_errstring(int saslerr,
^
../../src/authentication/cram_md5/authenticator.cpp:521:16: error:
'sasl_auxprop_add_plugin' is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
result = sasl_auxprop_add_plugin(
^
/usr/include/sasl/saslplug.h:1013:17: note: 'sasl_auxprop_add_plugin' has been
explicitly marked deprecated here
LIBSASL_API int sasl_auxprop_add_plugin(const char *plugname,
^
../../src/authentication/cram_md5/authenticator.cpp:528:13: error:
'sasl_errstring' is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
sasl_errstring(result, NULL, NULL));
^
/usr/include/sasl/sasl.h:757:25: note: 'sasl_errstring' has been explicitly
marked deprecated here
LIBSASL_API const char *sasl_errstring(int saslerr,
^
as I'm not familiar with c++, I don't know how to solve this
I believe I'm not the first one who came across with this problem, So I'm here
for help!
thanks.