compile Alljoyn on Raspberry Pi


#cd /home/pi/workspace/alljoyn/alljoyn-14.02.00-src/alljoyn_core

#sudo apt-get install openssl-dev
#sudo apt-get install unif***???

#sudo ln -s /usr/bin/g++ /usr/bin/arm-angstrom-linux-gnueabi-g++
#sudo ln -s /usr/bin/gcc /usr/bin/arm-angstrom-linux-gnueabi-gcc

#scons OS=linux CPU=arm WS=off OE_BASE=/usr

... wait for 30mins ...
... compile completed ...

#sudo ln -s
FROM
"/home/pi/workspace/alljoyn/alljoyn-14.02.00-src/alljoyn_core/build/linux/arm/release/dist/cpp/lib/liballjoyn.so"
TO
"/lib/arm-linux-gnueabihf/liballjoyn.so"

#cd build/linux/arm/release/dist/cpp/bin

#ldd alljoyn-daemon
#./alljoyn-daemon --version
AllJoyn Message Bus Daemon version: v14.2.0
Copyright (c) 2009-2014 AllSeen Alliance.

Build: AllJoyn Library v14.2.0 (Built Tue Mar 18 16:29:16 UTC 2014 by pi)

 

Update@2014/07/03 21:00 UTC +800:

all build instructions is OK with AllJoyn 14.6.0

pi@raspberrypi ~/.../alljoyn-suite-14.06.00_beta-src/.../dist/cpp/bin $ ldd advtunnel 
        /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so (0xb6f22000)
        liballjoyn.so => /lib/arm-linux-gnueabihf/liballjoyn.so (0xb6cd2000)
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6cc3000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6bf6000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6bd7000)
        libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (0xb6a74000)
        libssl.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0 (0xb6a24000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb69b3000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb698b000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb685c000)
        /lib/ld-linux-armhf.so.3 (0xb6f30000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6850000)
        libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb6832000)

pi@raspberrypi ~/.../alljoyn-suite-14.06.00_beta-src/.../build/linux/arm/debug/dist/cpp/bin $ ./alljoyn-daemon --version
AllJoyn Message Bus Daemon version: v14.6.0
Copyright (c) 2009-2014 AllSeen Alliance.

Build: AllJoyn Library v14.6.0 (Built Thu Jul 03 12:15:29 UTC 2014 by pi - Git: alljoyn branch: '(no branch)' tag: 'v14.06rc2' (+0 changes) commit ref: 9f9e582d357b6396e5b9bf82852ffd6b5ffaab35)

已有 3 条评论
  1. Thanks for the AllJoyn v14.02 Raspberry Pi build instructions! Will you also try it with the new AllJoyn v14.06 source code that was released this week? Thank you!

    不少于一个中文汉字

    1. lpy lpy

      Joe, all build instructions is OK with AllJoyn 14.6.0
      $ ./alljoyn-daemon --version
      AllJoyn Message Bus Daemon version: v14.6.0
      不少于一个中文汉字

  2. [...]I’d like to give a special shout out to Joe Speed (@joespeed) of Linux Foundation (@linuxfoundation) for the pointer to a site out of China. Hopefully between our two write-ups you can get up an[...]

添加新评论