[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974600#comment-14974600
 ] 

Steven Fisher commented on ZOOKEEPER-2303:
------------------------------------------

Yes, it should be a fun project. Managed to compile memos on a standard Linux 
server successfully, but not yet on the RPi.
The RPi 2 has 4 cores so yes I would need the multi-threaded version of the 
library.
It has been a few decades since I last wrote 'C' code and I am not at all 
familiar with all the sophisticated build tool being used. Make I understood ;-)

> 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
>            Assignee: 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)

Reply via email to