Vinson Lee created MESOS-709:
--------------------------------

             Summary: sasl/auxprop.cpp:39:61: error: no matches converting 
function 'lookup' to type 'int (*)(void*, sasl_server_params_t*, unsigned int, 
const char*, unsigned int) {aka int (*)(void*, struct sasl_server_params*, 
unsigned int, const char*, unsigned int)}'
                 Key: MESOS-709
                 URL: https://issues.apache.org/jira/browse/MESOS-709
             Project: Mesos
          Issue Type: Bug
            Reporter: Vinson Lee
            Priority: Blocker


{noformat}
$ make
[...]
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" 
-DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.15.0\" 
-DPACKAGE_STRING=\"mesos\ 0.15.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"mesos\" -DVERSION=\"0.15.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 
-DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 
-DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I.   -Wall -Werror 
-DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
-I../3rdparty/libprocess/include 
-I../3rdparty/libprocess/3rdparty/stout/include -I../include 
-I../3rdparty/libprocess/3rdparty/boost-1.53.0 
-I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src 
-I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
-I../3rdparty/zookeeper-3.3.4/src/c/include 
-I../3rdparty/zookeeper-3.3.4/src/c/generated  -pthread -g -g2 -O2 -MT 
sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c -o 
sasl/libmesos_no_3rdparty_la-auxprop.lo `test -f 'sasl/auxprop.cpp' || echo 
'./'`sasl/auxprop.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
-DPACKAGE_VERSION=\"0.15.0\" "-DPACKAGE_STRING=\"mesos 0.15.0\"" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
-DVERSION=\"0.15.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 
-DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 
-DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I. -Wall -Werror 
-DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
-I../3rdparty/libprocess/include 
-I../3rdparty/libprocess/3rdparty/stout/include -I../include 
-I../3rdparty/libprocess/3rdparty/boost-1.53.0 
-I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src 
-I../3rdparty/libprocess/3rdparty/glog-0.3.3/src 
-I../3rdparty/zookeeper-3.3.4/src/c/include 
-I../3rdparty/zookeeper-3.3.4/src/c/generated -pthread -g -g2 -O2 -MT 
sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c sasl/auxprop.cpp  -fPIC -DPIC 
-o sasl/.libs/libmesos_no_3rdparty_la-auxprop.o
sasl/auxprop.cpp: In static member function 'static int 
mesos::internal::sasl::InMemoryAuxiliaryPropertyPlugin::initialize(const 
sasl_utils_t*, int, int*, sasl_auxprop_plug_t**, const char*)':
sasl/auxprop.cpp:39:61: error: no matches converting function 'lookup' to type 
'int (*)(void*, sasl_server_params_t*, unsigned int, const char*, unsigned int) 
{aka int (*)(void*, struct sasl_server_params*, unsigned int, const char*, 
unsigned int)}'
In file included from sasl/auxprop.cpp:3:0:
./sasl/auxprop.hpp:76:15: error: candidates are: static void 
mesos::internal::sasl::InMemoryAuxiliaryPropertyPlugin::lookup(void*, 
sasl_server_params_t*, unsigned int, const char*, unsigned int)
./sasl/auxprop.hpp:53:42: error:                 static 
Option<std::list<std::basic_string<char> > > 
mesos::internal::sasl::InMemoryAuxiliaryPropertyPlugin::lookup(const string&, 
const string&)
{noformat}

{noformat}
commit 616973da105f70f93cd04fe97c0477fac0950fda
Author: Benjamin Hindman <[email protected]>
Date:   Thu Sep 19 16:30:45 2013 -0700

    Added SASL authentication support.
    
    Review: https://reviews.apache.org/r/14310
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to