*** [Makefile:666: all-recursive] Error 1 - error-handling

Aoa,
Hello all,
I am compiling GPG4win from source code, but at make command following error occurs:
**Output written on gpg4win-compendium-de.pdf (155 pages, 3042581 bytes).
Transcript written on gpg4win-compendium-de.log.
/usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
make[4]: *** [Makefile:1117: gpg4win-compendium-de.pdf] Error 1
make[4]: Leaving directory '/home/mmm/Downloads/gpg4win-3.1.16/doc/manual'
make[3]: *** [Makefile:811: all] Error 2
make[3]: Leaving directory '/home/mmm/Downloads/gpg4win-3.1.16/doc/manual'
make[2]: *** [Makefile:666: all-recursive] Error 1
make[2]: Leaving directory '/home/mmm/Downloads/gpg4win-3.1.16/doc'
make[1]: *** [Makefile:730: all-recursive] Error 1
make[1]: Leaving directory '/home/mmm/Downloads/gpg4win-3.1.16'
make: *** [Makefile:671: all] Error 2**

Related

unable to build valgrind for armv7 in yocto

Unable to build valgrind in yocto
I have highleted the problem i am facing
arm-poky-linux-gnueabi-gcc: error: unrecognized argument in option '-march=armv7ve'
arm-poky-linux-gnueabi-gcc: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a armv8-a+crc iwmmxt iwmmxt2 native
make[5]: *** [intdiv-intdiv.o] Error 1
make[5]: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests/arm'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests/arm'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build'
make: *** [check] Error 2
make: Leaving directory `/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build'
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile_ptest_base (log file is located at /home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/temp/log.do_compile_ptest_base.29480)
The error means that the cross gcc doesn't contain the support for armv7ve architecture. The support for armv7ve has been added in gcc-4.9 as evident from the gcc Changelog https://gcc.gnu.org/gcc-4.9/changes.html. Please check your gcc recipe in yocto sources and make sure the gcc version is 4.9 or greater.

CMake not finding files - Can't build detectron with pytorch

make ops for detectron isn't working
export Caffe2_DIR=<path to my pytorch>/torch
make ops
Error Message
[ 40%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o
In file included from /home/ubtuntu/detectron/detectron/ops/zero_even_op.cc:17:0:
/home/ubtuntu/detectron/detectron/ops/zero_even_op.h:20:33: fatal error: caffe2/core/context.h: No such file or directory
compilation terminated.
CMakeFiles/caffe2_detectron_custom_ops.dir/build.make:62: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o' failed
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o] Error 1
make[3]: Leaving directory '/home/ubtuntu/detectron/build'
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/all' failed
make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/home/ubtuntu/detectron/detectron/ops/zero_even_op.cu:17:37: fatal error: caffe2/core/context_gpu.h: No such file or directory
compilation terminated.
CMake Error at caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.cmake:219 (message):
Error generating
/home/ubtuntu/detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o
CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make:63: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o' failed
make[3]: *** [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o] Error 1
make[3]: Leaving directory '/home/ubtuntu/detectron/build'
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all' failed
make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all] Error 2
make[2]: Leaving directory '/home/ubtuntu/detectron/build'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ubtuntu/detectron/build'
Makefile:13: recipe for target 'ops' failed
make: *** [ops] Error 2
What I've Tried
In the error message, it says it can't find caffe2/core/context.h however the file exists in pytorch/caffe2/core/context.h. So I've tried exporting the caffe2 folder instead of the torch folder, but then the build fails earlier
- I've also tried setting it to pytorch/cmake and pytorch/build folders
I then tried creating a caffe2 link to pytorch/caffe2 inside of pytorch/torch, however that had no effect. I'm out of ideas :(

Error compiling honeyd in Debian

I am trying to install honeyd. the configuration was successfull but the $ make gives me these errors.
I have added /etc/ld.config.so to the /usr/local/lib, I have tried everything but the error still exists.
collect2: error: ld returned 1 exit status
Makefile:855: recipe for target 'honeyd' failed
make[2]: *** [honeyd] Error 1
make[2]: Leaving directory '/home/marion/Desktop/Tools/Honeyd-honeyd-1.6.7'
Makefile:1244: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/marion/Desktop/Tools/Honeyd-honeyd-1.6.7'
Makefile:700: recipe for target 'all' failed
make: *** [all] Error 2

qtwebkit 5.9.0 required unicode headers

/tmp/12/qtwebkit-opensource-src-5.9.0/Source/WTF/wtf/unicode/icu/UnicodeIcu.h:29:27: fatal error: unicode/uchar.h: No such file or directory
#include <unicode/uchar.h>
^
compilation terminated.
make[2]: *** [.obj/llint/LLIntOffsetsExtractor.o] Error 1
make[2]: Leaving directory `/tmp/12/qtwebkit-opensource-src-5.9.0/build/Source/JavaScriptCore'
make[1]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] Error 2
make[1]: Leaving directory `/tmp/12/qtwebkit-opensource-src-5.9.0/build/Source/JavaScriptCore'
make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
You need to install icu libraries, for detailed operation you can Check the url below:
https://forum.qt.io/topic/39332/i-try-compile-qtwebkit

Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

I am trying to install root-cern to and then install Geant4
I get this massage and I do not understand what is the problem and how to fix it. The message is:
CMake Error at /home/user/root/build-dir/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure-RelWithDebInfo.cmake:16 (message):
Command failed: Permission denied
'./configure' '--prefix' '/home/user/root/build-dir' '--libdir=/home/ola/root/build-dir/lib' '--with-ttf' '--with-afterbase=no' '--without-svg' '--disable-glx' '--with-builtin-ungif' '--with-jpeg' '--with-jpeg-includes=/usr/include' '--with-png' '--with-png-includes=/usr/include' '--with-tiff-includes=/usr/include/x86_64-linux-gnu' 'CC=/usr/bin/cc' 'CFLAGS='
See also
/home/user/root/build-dir/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure-*.log
CMakeFiles/AFTERIMAGE.dir/build.make:105: recipe for target 'AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure' failed
make[2]: *** [AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure] Error 1
CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/AFTERIMAGE.dir/all' failed
make[1]: *** [CMakeFiles/AFTERIMAGE.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2