./build.sh deploy User@User-PC ~/gpio-cc-client$ ./build.sh deploy=================================== ACCESS TOKEN: dfxlmA===================================-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabi-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabiCMake Error at CMakeLists.txt:19 (project): The CMAKE_C_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:19 (project): The CMAKE_CXX_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!See also "C:/cygwin64/home/User/gpio-cc-client/libs/kaa/build/CMakeFiles/CMakeOutput.log".make: *** No targets specified and no makefile found. Stop.Enter WiFi SSID:
Enter WiFi Password:
cp: cannot stat 'libs/kaa/build/libkaa*': No such file or directory-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabiCMake Error at CMakeLists.txt:19 (project): The CMAKE_C_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:19 (project): The CMAKE_CXX_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!See also "C:/cygwin64/home/User/gpio-cc-client/CMakeFiles/CMakeOutput.log"../build.sh: line 112: ./demo_client: No such file or directory./build.sh: line 145: syntax error near unexpected token `done'./build.sh: line 145: `done'
User@User-PC ~/gpio-cc-client$ ./build.sh deploy=================================== ACCESS TOKEN: dfxlmA===================================-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabi-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabiCMake Error at CMakeLists.txt:19 (project): The CMAKE_C_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:19 (project): The CMAKE_CXX_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!See also "C:/cygwin64/home/User/gpio-cc-client/libs/kaa/build/CMakeFiles/CMakeOutput.log".make: *** No targets specified and no makefile found. Stop.Enter WiFi SSID:
Enter WiFi Password:
cp: cannot stat 'libs/kaa/build/libkaa*': No such file or directory-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabiCMake Error at CMakeLists.txt:19 (project): The CMAKE_C_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:19 (project): The CMAKE_CXX_COMPILER:
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!See also "C:/cygwin64/home/User/gpio-cc-client/CMakeFiles/CMakeOutput.log"../build.sh: line 112: ./demo_client: No such file or directory./build.sh: line 145: syntax error near unexpected token `done'./build.sh: line 145: `done'
User@User-PC ~/gpio-cc-client
$ /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
C:/cygwin64/home/User/gpio-cc-client/CMakeFiles/CMakeOutput.log"The target system is: Generic - - The host system is: Windows - 6.1.7601 - AMD64
The target system is: Generic - - The host system is: Linux - 4.1.19-v7+ - armv7lpi@raspberrypi:~ $ lsCMakeLists.txt Desktop Documents Downloads gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2 gpio-cc-client Music Pictures Public python_games Templates Videospi@raspberrypi:~ $ cd gpio-cc-client/pi@raspberrypi:~/gpio-cc-client $ lsbuild build.sh cc32xx CMakeCache.txt CMakeFiles CMakeLists.txt libs README.txt srcpi@raspberrypi:~/gpio-cc-client $ ./build.sh deploy=================================== ACCESS TOKEN: X0sDmQ===================================-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabi-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabi==================================BUILD_TYPE = RELEASEKAA_PLATFORM = cc32xxKAA_MAX_LOG_LEVEL = 3==================================EVENTS ENABLEDLOGGING ENABLEDCONFIGURATION ENABLEDNOTIFICATION ENABLED==================================Successfully generatedKAA WILL BE INSTALLED TO /usr/local -- Configuring done-- Generating done-- Build files have been written to: /home/pi/gpio-cc-client/libs/kaa/buildScanning dependencies of target kaac_o[ 2%] [ 4%] [ 6%] [ 9%] Building C object CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha1.c.objBuilding C object CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.objBuilding C object CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha.c.objBuilding C object CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/kaa_failover_strategy.c.obj/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")Syntax error: word unexpected (expecting ")")
CMakeFiles/kaac_o.dir/build.make:54: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj] Error 2make[2]: *** Waiting for unfinished jobs....CMakeFiles/kaac_o.dir/build.make:123: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha1.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha1.c.obj] Error 2/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")CMakeFiles/kaac_o.dir/build.make:100: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha.c.obj] Error 2/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")CMakeFiles/kaac_o.dir/build.make:77: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/kaa_failover_strategy.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/kaa_failover_strategy.c.obj] Error 2CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/kaac_o.dir/all' failedmake[1]: *** [CMakeFiles/kaac_o.dir/all] Error 2Makefile:117: recipe for target 'all' failedmake: *** [all] Error 2Enter WiFi SSID:xxxxxxxxEnter WiFi Password:xxxxxxxxcp: cannot stat ‘libs/kaa/build/libkaa*’: No such file or directoryCMake Error at CMakeLists.txt:31 (include): include could not find load file:
/home/pi/cc32xx/cc32xx.cmake
CMake Error at CMakeLists.txt:40 (add_executable): add_executable called with incorrect number of arguments
CMake Error at CMakeLists.txt:41 (target_link_libraries): Cannot specify link libraries for target "demo_client" which is not built by this project.
-- Configuring incomplete, errors occurred!See also "/home/pi/gpio-cc-client/CMakeFiles/CMakeOutput.log"../build.sh: line 112: ./demo_client: No such file or directory./build.sh: line 145: syntax error near unexpected token `done'./build.sh: line 145: `done'pi@raspberrypi:~/gpio-cc-client $
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")Syntax error: word unexpected (expecting ")")
CMakeFiles/kaac_o.dir/build.make:54: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj] Error 2make[2]: *** Waiting for unfinished jobs....CMakeFiles/kaac_o.dir/build.make:123: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha1.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha1.c.obj] Error 2/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")CMakeFiles/kaac_o.dir/build.make:100: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/sha.c.obj] Error 2/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")CMakeFiles/kaac_o.dir/build.make:77: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/kaa_failover_strategy.c.obj' failedmake[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/common/kaa_failover_strategy.c.obj] Error 2
To find out what happened, navigate to the build dir and run verbose build:
cd build
VERBOSE=1 make
And post log here.
Second issue will require deeper investigation. I'll check the code and return with some info.
Regards,
Max
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.04.24 20:55:47 =~=~=~=~=~=~=~=~=~=~=~=
clear
pi@raspberrypi:~/gpio-cc-client/libs/kaa/build $ ls
CMakeCache.txt CMakeFiles cmake_install.cmake Makefile
pi@raspberrypi:~/gpio-cc-client/libs/kaa/build $ VERBOSE=1 make
/usr/bin/cmake -H/home/pi/gpio-cc-client/libs/kaa -B/home/pi/gpio-cc-client/libs/kaa/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/pi/gpio-cc-client/libs/kaa/build/CMakeFiles /home/pi/gpio-cc-client/libs/kaa/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/pi/gpio-cc-client/libs/kaa/build'
make -f CMakeFiles/kaac_o.dir/build.make CMakeFiles/kaac_o.dir/depend
make[2]: Entering directory '/home/pi/gpio-cc-client/libs/kaa/build'
cd /home/pi/gpio-cc-client/libs/kaa/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/gpio-cc-client/libs/kaa /home/pi/gpio-cc-client/libs/kaa /home/pi/gpio-cc-client/libs/kaa/build /home/pi/gpio-cc-client/libs/kaa/build /home/pi/gpio-cc-client/libs/kaa/build/CMakeFiles/kaac_o.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/pi/gpio-cc-client/libs/kaa/build'
make -f CMakeFiles/kaac_o.dir/build.make CMakeFiles/kaac_o.dir/build
make[2]: Entering directory '/home/pi/gpio-cc-client/libs/kaa/build'
/usr/bin/cmake -E cmake_progress_report /home/pi/gpio-cc-client/libs/kaa/build/CMakeFiles 1
[ 2%] Building C object CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc -DCC32XX -DCC32XX_PLATFORM -DUSER_INPUT_ENABLE -Dgcc -mthumb -mcpu=cortex-m4 -ffunction-sections -fdata-sections -MD -O0 -fPIC -Wall -std=gnu99 -DKAA_MAX_LOG_LEVEL=3 -O3 -DNDEBUG -Os -s -I/opt/kaa/cc3200-sdk/inc -I/opt/kaa/cc3200-sdk/driverlib -I/opt/kaa/cc3200-sdk/simplelink -I/opt/kaa/cc3200-sdk/simplelink/include -I/opt/kaa/cc3200-sdk/simplelink/source -I/opt/kaa/cc3200-sdk/simplelink_extlib/provisioninglib -I/opt/kaa/cc3200-sdk/example/common -I/opt/kaa/cc3200-sdk/oslib -I/home/pi/gpio-cc-client/libs/kaa/src -I/home/pi/gpio-cc-client/libs/kaa/src/kaa -o CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj -c /home/pi/gpio-cc-client/libs/kaa/src/kaa/platform-impl/posix/posix_kaa_client.c
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")
CMakeFiles/kaac_o.dir/build.make:54: recipe for target 'CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj' failed
make[2]: *** [CMakeFiles/kaac_o.dir/src/kaa/platform-impl/posix/posix_kaa_client.c.obj] Error 2
make[2]: Leaving directory '/home/pi/gpio-cc-client/libs/kaa/build'
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/kaac_o.dir/all' failed
make[1]: *** [CMakeFiles/kaac_o.dir/all] Error 2
make[1]: Leaving directory '/home/pi/gpio-cc-client/libs/kaa/build'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
pi@raspberrypi:~/gpio-cc-client/libs/kaa/build $
...
uname -a echo $0 echo $SHELL ps file/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc head/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
--
You received this message because you are subscribed to a topic in the Google Groups "Kaa project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kaaproject/KtVSFmA93KM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kaaproject+...@googlegroups.com.
Visit this group at https://groups.google.com/group/kaaproject.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaaproject/f9e95632-2632-4a88-877d-4ba19c6cef6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
pi@raspberrypi:~ $ echo $0
/bin/bash
pi@raspberrypi:~ $ echo $SHELL
/bin/bash
pi@raspberrypi:~ $ ps
PID TTY TIME CMD
1973 pts/0 00:00:00 bash
1984 pts/0 00:00:00 ps
pi@raspberrypi:~ $ file /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.8, stripped
pi@raspberrypi:~ $ head /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
ELF x�4�+
4 ( 44�4� T T�T� ���
�
�
ħ
�w �
���� h h�h� �
P�tdH<
HHt"t" Q�td /lib/ld-linux.so.2 GNU ���eWh"�|UA4`D 9��fv?O��RP *g8z}�q7<>_ ^o �� �!~xQ�Id :6;,J� C]\nB�)rc �sXE�Hi {� Z#b��M
�Km .(& $L51G/0T=FYV+NSp [ u-w2@tjky%'
�3���a� l�� "� � Y � � � � $ � q G q �
!
� �� � � j � � �
+
I � x ! � q � � P � x � � <�
! � �
+
� �"� � n e � � �
` ! � � � � N . [ U � "! � � �
+ K . 8D
F� ;
� 6 x m! M �H ! ( � � � � � � _ � U � r � j T � � y � � @ �� ! � � � ! � " � � ! � ' ( ! % ! � ; � � R �,! �
� j W 4 { (�
! # � H ! 5 ? � �
+"
� \�
! x / & ! � � �,! K E ( � � ! � � C 0
pi@raspberrypi:~ $ ...
Hi Trevor!
Seems that you are using the arm-none-eabi-gcc binary
that was compiled for x86 architecture. But, raspberry is
built above ARM processor.
Using raspberry for this purpose is
a bit tricky. You can try to find some info about how to use
cross-compile bare metal projects on raspberry, like this: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=99127
. It is an uncommon case though.
I suggest you to use x86 Linux
(you can install it to the virtual machine) and
arm-none-eabi cross-compiler.
Regards,
Max
-- You received this message because you are subscribed to a topic in the Google Groups "Kaa project" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/kaaproject/KtVSFmA93KM/unsubscribe. To unsubscribe from this group and all its topics, send an email to kaaproject+...@googlegroups.com. Visit this group at https://groups.google.com/group/kaaproject. To view this discussion on the web visit https://groups.google.com/d/msgid/kaaproject/3168dab8-b240-484f-9d1c-5c533685371e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# ./build.sh clean=================================== ACCESS TOKEN: ufGS4q===================================./build.sh: line 145: syntax error near unexpected token `done'./build.sh: line 145: `done'root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# ./build.sh deploy=================================== ACCESS TOKEN: UEJCiG===================================-- GCC not found, default path will be used-- Default SDK location will be used-- CC32XX SDK path: /opt/kaa/cc3200-sdk-- Toolchain path: /opt/kaa/gcc-arm-none-eabiCMake Error at toolchains/cc32xx.cmake:71 (set): Syntax error in cmake code at /home/bodhi/cc-gpio-client/libs/kaa/toolchains/cc32xx.cmake:71 when parsing string -mthumb -mcpu=cortex-m4 -ffunction-sections \ -fdata-sections -MD -O0 syntax error, unexpected cal_SYMBOL, expecting $end (71)Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:90 (include) CMakeLists.txt:19 (project)CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.Missing variable is:
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# lsbuild.sh cc32xx CMakeCache.txt CMakeFiles CMakeLists.txt libs README.txt src
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# uname -aLinux bodhi-VirtualBox 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# echo $0bash
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# echo $SHELL/bin/bash
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# ps PID TTY TIME CMD 2918 pts/0 00:00:00 sudo 2919 pts/0 00:00:00 su 2920 pts/0 00:00:00 bash 3479 pts/0 00:00:00 ps
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# file /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
/opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client# head /opt/kaa/gcc-arm-none-eabi/bin/arm-none-eabi-gcc ELFx4 + 4 (444 TTTÄ Ä Ä Ä§ Ôw¤ ¤¤øøhhh Ä PåtdH<HHt"t"Qåtd/lib/ld-linux.so.2GNƒœ†eWh"‘|UA4`D9 ›fv?O—‚RP*g8z}Šq7<>_^o˜– ‡!~xQ Id:6;,J“C]\nB‰)rc …sXE•HiŽ{šZ#bˆ‹M
„Km$L51G/0T=FYV+NSp[ u-w2@tjky%' 3Œƒ€a”l™»"ù«YÀÈüÓ$àúqGqä¯ !’ðò–jê €+ I¤x!¦q ØP‘xñÈ<¯ !ó + ¢ã"Ô£ne£Šš `!˰ñÒN.[Uö"!å‹Ï +K.8DßF¼;¦6xm!M•H!(åØùùÌ _—UÏèrÆjT Ûy„Ì@Ý !¶ªˆ!±"׸ !ê'(!%à!„;øÐR€,!€Þj W4{(° !#‘H!5?¢Ð+" Î\¯ !x/&à!þûÀ,!KE(¶ä! ë½C0root@bodhi-VirtualBox:/home/bodhi/cc-gpio-client#
...
Hi Trevor!
Seems to me that you are using arm-none-eabi-gcc binary
that was compiled for x86 architecture. But raspberry is
built above ARM processor.
Using raspberry for this purpose is
a bit tricky. You can try to find some info about how to
cross-compile for bare-metal on raspberry, like this:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=99127
. But it is an uncommon case.I suggest you to use x86 Linux
(you can install it to the virtual machine) and
arm-none-eabi cross-compiler.
Regards,
Max
-- You received this message because you are subscribed to a topic in the Google Groups "Kaa project" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/kaaproject/KtVSFmA93KM/unsubscribe. To unsubscribe from this group and all its topics, send an email to kaaproject+...@googlegroups.com. Visit this group at https://groups.google.com/group/kaaproject. To view this discussion on the web visit https://groups.google.com/d/msgid/kaaproject/3168dab8-b240-484f-9d1c-5c533685371e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Hi Trevor!
Sorry for such a late reply. Something wrong with my email client, I was sure that I've sent reply to you.
I suspect that cmake v2.8 contains a bug when parsing '\' symbol and we are in process of upgrading required version for our applications: http://jira.kaaproject.org/browse/APP-73
Right now, you can upgrade your cmake to version 3.0 or higher, or try to reconstruct flag string (i.e. remove '\' character and following newline).
Regards,
Max