Questions tagged [make]

An utility that automates build processes, used mainly to build software on Unix-like systems.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Invoking make.exe fails while just make compiles perfectly

So I am trying to configure make with vscode and vscode calls make s "make.exe". When I make run from the terminal its all good, but when I make.exe run clang-8: error: linker command failed ...
user avatar
0 votes
0 answers
8 views

Is it possible to compile & install perl from source without the configuration script prepending a version to the final produced binary names?

Okay, so I'm trying to compile & install Perl from source. One issue though, when I run make install to finally install it the binary directory it outputs looks something like this: perl5.35.12 ...
user avatar
  • 1
0 votes
1 answer
37 views

Stuck on "checking the maximum length of command line arguments..." when running make on MSYS2

I am working with an autotools project. It works on the CI however, when I run it on my work PC it freezes when running make checking for af77... no checking for xlf90... no checking for f90... no ...
user avatar
  • 101
1 vote
1 answer
102 views

RHEL 8: openssh-server build from src tarball and distribute the executable?

I have a task to build and deploy openssh-server 8.6 on a number of RHEL8 systems running openssh-server 8.0 (this is due to a security compliance finding). Unfortunately there does not appear to be ...
user avatar
1 vote
1 answer
130 views

Add all firmware to CONFIG_EXTRA_FIRMWARE?

How can I add all the firmware present in /lib/firmware in the CONFIG_EXTRA_FIRMWARE parameter of the kernel .config? I've already tried but when compiling the kernel it returns an error: /bin/sh ...
user avatar
  • 11
0 votes
0 answers
8 views

In gmake, how to reuse the results of a function without calling it again?

Consider the below GNUmakefile: V= $(shell set -x; date) all: @echo 1 $V @echo 2 $V @echo 3 $V If you run it, the shell-macro can be seen invoked three times -- invoking three separate ...
user avatar
0 votes
2 answers
78 views

gnupg 2.3.2 make error /home/ryan/Downloads/gnupg-2.3.2/common/sysutils.c:1263: undefined reference to `gpgrt_access'

Trying to install the latest gnupg from source on Ubuntu 20. My first ./configure found a few missing dependencies. I filled some of these through the package manager, others I installed from source. ...
user avatar
0 votes
0 answers
110 views

Object files missing when compiling android kernel with clang and Kali Nethunter patches

I'm compiling my BQ Aquaris X kernel (BARDOCK), with the Kali Nethunter patches, to get all the nethunter capabilities available. NOTE: I'm compiling with clang, because gcc seems to be deprecated. ...
user avatar
  • 1
0 votes
1 answer
118 views

How to enable library in ffmpeg without build ffmpeg from source (linux)?

I have the xubuntu 18.04. I installed ffmpeg from ubuntu repository and built libaom. So, how to enable libaom in ffmpeg without reinstall ffmpeg from source (ffmpeg compilation guide or ffmpeg ...
user avatar
  • 3
1 vote
0 answers
38 views

windows 10 make progress failed

I have installed a package from https://github.com/tensorflow/tensorflow and I am trying to build a target using make, so I run this command : make -f tensorflow/lite/micro/tools/make/Makefile ...
user avatar
0 votes
0 answers
274 views

location of kernel source code directory in centos 7

I wanted to enable a specific feature in centos 7 kernel. What is the exact location of kernel directory in centos 7.4, so that I can lauch this command successfully inside the kernel source code ...
user avatar
0 votes
1 answer
42 views

How can I get passed this zipHMMlib build error on Ubuntu?

I've installed the latest Ubuntu Server on an Oracle VirtualBox 64-bit machine instance, with host machine Windows 10 and 64-bit OS. I installed a "slim" desktop environment using a random ...
user avatar
0 votes
1 answer
180 views

"Unknown option "PATH=[...]"" when following the official ffmpeg compilation guide

I wanted to compile ffmpeg myself in order to get a smaller executable I can then dristribute with my program. While following the official ffmpeg compilation guide for Ubuntu I get an error when it ...
user avatar
1 vote
1 answer
89 views

imitate "make -j" from within the Makefile

The shell command make -j runs a Makefile's commands in parallel, which is useful on modern multicore CPUs. Can such parallelism be invoked from within a Makefile? From the manual for Gnu make, my ...
user avatar
0 votes
1 answer
65 views

tesseract - build and install (`configure`, `make`, `make install`...) tesseract version 3 (tesseract-ocr-3.XX.XX)

PROBLEM: I am trying build and install (configure, make, make install...) tesseract version 3 (tesseract-ocr-3.02.02) on Ubuntu Server 20.04 LTS and the following error is occurring... Build and ...
user avatar
1 vote
2 answers
2k views

python3.2 - ERROR:root:code for hash md5 was not found

We have a legacy application and it needs Python version 3.2 to work. For this reason we compile and install Python version 3.2. We were able to successfully compile and install version 3.2 Python on ...
user avatar
0 votes
1 answer
117 views

Make on Windows seems to fail creating or running temporary shells

I'm trying to build a project, bootloader for AVR devices provided by LUFA, that uses GNU Make (make), but I am on Windows. While Windows, in and of itself, isn't necessarily the problem, it's clearly ...
user avatar
0 votes
1 answer
34 views

Creating Subfolders within Named Folders

Kevin Fegan posted the following code to make "x" amount of folders with leading zeros, which works great: @echo off for /L %%f in (9,1,120) do call :work 000%%f goto :EOF :work set "dx=...
user avatar
1 vote
0 answers
44 views

final link failed ssh

make task_1 gcc -std=c11 -Wall -Werror task_1.c -lsuperkarel -lcurses -o task_1 /usr/bin/ld: final link failed: Disk quota exceeded collect2: error: ld returned 1 exit status make: *** [Makefile:9: ...
user avatar
0 votes
0 answers
35 views

I am creating a cygwin silent install, howeer, the "make" package will not install

I am creating a cygwin silent install, howeer, the "make" package will not install. I only need the following: "%CD%\setup-x86.exe" ^ --no-shortcuts ^ --no-desktop ^ --quiet-mode ...
user avatar
  • 1
0 votes
0 answers
51 views

Prevent Windows Explorer from "owning" a directory while viewing it?

I am running some GNU make makefiles via Cygwin, and one of the targets tries to rename a directory: clear_dirs: @echo "Creating clean local test directories..." @if [ -d $(...
user avatar
  • 675
0 votes
0 answers
211 views

GnuMake SHELL under windows

I am trying to make a simple makefile (GNU Make 3.81) work under windows, using cygwin installed with the git-for-windows "distro". Everything seems to work, but the SHELL. It always shows &...
user avatar
  • 4,384
2 votes
1 answer
822 views

Escaping forward slash / in windows envrironment variable

In a makefile, I want to use an environment variable ${PROJECT_SOURCE} with value /c/foo. But when I set my Windows 10 environment variable through control panel to /c/foo, the result is C:\foo when I ...
user avatar
0 votes
0 answers
181 views

Reset Bash terminal output to console after directing output to file

I have a script with output I want to capture. make some_args 2>../error-compile I believe the error capture is working fine. Problem is that it is an hours long compile with an install so I have ...
user avatar
0 votes
0 answers
13 views

Getting warning about non-portability when trying to install GNU GO on Ubuntu

I'm trying to install GNU GO on Ubuntu OS, but it is not working. https://www.gnu.org/software/gnugo/download.html I've downloaded the tar.gz source code, then: unzipped using the gzip followed by ...
user avatar
0 votes
1 answer
561 views

issue with siteminder agent configuration with httpd compiled version on RHEL

I have built httpd using source code on RHEL 7.6. I have installed and configured siteminder on the server. I am getting following error when I start my httpd httpd: Syntax error on line 3 of /etc/...
user avatar
  • 125
0 votes
1 answer
276 views

Error when trying to compile in Linux

I'm trying to compile tsschecker from GitHub and am having an issue. I went through and installed all the dependencies then managed to run the autogen.sh script without issue. I'm now trying to run ...
user avatar
  • 51
0 votes
0 answers
402 views

How can I update an existing ruby installation to support additional OSs?

I have an existing ruby 2.5.1 installation that was created sometime back by compiling from source. The installation is in afs and is accessed by several operating systems (linux-RH6 on x86 and aix ...
user avatar
  • 101
0 votes
0 answers
620 views

how to install python 3.6.9 on centos when it is on a workspace?

I am trying to install python 3.6.9 on centos. Here is what I do: 1. tar -xvf Python-3.6.9.tar 2. cd Python-3.6.9 3. ./configure --prefix=/usr/local/python3.6 --enable-optimizations 4. make 5. make ...
user avatar
  • 113
0 votes
0 answers
1k views

'CMake test failed with errors' in CLion

Every time I try to build a project in CLion, regardless the toolchain, this error appears: -- The C compiler identification is GNU 8.1.0 -- The CXX compiler identification is GNU 8.1.0 -- Check ...
user avatar
  • 189
2 votes
1 answer
310 views

/usr/bin/ld: cannot find -lcaffe

I installed Caffe-cpu on my Ubuntu 18.04 via the apt-get command, as it instructs on their official website: sudo apt install caffe-cpu But when trying to run a sample from a git repo, it needs the ...
user avatar
  • 489
0 votes
1 answer
51 views

How to pass a pipe command to terminal -e?

I want to create a shortcut which shows in a new terminal the output of my command and simultaneously writes it into a log file. I use terminal -e (or urxvt -e) to run the follwing command: terminal -...
user avatar
0 votes
1 answer
254 views

errors when building gcc-9.1.0 under cygwin

I received this error: >/usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c: In function ‘coff_add’: /usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c:656:37: error: pointer of type ‘void *’ used ...
user avatar
1 vote
1 answer
45 views

Clean software build directory after installing, on Linux

Some Linux software needs to download, build (compile and link), and install for use. The typical procedure is configure make (sudo) make install For example, QEMU 4.0.0, which seems not available ...
user avatar
3 votes
1 answer
1k views

Cannot use `time` keyword in Makefile rule action

I have a simple Makefile: run : time echo foo Here's the output when I use it: $ make run time echo foo make: time: Command not found make: *** [Makefile:2: run] Error 127 Why doesn't it work?...
user avatar
  • 298
0 votes
2 answers
55 views

Avoid recompiling with make after running configure

I have a program (ffmpeg) that I am trying to install. This is what I'm currently doing: Run ./configure with the desired options. Wait a minute or so. Run make. Wait 20-25 minutes. Get an error ...
user avatar
0 votes
0 answers
144 views

When I install Perl 5.30.0 from source, perl -v still displays 5.26.2 is being used

I'm using Linux, and wanted to install the latest version of Perl, as according to the perl -v command, I had version 5.26.2, and the latest (stable) release is 5.30.0. But when I compiled the source,...
user avatar
14 votes
3 answers
6k views

Compiling C files on Ubuntu and using the executable on Windows

For some odd reason, make kept giving me tabulation errors when compiling on Windows, so I tried it on Ubuntu and it worked just fine. Now I would like to use the executable I got from compiling on ...
user avatar
  • 261
4 votes
1 answer
174 views

Why does make ignore escape sequence if the output is piped

In a Makefile, I want to print a byte represented as a hexadecimal number and pass it to STDIN of another program. For some reason, it doesn't work: without-pipe: @printf '\x66\x6f\x6f' with-...
user avatar
0 votes
2 answers
53 views

How do I find the installation director of 'make' in windows 10?

How do I find the installation director of 'make' in windows 10? I have it on the command line, by typing make so I know it is definitely installed. I can't find it installed in apps in windows 10 ...
user avatar
  • 167
0 votes
0 answers
703 views

Windows 10 make CreateProcess failed

I am trying to install a package from here https://github.com/epfml/sent2vec, which requires me to clone and run make. But I got into this error: PS E:\SAFETY\SSE\sent2vec> make c++ -pthread -std=...
user avatar
3 votes
1 answer
345 views

Having trouble building gcc (libiberty obstack.c won't compile)

I'm running openSUSE 11.4, which is kinda old, so I'm trying to build some updated dependencies for another thing I want to build. I've downloaded the source for gcc-6.4.0 (also tried the latest - ...
user avatar
  • 187
2 votes
1 answer
221 views

wrong dependency_libs in .la file after make install with DESTDIR flag

I am maintaining a locally-compiled version of gpg. The end result is supposed to be a standalone suite of packages living in /opt/local (with the standard tree under that base directory: usr/bin for ...
user avatar
  • 121
1 vote
0 answers
3k views

windows cmd /c enters interactive mode

A friend of mine has a Windows 10 system that shows the following behavior: When GNU make is used to run a command using "cmd /c" and the command string contains a wildcard character, then the ...
user avatar
0 votes
1 answer
2k views

Cmake on ARM (arm-none-eabi) - configuration

I use cmake to compile my project for arm cortex m3 (arm-none-eabi-). I would like to add the following options: 1.) the linker should generate a .map file of the binary. 2.) make (Unix Makefiles) ...
user avatar
1 vote
1 answer
3k views

An issue with ncview (netCDF visual browser) on cygwin - windows 10

I have an issue with ncview on cygwin. Can anyone help? I have installed cygwin on windows 10 and followed the instructions on Ncview under Windows. my output from ./configure and make install are ...
user avatar
0 votes
1 answer
72 views

Win 7 Professional

Machine crashed during power outage and failed to boot afterwards. After running EasyRE and Dell Restore and Recovery, system became bootable and appeared completely intact. Attempting to image disk ...
user avatar
  • 1
0 votes
0 answers
463 views

How do I get GCC and Make to exclusively use RAM only?

I'm compiling a C++ project using GCC and Make. I use a ramdisk for this because it builds faster that way and to reduce the amount of writes to my SSD. I've noticed that, despite moving the project ...
user avatar
  • 11
1 vote
0 answers
182 views

Installing FreeRDP and hit to error: field ‘des3_ctx’ has incomplete type

I was trying to install FreeRDP server using the link : https://github.com/FreeRDP/Remmina/wiki/Compile-on-Ubuntu-16.04 I hit to the below error during make && sudo make install [ 25%] ...
user avatar
  • 111
0 votes
1 answer
37 views

Is this make behavior expected?

My folder structure looks like this: . ├── app.c ├── inc │   ├── butil.h │   └── libs │   ├── flagutil.h │   ├── libflagutil.c │   └── libflagutil.o └── Makefile My Makefile looks like ...
user avatar
  • 115

1
2 3 4 5 6