Error 127 in building alljoyn core for arm linux

asked 2015-12-21 10:36:51 -0700

wongni gravatar image

Hi,

I am cross compiling alljoyn core in ubuntu 14.04 i386 for an ARM linux platform. I am following https://wiki.allseenalliance.org/gate... .

wkkim@wkkim-VirtualBox:~/alljoyn-gw/core/alljoyn$ scons BINDINGS=cpp OS=openwrt CPU=openwrt VARIANT=debug BUILD_SERVICES_SAMPLES=off POLICYDB=on WS=off V=1scons: Reading SConscript files ...
Building bindings: cpp
Building services: 
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping common unit test build
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping About Service unit test build
GTEST_DIR not specified skipping alljoyn_core unit test build

scons: warning: Ignoring missing SConscript 'build/openwrt/openwrt/debug/obj/services/about/SConscript'
File "/home/wkkim/alljoyn-gw/core/alljoyn/alljoyn_core/samples/eventaction/SConscript", line 35, in <module>
scons: done reading SConscript files.
scons: Building targets ...
arm-arago-linux-gnueabi-g++ -o build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o -c -std=c++0x -fno-exceptions -Wno-deprecated -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -Ibuild/openwrt/openwrt/debug/dist/cpp/inc -Ibuild/openwrt/openwrt/debug/dist/c/inc -Ibuild/openwrt/openwrt/debug/dist/cpp/inc/alljoyn -Icommon/inc -Ialljoyn_core/src alljoyn_core/test/aclient.cc
scons: *** [build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o] Error 127
scons: building terminated because of errors.

Here is a verbose log from scons.

wkkim@wkkim-VirtualBox:~/alljoyn-gw/core/alljoyn$ arm-arago-linux-gnueabi-g++ -o build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o -c -std=c++0x -fno-exceptions -Wno-deprecated -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -Ibuild/openwrt/openwrt/debug/dist/cpp/inc -Ibuild/openwrt/openwrt/debug/dist/c/inc -Ibuild/openwrt/openwrt/debug/dist/cpp/inc/alljoyn -Icommon/inc -Ialljoyn_core/src alljoyn_core/test/aclient.cc
wkkim@wkkim-VirtualBox:~/alljoyn-gw/core/alljoyn$

If I ran the build command that scons tried, it worked fine without error.

wkkim@wkkim-VirtualBox:~/alljoyn-gw/core/alljoyn$ ls build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o
build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o

And I was able to find the object file.

I don't know scons generates an error 127 since the compiling the target source code (aclient.c) seems successful. Does anyone know a solution for this problem?

Thanks!

edit retag flag offensive close merge delete