Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

zookeeper failed to build on 10.11 #42374

Closed
apjanke opened this issue Aug 3, 2015 · 1 comment
Closed

zookeeper failed to build on 10.11 #42374

apjanke opened this issue Aug 3, 2015 · 1 comment
Labels

Comments

@apjanke
Copy link
Contributor

apjanke commented Aug 3, 2015

https://gist.github.com/d65372d3eb89fc0af8b6

Build failing with C compilation error.


/bin/sh ./libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I.  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE -c -o zookeeper.lo `test -f 'src/zookeeper.c' || echo './'`src/zookeeper.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -c src/zookeeper.c  -fno-common -DPIC -o .libs/zookeeper.o
In file included from src/zookeeper.c:27:
In file included from ./include/zookeeper.h:34:
./include/recordio.h:76:9: error: expected ')'
int64_t htonll(int64_t v);
        ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll(x)       __DARWIN_OSSwapInt64(x)
@DomT4
Copy link
Member

DomT4 commented Aug 10, 2015

Moving to tracking in #40837. If you report this one upstream let us know in that thread and I'll add a link to that report, Thanks!

@DomT4 DomT4 closed this as completed Aug 10, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants