Alljoyn 编译在 ubuntu 伙伴的 rpi 上失败

Alljoyn compilation fails on rpi with ubuntu mate

我正在尝试按照以下说明在 Raspberry Pi 3 模型 B 运行ning Ubuntu 上编译 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 上运行良好,这让我相信这是一个发行版问题,但我不确定具体是什么。谁能告诉我什么 causes/how 可以解决这个错误?

编辑:添加构建命令

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

出于某种原因,您正在构建拇指代码。这是本机编译器还是交叉编译器?