Questions tagged [make]

make is a utility that automates the build process by managing dependencies amongst targets.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Make can't find command, but the command works in shell

I have make installed, I have the riscv32-unknown-linux-gnu toolchain installed. I have added riscv/bin to my path. I can successfully execute any of the toolchain commands in the shell. e.g. riscv32-...
1
vote
1answer
41 views

make mrproper vs make distclean in the Linux kernel

I understood the difference between make clean and make mrproper. make clean will only remove the generated files (.o/.ko) but not the configuration files and the files in include/generated, include/...
0
votes
0answers
14 views

compile nginx 1.16.1 with ngx_stream_log_module

I want to compile Nginx 1.161.1 that contain ngx_stream_log_module, so I do it: ./configure --sbin-path=/usr/local/nginx/nginx \ --conf-path=/usr/local/nginx/nginx.conf \ --pid-path=/usr/local/nginx/...
0
votes
0answers
22 views

“__count_memcg_events undefined” while make

Using Debian Bullseye (testing) on 5.2.0-3. Try to compile ncpfs-module. I try to compile a module which worked fine til 5.2.0-2. But if I try to "make" under 5.2.0-3 I got: make[1]: Entering ...
0
votes
2answers
62 views

Simple shell loop fail in Makefile

Why does the shell loop l='abc de f'; for k in $l ;{ echo $k; } inside Makefile not work ? instead only give abc de f at once How to solve such in the definitive way?
0
votes
0answers
11 views

bin and lib build order in Makefile.am

Project I am working on is using autotools. There are 3 targets - c->b->a (-> is "depends"). c is a binary, a, b are libraries. LIBA=liba.a LIBB=libb.a bin_PROGRAMS = c noinst_LIBRARIES = $(...
0
votes
1answer
25 views

Wildcard in Makefile doesn't do anything

I'm trying to compile a kernel module named DAHDI in a FreePBX (RHEL). I get the following make output error: You do not appear to have the sources for the 3.10.0-957.21.3.el7.x86_64 kernel installed....
-1
votes
1answer
24 views

Makefile not linking required dependency

The two target executables are made successfully at first: $ rm build/* bin/* $ make g++ -Wall -g -c -o build/Person.o src/Person.cpp g++ -Wall -g -c -o build/PersonTests.o test/PersonTests.cpp g++ -...
0
votes
0answers
24 views

Comparison in Makefile from shell variable

I am working on a makefile script to check the input is equal to a number check-number: $(eval API_STATUS := 201) ifeq ( $(API_STATUS) , 201) @echo "equal" else @echo "not equal" endif ...
0
votes
1answer
61 views

Log file says 'make oldconfig && make prepare' on kernel src to fix - where do I run this?

I've been trying for about a week now to install the Nvidia 304.137 driver for Linux Mint 19, as I'm using an old tower that is utilizing a GeForce 6150SE nForce 430 graphics chip. Here's where I'm at:...
0
votes
1answer
51 views

“C++ compiler cannot create executables” when trying to make

I'm running 32 bit CentOS 7. I'm trying to install tesseract from source. I have g++ version 4.8.5, and I had errors during compilation (looking like this) and I tried updating g++ from source. After ...
1
vote
1answer
29 views

How do I get Make to acknowledge two intermediate dependencies from one recipe?

I am converting .sup files to .ass files using the following recipes: %.idx %.sub: %.sup bdsup2subpp --language en -o $*.sub $< %.srt: %.sub vobsub2srt $* %.ass: %.srt ffmpeg -...
0
votes
1answer
51 views

uboot-menuconfig not available in make targets

I'm trying to setup a custom default environment for u-boot while building an embedded Linux system with Buildroot. I was able to achieve this in u-boot standalone, but I'm unable to reproduce the ...
-1
votes
1answer
55 views

Why am I not able to compile this package? [on hold]

I'm trying to create this package as per the instructions on the GitHub page https://github.com/cocodelabs/znc-palaver This is the error I get: [root@vps737775 znc-palaver]# make Building palaver.so ...
1
vote
2answers
42 views

How to find out which files get installed with make?

A lot of repositories on Github have an "automatic" installer like the one posted below. I always wonder how to find out which binaries will get installed but I can not figure it out from the script. ...
1
vote
1answer
27 views

Building packages: command which yields 'amd64' (like uname)

Suppose I have a makefile that builds my package, and I only want the package to build if the package file is not present: package: foo_0.0.0_amd64.deb cd foo-0.0.0 && debuild -uc -us So ...
0
votes
1answer
37 views

Make Error installing radare2 on alpine linux

I'm running an alpine linux box, and am trying to install radare2. I downloaded the git repo, then ran the install.sh script. It seems to run fine until running into an error: In file included from ...
1
vote
1answer
23 views

Homebrew throws error when running make to move binaries

I am trying to write a formula for homebrew to install a C++ tool I made. I have the following rule in my makefile to copy binaryFile file to /usr/local/bin: install: @install -m 0755 binaryFile ...
1
vote
0answers
57 views

Installing psiphon on Debian 10 gives make: *** [Makefile:129: authfd.o] Error 1

I am trying to install psiphon on Debian 10 based on instructions here https://github.com/thispc/psiphon then ./configure came across error configure: error: *** zlib.h missing - please install first ...
0
votes
0answers
72 views

Make error when building driver on fedora

I am trying to install a open source driver for my WiFi NIC that only has official support for Windows(this is the only linux driver I can find, and has very little support). It is found here. It ...
0
votes
0answers
60 views

Vapoursynth “make” problem

Since the PPA is offline I followed the steps in the official documentation of Vapoursynth. I installed all prerequisites and when I try to "make" the process fails at exprfilter.cpp. The log to see ...
0
votes
0answers
41 views

How to build from parent directory in current directory with make(“make” command)?

I have the source code of a package what I want to build, I need build from the parent dir, and output the builded contents in the current dir, for example with the directory structure: parent_dir --...
1
vote
0answers
23 views

Installing nvm using Makefile

I've set up a Makefile like the following: NVM := $(shell command -v nvm 2> /dev/null) setup: ifndef NVM @echo "Installing NVM" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0....
0
votes
1answer
41 views

How to uninstall ghdl installed from source?

I installed ghdl version 0.36 from source. Output of make -n install ➜ ghdl-0.36 make -n install mkdir -p /usr/local mkdir -p /usr/local/bin mkdir -p /usr/local/lib mkdir -p /usr/local/lib/ghdl ...
0
votes
0answers
8 views

make[3]: *** [MP_constant.lo] Error 1

please please help me I am trying to install coin-or. I am in step of configuration : from this guide : https://ma.juii.net/blog/install-coin-or when I type : sudo make -j 2 I get this errors:...
1
vote
1answer
37 views

Pipe inputs from more than 1 process

I am trying to automate some make commands. Along with the target we have a variable that is passed to make (corresponding to set of a #ifdef's in code). The make command looks like this: make <...
0
votes
0answers
32 views

Python/strdup.c:6: error: expected identifier or ‘(’ before ‘__extension__’

I am trying to manually install Python 3.6.8 on RHEL 6.6 servers as I do not have root access. The configure didn't give any errors but the "make" gives the following: Python/strdup.c:6: error: ...
1
vote
1answer
99 views

Installation without makefiile - error: No targets specified and no makefile found

I am trying to install the following piece of software: https://github.com/linron84/JST I cloned the repo to my computer, changed into the directory and tried to execute 'make' to install the ...
0
votes
1answer
223 views

GCC cross-compiler can't find header file

A host PC with a pre-built cross toolchain for ARM target. I try to build a project from source, the build process stopped due to an error, when code tried to build pppd-2.4.1 module, here is ...
1
vote
1answer
79 views

How to set CPU_FLAGS_X86 during Gentoo Stage 3 Install From Minimal without cpuid2cpuflags

I'm attempting my first Gentoo install, I'm relatively well versed in Linux but haven't done a ground up install before like this. I'm installing from Minimal and trying to set my CPU_FLAGS_X86 and ...
1
vote
1answer
50 views

apt-get install imagemagick - doesn't work with previous make install

I have previous installed imagemagick from source via make install on my Debian. Now I want to install via apt-get install imagemagick but it doesn't work Have tried to delete all binary files rm \ ...
3
votes
3answers
149 views

What is “sed -i 's,-m64,,g'” doing to this Makefile?

What is the meaning of sed command sed -i 's,-m64,,g' Makefile? Does it simply remove -m64 argument from Makefile? Is it the same with sed -i 's/-m64//g' Makefile, just use / delimiter in place of ...
0
votes
1answer
24 views

Makefile run bibtex command only when tex file has bibliography

I want to have a folder full of any number of .tex files where I will have a single Makefile, which will generate a .pdf file for each .tex file when make is run. The constraint I have is that some, ...
1
vote
3answers
50 views

How to compile fIcy for BSD?

I'm trying to compile fIcy (https://gitlab.com/wavexx/fIcy) for NetBSD/FreeBSD. When I'm executing the make command nothing happens. Even no error message. The same source package compiles without ...
1
vote
0answers
24 views

passing arguments to c++.bin

I am having the following issue when making HSAIL: [ 3%] Built target libhsail-includes [ 6%] Building CXX object libHSAIL/CMakeFiles/hsail.dir/HSAILScannerRules.cpp.o In file included from /home/...
0
votes
1answer
32 views

Ubuntu: execute a terminal output inside Makefile

I have a command that spits as an output another command. I'd like to run this output in a makefile script. The simpler command I could reproduce is awsecrpush: VAR=$$( sudo echo "ls -lah" ) | ...
1
vote
1answer
192 views

How to make devtoolset g++ available for Makefile in docker's centos7?

I am building a docker image from a basement image which installed the CentOS 7. The code that need to be compiled need some features in C++14/17 standard, thus i have to update the default gcc/g++ ...
1
vote
1answer
68 views

Makefile commands with external args and internal variables

In a Makefile target I have a list of files that I want to split into x parts and work only with one part y, then pass those file names as argument to a test runner. I have no control over the ...
0
votes
0answers
25 views

changing one compilation of make

Is it possible to change some specific compilation made when executing Make, say by appending some new option for the compiller used for one target? One thing I want to do is to modify options because ...
0
votes
0answers
15 views

Where to install .cls/.sty files?

I am writing the makefile for a program I have written which produces latex output, however, it requires a custom .cls file. Is it best practice to let the user put this file in the correct directory ...
0
votes
1answer
497 views

/lib/ld-linux-armhf.so.3: No such file or directory

I encountered some problems when compiling gutenprint-5.2.9.tar.bz2: ./extract-strings `cat xml-stamp | sed -e 's;^;./;'` > xmli18n-tmp.h.tmp /lib/ld-linux-armhf.so.3: No such file or directory ...
1
vote
1answer
91 views

Errors when trying to build openssl-1.0.2l

Debian 32-bit host PC, with a pre-built toolchain for ARM target in /opt dir. I tried to cross-compile project from the source code, got a lot of errors when system tried to build openssl package: &...
2
votes
0answers
34 views

How to chain multiple automatic responses to make for Linux build?

Currently I have a script capable of selecting the cpu subarchitecture for a Linux build, but selecting native leads to an infinite loop for selecting P6_NOPS Intel cpus. I there anyway to send the ...
1
vote
1answer
195 views

Make error: DSO missing from command line

I am attempting to install rejoystick, and when I run make, I get this: Making all in src make[1]: Entering directory '/home/chrx/Downloads/joystick/rejoystick-0.8.1/src' make[2]: Entering directory '...
0
votes
0answers
29 views

Enable DEVPTS_FS option in Linux kernel 2.6.26.5

Board with embedded Linux kernel version 2.6.26.5, for ARM target. Busybox 1.10.2. How to enable DEVPTS virtual filesystem support in kernel? I tried to find item CONFIG_DEVPTS_FS in config files, but ...
3
votes
1answer
54 views

Tool/script that can expand all 'include' directives in a makefile

Let us say we have the following Makefile include config.mk # Generate summary table. results.txt : $(ZIPF_SRC) isles.dat abyss.dat last.dat $(ZIPF_EXE) *.dat > $@ # Count words. .PHONY : ...
0
votes
0answers
46 views

What cause path error occurs during code compiling

Debian 32-bit host PC, with a pre-built toolchain in /opt dir, the target is ARM. I'm trying to build project (f/w image) from source code,there is error during code compilation. The project have ...
0
votes
0answers
398 views

Makes errors in native build Qt installtion

I have trying to build QT5 5.12.3 on Raspberry Pi zero via these site instructions: wget http://download.qt.io/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.tar.xz tar xf qt-...
0
votes
1answer
58 views

Did the installation fail? (make[2]: Nothing to be done for 'install'.)

I have tried to install Qt Cross compilation for Raspberry zero with my LMDE Linux OS (Lenovo Laptop) based on these instructions, using this script I wrote: #!/bin/bash ./configure -release -...
0
votes
0answers
24 views

Issue trying to compile libXres

I recently tried to build libXres from the source and I am encountering issues when trying to build from two different manners. In the first I run the configure script with: ./configure --prefix=/...