2016-04-25 63 views
0

我試圖編譯alljoyn上運行Ubuntu的交配按照這些說明樹莓派3模型B: http://blog.rajenki.com/2015/05/alljoyn-on-raspberry-pi-raspbian-and-windows-10/Alljoyn編纂RPI失敗與Ubuntu交配

當我運行第一scons的命令,我得到以下錯誤:

scons: Building targets ... 
    [CXX]  alljoyn_core/router/test/advtunnel.cc 
In file included from /usr/include/endian.h:60:0, 
       from /usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h:21, 
       from /usr/include/signal.h:361, 
       from alljoyn_core/router/test/advtunnel.cc:22: 
/usr/include/arm-linux-gnueabihf/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)': 
/usr/include/arm-linux-gnueabihf/bits/byteswap.h:44:31: sorry, unimplemented: Thumb-1 hard-float VFP ABI 
__bswap_32 (unsigned int __bsx) 
          ^
scons: *** [build/linux/arm/debug/obj/alljoyn_core/router/test/advtunnel.o] Error 1 

我環顧四周,但一直未能找到解決這個錯誤的方法。這些說明在Raspberian上運行良好,這使我相信這是一個發行版問題,但我不確定具體是什麼。任何人都可以告訴我什麼原因/如何解決這個錯誤?

編輯:添加構建命令

scons OS=linux CPU=arm WS=off OE_BASE=/usr BR=on BINDINGS=cpp CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- 

回答

0

出於某種原因,你正在建設的Thumb代碼。這是本機編譯器還是交叉編譯器?

+0

交叉編譯器,根據說明使用。將該命令添加到問題中。 – user381261