ATLFlight / HelloWorld

Sample program to show how to run code on Hexagon DSP. Refer to the documentation in ATLFlight/ATLFlightDocs for information on how to install the required prerequisites.
7 stars 6 forks source link

error when make in the HelloWorld/bundle #2

Closed nanfly closed 8 years ago

nanfly commented 8 years ago

Hi guys,

I have had this issue for about 2 weeks, I heard the HelloWorld is fixed yesterday and I pulled the new code but still got the same error.

I am running on a fresh installed Ubuntu 14.04 LTS 64 bit, and installed all required packages following the PX4 wiki.

The main error is from this line as I believe arm-linux-gnueabihf-gcc: error: /home/nanfly/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug/rpcmem.a: No such file or directory

The following are the entire terminal input and output when trying to run the HelloWorld:

nanfly@nanfly-T440p:~$ git clone https://github.com/ATLFlight/HelloWorld Cloning into 'HelloWorld'... remote: Counting objects: 167, done. remote: Total 167 (delta 0), reused 0 (delta 0), pack-reused 167 Receiving objects: 100% (167/167), 31.38 KiB | 0 bytes/s, done. Resolving deltas: 100% (89/89), done. Checking connectivity... done. nanfly@nanfly-T440p:~$ cd HelloWorld/bundle/ nanfly@nanfly-T440p:~/HelloWorld/bundle$ make git submodule update --init Submodule 'cmake_hexagon' (https://github.com/ATLFlight/cmake_hexagon.git) registered for path '../cmake_hexagon' Cloning into 'cmake_hexagon'... remote: Counting objects: 219, done. remote: Total 219 (delta 0), reused 0 (delta 0), pack-reused 219 Receiving objects: 100% (219/219), 39.41 KiB | 0 bytes/s, done. Resolving deltas: 100% (98/98), done. Checking connectivity... done. Submodule path '../cmake_hexagon': checked out 'e3073a948da2100f7e704c6e9083d578780d4510' -- CMAKE_C_FLAGS: -DCUSTOM_FILE_IO -O0 -mv5 -G0 -- CMAKE_CXX_FLAGS: -DCONFIG_WCHAR_BUILTIN -DCUSTOM_FILE_IO -O0 -mv5 -G0 -- CMAKE_C_FLAGS: -DCUSTOM_FILE_IO -O0 -mv5 -G0 -- CMAKE_CXX_FLAGS: -DCONFIG_WCHAR_BUILTIN -DCUSTOM_FILE_IO -O0 -mv5 -G0 -- The C compiler identification is Clang 3.5.0 -- The CXX compiler identification is Clang 3.5.0 -- Check for working C compiler: /home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools/bin/hexagon-clang -- Check for working C compiler: /home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools/bin/hexagon-clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools/bin/hexagon-clang++ -- Check for working CXX compiler: /home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools/bin/hexagon-clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - failed Generated generate_example_interface_stubs target APP_NAME = helloworld IDL_FILE = ../common/example_interface.idl QURT_LIB_INCS = QURT_LIB_LINK_LIBS = -- Configuring done -- Generating done -- Build files have been written to: /home/nanfly/HelloWorld/bundle/build_bundle make[1]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' make[2]: Entering directory/home/nanfly/HelloWorld/bundle/build_bundle' make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' Scanning dependencies of target generate_example_interface_stubs make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' [ 25%] Generating example_interface.h, example_interface_skel.c, example_interface_stub.c make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' [ 25%] Built target generate_example_interface_stubs make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' Scanning dependencies of target helloworld make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' [ 50%] Building C object CMakeFiles/helloworld.dir/home/nanfly/HelloWorld/adsp_proc/helloworld_dsp.c.o Linking C shared library libhelloworld.so make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' [ 50%] Built target helloworld make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' Scanning dependencies of target example_interface_skel make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' [ 75%] Building C object CMakeFiles/example_interface_skel.dir/example_interface_skel.c.o Linking C shared module libexample_interface_skel.so make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' [100%] Built target example_interface_skel make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' Scanning dependencies of target helloworld_app make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' make[3]: Entering directory /home/nanfly/HelloWorld/bundle/build_bundle' arm-linux-gnueabihf-gcc: error: /home/nanfly/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug/rpcmem.a: No such file or directory make[3]: *** [CMakeFiles/helloworld_app] Error 1 make[3]: Leaving directory/home/nanfly/HelloWorld/bundle/build_bundle' make[2]: * [CMakeFiles/helloworld_app.dir/all] Error 2 make[2]: Leaving directory `/home/nanfly/HelloWorld/bundle/build_bundle' make[1]: * [all] Error 2 make[1]: Leaving directory`/home/nanfly/HelloWorld/bundle/build_bundle' make: *\ [helloworld-bundle] Error 2

mcharleb commented 8 years ago

If you clone cross_toolchain and run install.sh it should do the following:

if [ ! -f ${HEXAGON_SDK_ROOT}/lib/common/rpcmem/UbuntuARM_Debug/rpcmem.a ]; then
        pushd .
        cd ${HEXAGON_SDK_ROOT}/lib/common/rpcmem
        make V=UbuntuARM_Debug
        make V=UbuntuARM_Release
        popd
fi

The rpcmem.a file must be build after the SDK is installed. That should fix your issue.

nanfly commented 8 years ago

@mcharleb

I install the cross_toolchain again and the rpcmen.a was still not there. In that folder /home/nanfly/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug/ , there is only a rpcmen_android.o,dep

The following are the input and output from the terminal

nanfly@nanfly-XPS:~$ git clone https://github.com/ATLFlight/cross_toolchain.git Cloning into 'cross_toolchain'... remote: Counting objects: 77, done. remote: Total 77 (delta 0), reused 0 (delta 0), pack-reused 76 Unpacking objects: 100% (77/77), done. Checking connectivity... done. nanfly@nanfly-XPS:~$ cd cross_toolchain nanfly@nanfly-XPS:~/cross_toolchain$ ./install.sh HEXAGON_SDK_ROOT [/home/nanfly/Qualcomm/Hexagon_SDK/2.0] HEXAGON_TOOLS_ROOT [/home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools] HEXAGON_ARM_SYSROOT [/home/nanfly/Qualcomm/Hexagon_SDK/2.0/sysroot] Verifying required tools were installed... Running 'make' in /home/nanfly/Qualcomm/Hexagon_SDK/2.0/tools/qaic... Verifying setup is complete... --2016-04-13 02:33:23-- https://launchpad.net/linaro-toolchain-binaries/trunk/2013.08/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz Resolving launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223 Connecting to launchpad.net (launchpad.net)|91.189.89.222|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://launchpadlibrarian.net/147740857/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz [following] --2016-04-13 02:33:24-- https://launchpadlibrarian.net/147740857/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 50931176 (49M) [text/plain] Saving to: ‘downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz’

100%[===================================================================================================================================================================>] 50,931,176 487KB/s in 96s

2016-04-13 02:35:00 (519 KB/s) - ‘downloads/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz’ saved [50931176/50931176]

--2016-04-13 02:35:00-- http://releases.linaro.org/14.09/ubuntu/trusty-images/developer/linaro-trusty-developer-20140922-682.tar.gz Resolving releases.linaro.org (releases.linaro.org)... 54.81.84.133 Connecting to releases.linaro.org (releases.linaro.org)|54.81.84.133|:80... connected. HTTP request sent, awaiting response... 302 FOUND Location: https://publishing-linaro-org.s3.amazonaws.com/releases/14.09/ubuntu/trusty-images/developer/linaro-trusty-developer-20140922-682.tar.gz?Signature=qugmuRtifHf5wdNLCm3Amzi9jKo%3D&Expires=1460529394&AWSAccessKeyId=AKIAIELXV2RYNAHFUP7A [following] --2016-04-13 02:35:04-- https://publishing-linaro-org.s3.amazonaws.com/releases/14.09/ubuntu/trusty-images/developer/linaro-trusty-developer-20140922-682.tar.gz?Signature=qugmuRtifHf5wdNLCm3Amzi9jKo%3D&Expires=1460529394&AWSAccessKeyId=AKIAIELXV2RYNAHFUP7A Resolving publishing-linaro-org.s3.amazonaws.com (publishing-linaro-org.s3.amazonaws.com)... 54.231.10.169 Connecting to publishing-linaro-org.s3.amazonaws.com (publishing-linaro-org.s3.amazonaws.com)|54.231.10.169|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 171180714 (163M) [application/octet-stream] Saving to: ‘downloads/linaro-trusty-developer-20140922-682.tar.gz’

100%[======================================>] 171,180,714 817KB/s in 2m 37s =

2016-04-13 02:37:41 (1.04 MB/s) - ‘downloads/linaro-trusty-developer-20140922-682.tar.gz’ saved [171180714/171180714]

~/cross_toolchain ~/cross_toolchain ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc -c -fPIC -Wall -Wno-missing-braces -mword-relocations -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -march=armv7-a -Werror -g -isystem ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/arm-linux-gnueabihf/libc/usr/include -DARM_ARCH_7A -DUSE_SYSLOG -std=gnu99 -DFILENAME=\"rpcmem_android.c\" -D_DEBUG -I. -I../../../inc/a1std -I../../../inc/qlist -I../../../inc/stddef -IUbuntuARM_Debug -oUbuntuARM_Debug/rpcmem_android.o rpcmem_android.c make: ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc: Command not found make: * [UbuntuARM_Debug/rpcmem_android.o] Error 127 ./install.sh: line 197: fail_on_error: command not found ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc -c -fPIC -Wall -Wno-missing-braces -mword-relocations -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -march=armv7-a -Werror -O2 -fno-strict-aliasing -isystem ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/arm-linux-gnueabihf/libc/usr/include -DARM_ARCH_7A -DUSE_SYSLOG -std=gnu99 -DFILENAME=\"rpcmem_android.c\" -I. -I../../../inc/a1std -I../../../inc/qlist -I../../../inc/stddef -IUbuntuARM_Release -oUbuntuARM_Release/rpcmem_android.o rpcmem_android.c make: ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc: Command not found make: * [UbuntuARM_Release/rpcmem_android.o] Error 127 ./install.sh: line 198: fail_on_error: command not found ~/cross_toolchain ~/cross_toolchain ~/cross_toolchain --2016-04-13 02:37:41-- http://launchpadlibrarian.net/172662762/libc6_2.19-0ubuntu6_armhf.deb Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3916006 (3.7M) [application/x-debian-package] Saving to: ‘libc6_2.19-0ubuntu6_armhf.deb’

100%[======================================>] 3,916,006 741KB/s in 6.6s

2016-04-13 02:37:49 (578 KB/s) - ‘libc6_2.19-0ubuntu6_armhf.deb’ saved [3916006/3916006]

--2016-04-13 02:37:49-- http://launchpadlibrarian.net/170520929/libfakeroot_1.20-3ubuntu2_armhf.deb Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21086 (21K) [application/x-debian-package] Saving to: ‘libfakeroot_1.20-3ubuntu2_armhf.deb’

100%[======================================>] 21,086 --.-K/s in 0.1s

2016-04-13 02:37:50 (183 KB/s) - ‘libfakeroot_1.20-3ubuntu2_armhf.deb’ saved [21086/21086]

--2016-04-13 02:37:50-- http://launchpadlibrarian.net/159987636/libfakechroot_2.17.1-2_armhf.deb Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229 Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 31454 (31K) [application/x-debian-package] Saving to: ‘libfakechroot_2.17.1-2_armhf.deb’

100%[======================================>] 31,454 --.-K/s in 0.1s

2016-04-13 02:37:51 (290 KB/s) - ‘libfakechroot_2.17.1-2_armhf.deb’ saved [31454/31454]

~/cross_toolchain /usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error /usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error

Done

armhf cross compiler is at: /home/nanfly/Qualcomm/Hexagon_SDK/2.0/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux armhf sysroot is at: /home/nanfly/Qualcomm/Hexagon_SDK/2.0/sysroot

Make sure to set the following environment variables: export HEXAGON_SDK_ROOT=/home/nanfly/Qualcomm/Hexagon_SDK/2.0 export HEXAGON_TOOLS_ROOT=/home/nanfly/Qualcomm/HEXAGON_Tools/7.2.10/Tools export HEXAGON_ARM_SYSROOT=/home/nanfly/Qualcomm/Hexagon_SDK/2.0/sysroot export PATH=${HEXAGON_SDK_ROOT}/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin:$PATH

nanfly@nanfly-XPS:~/cross_toolchain$ cd ~/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug nanfly@nanfly-XPS:~/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug$ ls rpcmem_android.o.dep

julianoes commented 8 years ago

@nanfly Are you on Ubuntu?

I see this:

/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error
/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error
julianoes commented 8 years ago

Ok, I can reproduce the problem with latest master:

./install.sh                            
HEXAGON_SDK_ROOT [/home/julianoes/Qualcomm/Hexagon_SDK/2.0] 
HEXAGON_TOOLS_ROOT [/home/julianoes/Qualcomm/HEXAGON_Tools/7.2.10/Tools] 
HEXAGON_ARM_SYSROOT [/home/julianoes/Qualcomm/Hexagon_SDK/2.0/sysroot] 
Verifying required tools were installed...
Running 'make' in /home/julianoes/Qualcomm/Hexagon_SDK/2.0/tools/qaic...
Verifying setup is complete...
~/src/cross_toolchain ~/src/cross_toolchain
--2016-04-13 14:49:54--  http://launchpadlibrarian.net/170520929/libfakeroot_1.20-3ubuntu2_armhf.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21086 (21K) [application/x-debian-package]
Saving to: ‘libfakeroot_1.20-3ubuntu2_armhf.deb’

libfakeroot_1.20-3ubuntu2_armhf.d 100%[==============================================================>]  20.59K   127KB/s   in 0.2s   

2016-04-13 14:49:56 (127 KB/s) - ‘libfakeroot_1.20-3ubuntu2_armhf.deb’ saved [21086/21086]

--2016-04-13 14:49:56--  http://launchpadlibrarian.net/159987636/libfakechroot_2.17.1-2_armhf.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31454 (31K) [application/x-debian-package]
Saving to: ‘libfakechroot_2.17.1-2_armhf.deb’

libfakechroot_2.17.1-2_armhf.deb  100%[==============================================================>]  30.72K  98.4KB/s   in 0.3s   

2016-04-13 14:49:56 (98.4 KB/s) - ‘libfakechroot_2.17.1-2_armhf.deb’ saved [31454/31454]

~/src/cross_toolchain
/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error
/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error
Done
--------------------------------------------------------------------
armhf cross compiler is at: /home/julianoes/Qualcomm/Hexagon_SDK/2.0/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux
armhf sysroot is at:        /home/julianoes/Qualcomm/Hexagon_SDK/2.0/sysroot

Make sure to set the following environment variables:
   export HEXAGON_SDK_ROOT=/home/julianoes/Qualcomm/Hexagon_SDK/2.0
   export HEXAGON_TOOLS_ROOT=/home/julianoes/Qualcomm/HEXAGON_Tools/7.2.10/Tools
   export HEXAGON_ARM_SYSROOT=/home/julianoes/Qualcomm/Hexagon_SDK/2.0/sysroot
   export PATH=${HEXAGON_SDK_ROOT}/gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin:$PATH
julianoes commented 8 years ago

It boils down to:

~/src/cross_toolchain
/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error
/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error

This is on Ubuntu 15.10. @mcharleb can you check why this fails? It used to work.

mcharleb commented 8 years ago

It looks like qemu-arm is missing from the sysroot. I'll have a look.

nanfly commented 8 years ago

@julianoes I am running on a Ubuntu 14.04 LTS.

mcharleb commented 8 years ago

@nanfly @julianoes I pushed an update to cross_toolchain that makes sure qemu-user-tools is installed on the host system. If it is not, then you will get the error:

/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error

You can verify you have it installed as follows:

$ cat /proc/sys/fs/binfmt_misc/qemu-arm
enabled
interpreter /usr/bin/qemu-arm-static
flags: OC
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00fffffffffffffffffeffffff

This should resolve the issue.

nanfly commented 8 years ago

@mcharleb Please forgot my last message if you see it (which I have deleted here).

I pulled the latest cross-toolchain and install it. It did install the qemu-user-tools, I double checked with the command you provided. Got:

nanfly@nanfly-XPS:~$ cat /proc/sys/fs/binfmt_misc/qemu-arm
enabled
interpreter /usr/bin/qemu-arm-static
flags: OC
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00fffffffffffffffffeffffff

However this doesn't solve the issue that I encountered, there is still an error when trying make the HelloWorld. The error is still the same, related to

arm-linux-gnueabihf-gcc: error: /home/nanfly/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem/UbuntuARM_Debug/rpcmem.a: No such file or directory

I tried directly generate the rpcmen.a as follows and still got error #127 as before:

nanfly@nanfly-XPS:~$ cd ${HEXAGON_SDK_ROOT}/lib/common/rpcmem nanfly@nanfly-XPS:~/Qualcomm/Hexagon_SDK/2.0/lib/common/rpcmem$ make V=UbuntuARM_Debug ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc -c -fPIC -Wall -Wno-missing-braces -mword-relocations -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -march=armv7-a -Werror -g -isystem ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/arm-linux-gnueabihf/libc/usr/include -DARM_ARCH_7A -DUSE_SYSLOG -std=gnu99 -DFILENAME=\"rpcmem_android.c\" -D_DEBUG -I. -I../../../inc/a1std -I../../../inc/qlist -I../../../inc/stddef -IUbuntuARM_Debug -oUbuntuARM_Debug/rpcmem_android.o rpcmem_android.c make: ../../../tools/make.d.ext/UbuntuARM/../../../gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux/bin/arm-linux-gnueabihf-gcc: Command not found make: *\ [UbuntuARM_Debug/rpcmem_android.o] Error 127

@mcharleb Could you please provide more help?

nanfly commented 8 years ago

@julianoes https://github.com/julianoes Did you solve the problem? I am still having the same issue.

On Thu, Apr 14, 2016 at 5:06 PM, Mark Charlebois notifications@github.com wrote:

@nanfly https://github.com/nanfly @julianoes https://github.com/julianoes I pushed an update to cross_toolchain that makes sure qemu-user-tools is installed on the host system. If it is not, then you will get the error:

/usr/sbin/chroot: failed to run command ‘apt-get’: Exec format error

This should resolve the issue.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ATLFlight/HelloWorld/issues/2#issuecomment-210148740

Graduate Research Assistant

Center for Photonics Technology (CPT)

Ph.D student

Department of Physics

Virginia Polytechnic Institute and State University (Virginia Tech)

Email: huchennan@gmail.com huchennan@gmail.com

Mobile: (540) 808-6822