Revision history [back]

click to hide/show revision 1
initial version

cross compile error for mips

I downloaded the alljoyn-14.12.00-src. I am trying to cross compile the alljoyn software to run on a mipsel processor. I can get it to compile natively on my Ubuntu VM and run. But I ran into a snag when cross compiling for my target hardware.

SCONS command:

scons BINDINGS=cpp WS=off BR=off ICE=off SERVICES="about,notification,controlpanel,config,onboarding" OS=openwrt CPU=openwrt TARGET_PATH=/opt/loadbuild/broadcom/latest/toolchain/bin TARGET_CC='mipsel-linux-uclibc-gcc' TARGET_CFLAGS='-fPIC -g -Os' TARGET_CPPFLAGS='-I/opt/loadbuild/broadcom/latest/toolchain//mipsel-linux-uclibc/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/include' TARGET_CXX='mipsel-linux-uclibc-g++' TARGET_LINK='mipsel-linux-uclibc-g++' TARGET_LINKFLAGS='-L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/lib -L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/lib' TARGET_AR=mipsel-linux-ar TARGET_RANLIB=mipsel-linux-ranlib STAGING_DIR=/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr

OUTPUT:

scons: 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/prodea/allseen/alljoyn-14.12.00-src/alljoyn_core/samples/eventaction/SConscript", line 35, in <module>

scons: done reading SConscript files.

scons: Building targets ...

    [CXX]     alljoyn_core/test/aclient.cc

scons: * [build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o] Error 127

scons: building terminated because of errors.

The 127 I think is a command not found, but I believe I have the CXX and PATH setup correctly.

Thanks for any help

Larry

cross compile error for mips

I downloaded the alljoyn-14.12.00-src. I am trying to cross compile the alljoyn software to run on a mipsel processor. I can get it to compile natively on my Ubuntu VM and run. But I ran into a snag when cross compiling for my target hardware.

SCONS command:

command: scons BINDINGS=cpp WS=off BR=off ICE=off SERVICES="about,notification,controlpanel,config,onboarding" OS=openwrt CPU=openwrt TARGET_PATH=/opt/loadbuild/broadcom/latest/toolchain/bin TARGET_CC='mipsel-linux-uclibc-gcc' TARGET_CFLAGS='-fPIC -g -Os' TARGET_CPPFLAGS='-I/opt/loadbuild/broadcom/latest/toolchain//mipsel-linux-uclibc/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/include' TARGET_CXX='mipsel-linux-uclibc-g++' TARGET_LINK='mipsel-linux-uclibc-g++' TARGET_LINKFLAGS='-L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/lib -L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/lib' TARGET_AR=mipsel-linux-ar TARGET_RANLIB=mipsel-linux-ranlib STAGING_DIR=/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr

OUTPUT:

STAGING_DIR=/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr OUTPUT: scons: Reading SConscript files ...

... Building bindings: cpp

cpp Building services:

services: BULLSEYE_BIN not specified

specified GTEST_DIR not specified skipping common unit test build

build BULLSEYE_BIN not specified

specified GTEST_DIR not specified skipping About Service unit test build

build GTEST_DIR not specified skipping alljoyn_core unit test build

build scons: warning: Ignoring missing SConscript 'build/openwrt/openwrt/debug/obj/services/about/SConscript'

'build/openwrt/openwrt/debug/obj/services/about/SConscript' File "/home/prodea/allseen/alljoyn-14.12.00-src/alljoyn_core/samples/eventaction/SConscript", line 35, in <module>

<module> scons: done reading SConscript files.

files. scons: Building targets ...

...

        [CXX]     alljoyn_core/test/aclient.cc

scons: * scons: *** [build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o] Error 127

127 scons: building terminated because of errors.

errors.

The 127 I think is a command not found, but I believe I have the CXX and PATH setup correctly.

Thanks for any help

Larry

cross compile error for mips

I downloaded the alljoyn-14.12.00-src. I am trying to cross compile the alljoyn software to run on a mipsel processor. I can get it to compile natively on my Ubuntu VM and run. But I ran into a snag when cross compiling for my target hardware.hardware. SCONS command:

SCONS command:

scons BINDINGS=cpp WS=off BR=off ICE=off SERVICES="about,notification,controlpanel,config,onboarding"  OS=openwrt CPU=openwrt TARGET_PATH=/opt/loadbuild/broadcom/latest/toolchain/bin TARGET_CC='mipsel-linux-uclibc-gcc' TARGET_CFLAGS='-fPIC -g -Os' TARGET_CPPFLAGS='-I/opt/loadbuild/broadcom/latest/toolchain//mipsel-linux-uclibc/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/include -I/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/include' TARGET_CXX='mipsel-linux-uclibc-g++' TARGET_LINK='mipsel-linux-uclibc-g++' TARGET_LINKFLAGS='-L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/lib -L/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr/usr/local/lib' TARGET_AR=mipsel-linux-ar TARGET_RANLIB=mipsel-linux-ranlib STAGING_DIR=/opt/loadbuild/lnks/continuous/RHC-MIPSR/local/mipsr

OUTPUT:

OUTPUT:

scons: 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/prodea/allseen/alljoyn-14.12.00-src/alljoyn_core/samples/eventaction/SConscript", line 35, in <module>

scons: done reading SConscript files.

scons: Building targets ...

        [CXX]     alljoyn_core/test/aclient.cc

scons: *** [build/openwrt/openwrt/debug/obj/alljoyn_core/test/aclient.o] Error 127

scons: building terminated because of errors.

The 127 I think is a command not found, but I believe I have the CXX and PATH setup correctly.

Thanks for any help

Larry