You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2015/10/26 18:26:27 UTC
[jira] [Commented] (ZOOKEEPER-2303) Zookeeper fails to compile
(mesos driver) on Raspberry Pi2
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974588#comment-14974588 ]
Flavio Junqueira commented on ZOOKEEPER-2303:
---------------------------------------------
does it require the multi-threaded version of the lib? I'm not sure if it helps, but you could try the single-threaded lib. Sounds fun though!
> Zookeeper fails to compile (mesos driver) on Raspberry Pi2
> ----------------------------------------------------------
>
> Key: ZOOKEEPER-2303
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2303
> Project: ZooKeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.4.3, 3.4.6
> Environment: Raspberry Pi - Linux rpi2 3.18.6-v7+ #3 SMP PREEMPT Mon Feb 9 15:39:54 UTC 2015 armv7l GNU/Linux
> Reporter: Steven Fisher
> Priority: Critical
>
> Trying to compile mesos on Raspberry Pi 2. Zookeeper builds ok with ant directly (Java only), but when using make for mesos it trys to compile the C code and this fails with the error:
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-mt_adaptor.lo -MD -MP -MF .deps/libzkmt_la-mt_adaptor.Tpo -c src/mt_adaptor.c -fPIC -DPIC -o libzkmt_la-mt_adaptor.o
> /tmp/ccw07Ju5.s: Assembler messages:
> /tmp/ccw07Ju5.s:1515: Error: bad instruction `lock xaddl r1,[r0]'
> Makefile:823: recipe for target 'libzkmt_la-mt_adaptor.lo' failed
> make[5]: *** [libzkmt_la-mt_adaptor.lo] Error 1
> The memos release comes with 3.4.5 but I have also tried 3.4.6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)