我正在尝试按照以下说明在运行 Ubuntu mate 的 Raspberry Pi 3 模型 B 上编译 alljoyn:http: //blog.rajenki.com/2015/05/alljoyn-on-raspberry-pi-raspbian-and-windows-10/
当我运行第一个 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-