I tried to compile a project of stm32f4 from GitHub on eclipse, this is its link:
https://github.com/piratfm/codec2_m4f
Follow some instructions on internet, I did: Import->c/c++-> Existing code as makefile project->Choose path of project folder and tick Cross Arm GCC in "toolchain for Indexer setting"-> Click finish.
Click build, I got these error in console:
make[2]: *** [misc.o] Error 2
make[1]: Leaving directory `C:/Users/abcd/Desktop/codec2_m4f-master/lib'
make[1]: *** [all] Error 2
make: *** [lib] Error 2.
and in problem:
Description Resource Path Location Type
make[2]: *** [misc.o] Error 2 codec2_m4f-master C/C++ Problem
make[1]: *** [all] Error 2 codec2_m4f-master C/C++ Problem
make: *** [lib] Error 2 codec2_m4f-master C/C++ Problem
I installed everything to compile and build C/C++ project for stm32f4 on eclipse, I tested it with some simple project as blink led.
Any opinion to fix these problem? or I will run it on Linux platform
Can somebody try building it and upload debug folder?
Thanks
Related
I am currently trying to build the baresip library in order to use it into an Android application. For that, I use the project libbaresip-android and I follow the instructions of the README file.
I am trying to setup a pipeline running on Ubuntu 20.04. From the README file, the steps 1, 2 and 3 seems to work, but my pipeline failed on the step 4 when the script tries to compile webrtc.
The error:
make[2]: Entering directory '/home/vsts/work/1/s/webrtc'
[armeabi-v7a] Compile++ thumb: webrtc <= aecm_core.cc
In file included from jni/src/webrtc/modules/audio_processing/aecm/aecm_core.cc:24:
jni/src/webrtc/rtc_base/checks.h:57:10: fatal error: 'absl/meta/type_traits.h' file not found
#include "absl/meta/type_traits.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [/usr/local/lib/android/sdk/ndk/21.4.7075529/build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/webrtc/src/webrtc/modules/audio_processing/aecm/aecm_core.o] Error 1
make[2]: Leaving directory '/home/vsts/work/1/s/webrtc'
make[1]: *** [Makefile:247: webrtc] Error 2
make[1]: Leaving directory '/home/vsts/work/1/s'
make: *** [Makefile:324: install-all] Error 2
##[error]Bash exited with code '2'.
As you can see, this file has the following instruction:
#include "absl/meta/type_traits.h"
I am not a C developer, so I do not know if this include instruction refered to something standard or to a specific file of the project. But the source code does not contain any "adsl" directory.
Should I install something specific on the machine that builds the project? Thank you for your help.
Download abseil library (https://github.com/abseil/abseil-cpp) and put it under third_party folder.
I am currently running GridDB 4.5.2 (from yum) on CentOS Linux release 7.9.2009
When attempting to build the new GridDB version from source, I get the following error:
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [gsserver-system_service.o] Error 4
make[2]: Leaving directory `/home/${USER}/griddb-4.6.0/server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/${USER}/griddb-4.6.0/server'
make: *** [all-recursive] Error 1
Any ideas?
That error is commonly seen when GridDB is compiled on a machine with low memory.
I am currently facing problem in building my C project in NETBeans. It shows me error as Access Denied when I compile my project.
Also it throws the same error while saving existing project or creating new project.
Current OS installed is Windows 7.
Following is the Error thrown :
arm-brcm-linux-gnueabi-g++: Internal error: Aborted (program collect2)
Please submit a full bug report.
See <http://hi.baidu.com/__eabi> for instructions.
make[2]: *** [dist/V3/App/App.exe] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
I want to install mod_tile on opensuse. I am following the link to install it; after
#./configure
I run make:
#make
it shows the below error:
make[1]: *** [src/gen_tile.o] Error 1
make[1]: Leaving directory `/opt/mod_tiles_src/mod_tile'
its duplicate of the Other issue
i used the code from
https://github.com/springmeyer/mod_tile
which is working fine..
Iam trying to build a cross compiler using this tutorial:
http://wiki.osdev.org/OS_Specific_Toolchain
after succesfully building binutils,all-gcc,newlib
I am getting an error in the last part of make in build-gcc
checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:8970: recipe for target `configure-target-libstdc++-v3' failed
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/usr/src/build-gcc'
Makefile:870: recipe for target `all' failed
make: *** [all] Error 2
please help...
I don't know you configure command options. But if you have given --enable-language=c change it to --enable-languages=c. Or may be you are compiling bootstrap with languages c and c++. In which case this error occurs.
I ran into this issue when attempting to build a cross compiler for ARM. Eventually, switched to using crosstool-NG. It is a script that greatly simplifies the process. It worked like a charm for me.