I am trying to install Lemur-4.12 on Linux, but when running make I get:
../../MakeMod:48: recipe for target 'ResultFile.o' failed
make[1]: *** [ResultFile.o] Error 1
make[1]: Leaving directory '/data1/myuser/lemur-4.12/retrieval/obj'
Makefile:28: recipe for target 'retrieval' failed
Is this a common issue? What could it be caused by, and how can I fix it?
The lemur-4.12 code is very old. The files have time stamps 2005 and 2008.
The reliable g++ version 3.4.6 ( compat-gcc-34-c++) from Fedora / RHEL 6 / CentOS 6 can do the job. My example : OS = PCLinuxOS 2016 , compiler = gcc34-c++-3.4.6-20.SL7.x86_64
cd lemur-4.12/
export CXX=g++34 && ./configure
make
Install result : bin/{ 29 executable´s } , lib/liblemur.a , include//[headers].hpp
Note : The Fedora g++34/gcc34 packages have been rebuilt, and are available for CentOS 7, Debian, Ubuntu.
Related
I was trying to install rtl8712de wifi drivers in my Debian 10 PC.
I tried the following code:
sudo apt update
git clone https://github.com/smlinux/rtl8723de.git
cd rtl8723de
make
After I ran the make command, I got the following error:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules//build M=/home/dantu/Downloads/rtl8723de modules
make[1]: *** /lib/modules//build: No such file or directory. Stop.
make: *** [Makefile:1886: modules] Error 2
I tried so many steps online. I installed gcc build tools, updated all my packages, tried other repositories for the wifi drivers. But nothing seems to help.
It might solve the problem to change all occurrences of /lib/modules//build inside the Makefile with /lib/modules/build or /lib/modules/your_kernel_version/build. //build seem like a typo.
I'm building a Linux kernel on Fedora 28, but always run into the same error such as:
CC init/main.o
init/main.o: warning: objtool: elf_begin: invalid command
make[1]: *** [scripts/Makefile.build:277: init/main.o] Error 1
make[1]: *** Deleting file 'init/main.o'
make: *** [Makefile:1067: init] Error 2
make: *** Waiting for unfinished jobs....
I tried "linux-5.0.16.tar.gz" and "linux-5.0.21.tar.gz" downloaded from kernel.org
, and also tried to follow the instruction on Fedora wiki
But there is no way to avoid this 'invalid command' error. "elfutils-libelf-devel" and "elfutils-libelf" are installed. In the fedora way, 'fedpkg cone -a kernel' was successful, so all dependences are installed. Does anyone know what is missing?
Further progress:
The same procedure works on a different machine installed with Fedora 30.
However, after upgrading the original machine to Fedora 30, the error persists.
The machine with the 'invalid command' problem had an old version of libelf.so installed under /user/local. After removing the old libelf, objtool is linked to the current libelf library, and is able to run during compilation of the linux kernel.
A comment is found in the linux source code /tools/perf/util/symbols.h:
/*
* libelf 0.8.x and earlier do not support ELF_C_READ_MMAP;
* for newer versions we can use mmap to reduce memory usage:
*/
This comment led me to look for an out-dated version of libelf.
I have 64 bit Ubuntu 14.04. I tried to install the 64 bit GHC 7.8.2 binaries downloaded from haskell.org (the debian build). I get the following error message on make install:
Warning: cannot determine version of
/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc :
""
Warning: cannot determine version of
/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc-pkg :
""
ghc-cabal: ghcInvocation: the programVersion must not be Nothing
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2
Note that I set my install directory to a custom one, but I get the same error when I leave it on default. Any remedies?
I am trying to build a cocos2d sample app for android on linux and i get the following error:
stefanos#stefanos-MS-7250:~/cocos2d-1.0.1-x-0.11.0/Test1/android$ ./build_native.sh
make: Entering directory `/home/stefanos/cocos2d-1.0.1-x-0.11.0/Test1/android'
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Compile++ thumb : cocos2d <= CCConfiguration.cpp
arm-linux-androideabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
make: *** [obj/local/armeabi/objs-debug/cocos2d/CCConfiguration.o] Error 1
make: Leaving directory `/home/stefanos/cocos2d-1.0.1-x-0.11.0/Test1/android'
stefanos#stefanos-MS-7250:~/cocos2d-1.0.1-x-0.11.0/Test1/android$
I am running Ubuntu and i have gcc , g++ installed
SOLVED:
It build's fine with the r6 version of the ndk
Download it here :http://dl.google.com/android/ndk/android-ndk-r6-linux-x86.tar.bz2
Try to update cocos2d-x version 2.0, it has been release today, and use NDK 8. You must be out of date.
Using last version is better, 1.0 has a lot of bugs in Android. One of them with memory manager, it is very bad to release a game in Store.
I install cygwin 1.7.10 on windows 7.
I want to install gearmand-0.28,when during the make,it can't find spawn.h.
The error is:
./libtest/cmdline.h:24:19: fatal error: spawn.h: No such file or directory
compilation terminated.
Makefile:4157: recipe for target `libtest/libtest_libtest_la-binaries.lo' failed
make[1]: *** [libtest/libtest_libtest_la-binaries.lo] Error 1
make[1]: 离开目录“/home/power/gearmand-0.28”
Makefile:2072: recipe for target `all' failed
make: *** [all] Error 2
Which package I need install?
Looks like it's an issue with some versions of gearman with Cygwin. I finally managed to install gearmand, but an old version: 0.14. (see https://launchpad.net/gearmand/+download )
My environment: Cygwin 1.7.13-1, Windows 7 64-bit.
Don't forget to install boost, gcc, make, libuuid1-devel and libiconv. You can download & install them with Cygwin (setup.exe)