Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Error compiling on Raspberry (Try to compile with gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf)
Error compiling on Raspberry [message #1836303] Mon, 28 December 2020 18:33 Go to next message
Helbert da Rocha is currently offline Helbert da RochaFriend
Messages: 4
Registered: December 2020
Junior Member
I am getting a error when I try to compile with gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf to enable the HTTP on Raspberry

pi@Server:~/Desktop/forte-incubation_1.13.0/arm7 $ sudo make
[ 1%] Generating src_gen/deviceExecutionHandlers_gen.cpp
[ 50%] Built target forte_stringlist_externals
-- FORTE_MODULE_DIR: /home/pi/Desktop/forte-incubation_1.13.0/arm7/src/modules com external/
[ 50%] Built target forte_generate_modules_cmake_files
Generate Initfunction
Source Dir: /home/pi/Desktop/forte-incubation_1.13.0
Binary Dir: /home/pi/Desktop/forte-incubation_1.13.0/arm7
[ 50%] Built target forte_init_generator
GenerateStringlist
Source Dir: /home/pi/Desktop/forte-incubation_1.13.0/src
Binary Dir: /home/pi/Desktop/forte-incubation_1.13.0/arm7
[ 50%] Built target forte_stringlist_generator
[ 50%] Building CXX object src/CMakeFiles/FORTE_LITE.dir/arch/posix/forte_thread.cpp.obj
/bin/sh: 1: /home/pi/Desktop/gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++: Exec format error
make[2]: *** [src/CMakeFiles/FORTE_LITE.dir/build.make:64: src/CMakeFiles/FORTE_LITE.dir/arch/posix/forte_thread.cpp.obj] Error 2
make[1]: *** [CMakeFiles/Makefile2:251: src/CMakeFiles/FORTE_LITE.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

can someone help, please.
Re: Error compiling on Raspberry [message #1836344 is a reply to message #1836303] Tue, 29 December 2020 17:53 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

not sure but could it be that you installed a cross toolchain for linux amd64 on your RPI?
Previous Topic:Virtual DNS file cleared IDE 1.13.0
Next Topic:4DIAC with HTTP
Goto Forum:
  


Current Time: Fri Apr 19 08:41:18 GMT 2024

Powered by FUDForum. Page generated in 0.01391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top