Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AFFE7E28 for ; Tue, 8 Nov 2011 00:53:13 +0000 (UTC) Received: (qmail 78957 invoked by uid 500); 8 Nov 2011 00:53:13 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 78914 invoked by uid 500); 8 Nov 2011 00:53:13 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 78906 invoked by uid 99); 8 Nov 2011 00:53:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 00:53:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 00:53:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 007F63985B for ; Tue, 8 Nov 2011 00:52:52 +0000 (UTC) Date: Tue, 8 Nov 2011 00:52:51 +0000 (UTC) From: "Sam Whitlock (Created) (JIRA)" To: mesos-dev@incubator.apache.org Message-ID: <12793028.9127.1320713572003.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MESOS-68) compilation fails on Ubuntu 11.10 without the included zookeeper MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 compilation fails on Ubuntu 11.10 without the included zookeeper ---------------------------------------------------------------- Key: MESOS-68 URL: https://issues.apache.org/jira/browse/MESOS-68 Project: Mesos Issue Type: Bug Environment: Ubuntu Oneric (11.10) Reporter: Sam Whitlock Priority: Minor When configured with the option --with-included-zookeeper, mesos does not compile. --- Relevant Make Output --- g++ -c -O2 -fno-strict-aliasing -fPIC -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/leveldb/include -I../third_party/libprocess/include -MMD -MP -Ijava/jni -I/usr/lib/jvm/java-7-openjdk-amd64/include -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux -o java/jni/org_apache_mesos_Log.o java/jni/org_apache_mesos_Log.cpp java/jni/org_apache_mesos_Log.cpp: In function 'void Java_org_apache_mesos_Log_initialize__ILjava_lang_String_2Ljava_lang_String_2JLjava_util_concurrent_TimeUnit_2Ljava_lang_String_2(JNIEnv*, jobject, jint, jstring, jstring, jlong, jobject, jstring)': java/jni/org_apache_mesos_Log.cpp:457:59: error: no matching function for call to 'mesos::internal::log::Log::Log(int&, std::string&, std::string&, seconds&, std::string&)' java/jni/org_apache_mesos_Log.cpp:457:59: note: candidates are: ./log/log.hpp:153:3: note: mesos::internal::log::Log::Log(int, const string&, const std::set&) ./log/log.hpp:153:3: note: candidate expects 3 arguments, 5 provided ./log/log.hpp:25:7: note: mesos::internal::log::Log::Log(const mesos::internal::log::Log&) ./log/log.hpp:25:7: note: candidate expects 1 argument, 5 provided java/jni/org_apache_mesos_Log.cpp: In function 'void Java_org_apache_mesos_Log_initialize__ILjava_lang_String_2Ljava_lang_String_2JLjava_util_concurrent_TimeUnit_2Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv*, jobject, jint, jstring, jstring, jlong, jobject, jstring, jstring, jbyteArray)': java/jni/org_apache_mesos_Log.cpp:512:5: error: 'zookeeper' has not been declared java/jni/org_apache_mesos_Log.cpp:512:31: error: expected ';' before 'auth' java/jni/org_apache_mesos_Log.cpp:513:5: error: 'auth' was not declared in this scope java/jni/org_apache_mesos_Log.cpp:518:56: error: no matching function for call to 'mesos::internal::log::Log::Log(int&, std::string&, std::string&, seconds&, std::string&)' java/jni/org_apache_mesos_Log.cpp:518:56: note: candidates are: ./log/log.hpp:153:3: note: mesos::internal::log::Log::Log(int, const string&, const std::set&) ./log/log.hpp:153:3: note: candidate expects 3 arguments, 5 provided ./log/log.hpp:25:7: note: mesos::internal::log::Log::Log(const mesos::internal::log::Log&) ./log/log.hpp:25:7: note: candidate expects 1 argument, 5 provided make[1]: *** [java/jni/org_apache_mesos_Log.o] Error 1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira