Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CA221766C for ; Mon, 13 Oct 2014 06:33:34 +0000 (UTC) Received: (qmail 72136 invoked by uid 500); 13 Oct 2014 06:33:34 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 72108 invoked by uid 500); 13 Oct 2014 06:33:34 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 72098 invoked by uid 99); 13 Oct 2014 06:33:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2014 06:33:34 +0000 Date: Mon, 13 Oct 2014 06:33:34 +0000 (UTC) From: "Yan Xu (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-1797) Packaged Zookeeper does not compile on OSX Yosemite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yan Xu updated MESOS-1797: -------------------------- Shepherd: Yan Xu > Packaged Zookeeper does not compile on OSX Yosemite > --------------------------------------------------- > > Key: MESOS-1797 > URL: https://issues.apache.org/jira/browse/MESOS-1797 > Project: Mesos > Issue Type: Improvement > Components: build > Affects Versions: 0.20.0, 0.21.0, 0.19.1 > Reporter: Dario Rexin > Assignee: Till Toenshoff > Priority: Minor > > I have been struggling with this for some time (due to my lack of knowledge about C compiler error messages) and finally found a way to make it compile. The problem is that Zookeeper defines a function `htonll` that is a builtin function in Yosemite. For me it worked to just remove this function, but as it needs to keep working on other systems as well, we would need some check for the OS version or if the function is already defined. > Here are the links to the source: > https://github.com/apache/zookeeper/blob/trunk/src/c/include/recordio.h#L73 > https://github.com/apache/zookeeper/blob/trunk/src/c/src/recordio.c#L83-L97 -- This message was sent by Atlassian JIRA (v6.3.4#6332)