Makefile:182: recipe for target 'obj/convolutional_kernels.o' failed make: *** [obj/convolutional_kernels.o] Error 139 - yolo

While making darknet I got error
Segmentation fault (core dumped) Makefile:182: recipe for target 'obj/convolutional_kernels.o' failed make: *** [obj/convolutional_kernels.o] Error 139

Open makefile and change the NVCC = /usr/local/cuda-11/bin/nvcc according to your version of cuda

Related

when build tensorflow lite python wheel package with tensorflow source code, an error occurred

I built tensorflow lite python wheel package with tensorflow source code, according to the guidence from official website of tensorflow, https://tensorflow.google.cn/lite/guide/build_cmake_pip?hl=zh-cn. An same error occurred neither I built with source code nor in the docker container, tensorflow/tensorflow:devel, the error is:
compilation terminated.
make[3]: *** [//gen/tflite_pip/python3/cmake_build/CMakeFiles/tensorflow-lite.dir/build.make:739: //gen/tflite_pip/python3/cmake_build/CMakeFiles/tensorflow-lite.dir/kernels/conv3d.cc.o] Error 1
make[3]: Leaving directory '/gen/tflite_pip/python3/cmake_build'
make[2]: *** [CMakeFiles/Makefile2:1217: //gen/tflite_pip/python3/cmake_build/CMakeFiles/tensorflow-lite.dir/all] Error 2
make[2]: Leaving directory '/gen/tflite_pip/python3/cmake_build'
make[1]: *** [CMakeFiles/Makefile2:1151: //gen/tflite_pip/python3/cmake_build/CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/rule] Error 2
make[1]: Leaving directory '/gen/tflite_pip/python3/cmake_build'
make: *** [Makefile:186: _pywrap_tensorflow_interpreter_wrapper] Error 2
Has anyone ever encountered a similar error? And how to figure it out?
I got a same error, and looks like in the latest versions of tensorflow lite CMake there is a problem when working with more then 20-30 threads.
So on my end I set BUILD_NUM_JOBS=8 and the CMake of wheel package worked like a charm for me.

DPDK-19.11 linking stating for pdump application results in error

DPDK version: 19-11
Environment: VM
OS: 4.14.81.bm.15-amd64
Gcc: 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) Application error: PDUMP
note: build for same in host machine works fine.
CMD: make install
Logs:
== Build app/pdump
CC main.o
LD dpdk-pdump
collect2: error: ld returned 1 exit status
/root/dpdk-19.11/mk/rte.app.mk:433: recipe for target 'dpdk-pdump' failed
make[5]: *** [dpdk-pdump] Error 1
/root/dpdk-19.11/mk/rte.subdir.mk:35: recipe for target 'pdump' failed
make[4]: *** [pdump] Error 2
/root/dpdk-19.11/mk/rte.sdkbuild.mk:46: recipe for target 'app' failed
make[3]: *** [app] Error 2
/root/dpdk-19.11/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/root/dpdk-19.11/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/root/dpdk-19.11/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2
as per the current update from Meinhard, the issue was the VM was having less memory to finish the linking. Increasing the memory the build is successful.

error build all ros packages in this repo the error occur in catkin_make step

I followed instruction by Michael Huang.
My error message reads:
In file included from /home/evadro/quadevac_sim_ws/catkin_ws/src/menge_gazebo/menge_congregate/include/MengeCong.h:10:0,
from /home/evadro/quadevac_sim_ws/catkin_ws/src/menge_gazebo/menge_congregate/src/MengeCong.cpp:8:
/home/evadro/quadevac_sim_ws/catkin_ws/src/menge_gazebo/menge_congregate/../menge_common/include/MengePlugin.h:13:44: fatal error: gazebo/physics/InstancedActor.hh: No such file or directory
compilation terminated.
menge_gazebo/menge_congregate/CMakeFiles/menge_congregate.dir/build.make:62: recipe for target 'menge_gazebo/menge_congregate/CMakeFiles/menge_congregate.dir/src/MengeCong.cpp.o' failed
make[2]: * [menge_gazebo/menge_congregate/CMakeFiles/menge_congregate.dir/src/MengeCong.cpp.o] Error 1
CMakeFiles/Makefile2:4099: recipe for target 'menge_gazebo/menge_congregate/CMakeFiles/menge_congregate.dir/all' failed
make[1]: * [menge_gazebo/menge_congregate/CMakeFiles/menge_congregate.dir/all]
The 2nd error is:
make[1]: *** Waiting for unfinished jobs....
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j24 -l24" failed
Your Error is gazebo/physics/InstancedActor.hh No such file or directory.
this header is not on standard version of Gazebo.
Make Sure you Compiled Gazebo Repo mentioned in External Depenencies Here with No errors. Then Double checks paths so compiler can find the missing headers.

ld unrecognised emulation mode aarch64linux

When running make in CMake, I only get an error that says /usr/bin/ld unrecognised emulation mode aarch64linux.
Im trying to build DualBootPatcher app for Android, this is the error:
/usr/bin/ld: unrecognised emulation mode: aarch64linux
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om i386pep i386pe
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [misc/CMakeFiles/fsck-wrapper.dir/build.make:76: misc/fsck-wrapper] Error 1
make[4]: *** [CMakeFiles/Makefile2:1786: misc/CMakeFiles/fsck-wrapper.dir/all] Error 2
make[3]: *** [Makefile:163: all] Error 2
make[2]: *** [android/CMakeFiles/android-system_arm64-v8a.dir/build.make:111: android/android-system_arm64-v8a-prefix/src/android-system_arm64-v8a-stamp/android-system_arm64-v8a-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1868: android/CMakeFiles/android-system_arm64-v8a.dir/all] Error 2
make: *** [Makefile:163: all] Error 2>
Im running latest Cmake and binutils. Also tried reinstalling binutils.
Im NOT a developers, so it would be nice if you could explain it^^
Does anyone has a solution?
The issue is clear from the fact that the output is coming from /usr/bin/ld. This is the system ld, rather than the ld included with the NDK. You should investigate why this ld is being executed instead, for example via strace.
For me it turned out to be a file permissions issue - the NDK zip file had extracted without execute permissions, so the toolchain binaries were silently ignored. A few chmod +x later and all was well.

caffe runtest error after make all

I am installing caffe with ubuntu 16.04 system of cpu. I am facing prpoblem while makerun test.
The error is:
src/caffe/test/test_hdf5data_layer.cpp:4:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:581: recipe for target
'.build_release/src/caffe/test/test_hdf5data_layer.o' failed
make: *** [.build_release/src/caffe/test/test_hdf5data_layer.o] Error 1