Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [make]

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

0
votes
0answers
21 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 ...
1
vote
0answers
32 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%] ...
-1
votes
0answers
49 views

gcc: error: unrecognized command line option ‘-mgeneral-regs-only’

I am trying to run make modules_prepare on my kernel source, but I constantly get the error gcc: error: unrecognized command line option ‘-mgeneral-regs-only’ Kbuild:21: recipe for target 'kernel/...
0
votes
1answer
33 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 ...
0
votes
1answer
111 views

Make return that directory is not recognized as an internal or external command on windows

I have project that use make that usually run on GNU/Linux and now I've try to run it on windows and got error (from git bash): '.' is not recognized as an internal or external command, I've removed ...
1
vote
0answers
462 views

Proper solution to “No such file stdarg.h” error

When I try to compile an rtl8723au wifi driver for my laptop but I keep on getting the following error: ./include/linux/kernel.h:6:10: fatal error: stdarg.h: No such file or directory My current ...
0
votes
1answer
138 views

Failed to compile with make command

I'm working on cygwin. Most Unix commands work just fine. Also I can compile with g++ and gcc, but I get the error below when I execute make: /cygdrive/b/tpm/src $ make -f makefile.mak "c:/program ...
0
votes
0answers
561 views

error: OpenSSL library not found. When I do have openssl installed and libssl.so located in /usr/local/lib

I'm trying to compile ncrack on a ubuntu 16.04 to get all dependencies I installed opensll 1.1.0h from source, I keep getting this error when I run ./configure of ncrack checking OpenSSL header ...
1
vote
0answers
135 views

How to Build gtk3 [static] using msys2?

I am trying to build gtk+-3.22.30, because i cant find it [static link library] anywhere. i downloaded msys2 32bit, install mingw32 (gcc 7.3.0) added it to environment variables in windows. pkg-config ...
1
vote
0answers
28 views

Can I create aliases with make?

Is it possible for make to create aliases? Here's what I tried: Makefile aliases: alias hello='echo world' alias holy='echo cow' It doesn't work as-is, presumably because the alias command ...
1
vote
2answers
168 views

Linux From Scratch [closed]

I am currently doing Linux From Scratch.I downloaded some packages.I unzip them using the "tar" command and do the following inside that extracted package: configure make make test make install One ...
3
votes
0answers
880 views

Can't compile PHP 7.2.2 with OpenSSL 1.1.0g

So i'll get to the point. I want to compile PHP 7.2.2 on my Raspberry Pi (v1) with OpenSSL support. I have OpenSSL 1.1.0g installed with i compiled. Output from uname -a: Linux 4.4.50+ #1 Tue Mar 7 ...
0
votes
0answers
140 views

Errors when trying to compile checkinstall from source on Cygwin

I'm running Cygwin on top of Windows 7. I'm having trouble trying to install the checkinstall utility from source, and the culprit appears to be gcc. When I run /.configure, I get the error: -bash: ....
2
votes
1answer
124 views

How to install macOS software from source to mitigate Spectre 2?

I attended a presentation on Spectre and Meltdown by a UCL professor. He suggested several ways to mitigate Spectre 2 (Branch Target Injection) by upgrading to High Sierra and installing all software ...
0
votes
0answers
66 views

Performance issues with GNU Make and PowerShell

I have been using GNU Make on Windows for quite some time on Windows 8 and newer. Now I (was) switched to Windows 7 and I suddenly I notice severe performance issues. The system seems to idle very ...
2
votes
1answer
50 views

Use variable inside of command in Makefile

Let's say the LINK variable contains the following: 1a2b3c. I'd like to display Full path: /home/build/1a2b3c. PWD is currently at /home; I can't get the following to work: @echo "Full path: $(...
0
votes
1answer
486 views

make install error when compiling a program with cuda

I am trying to compile THIS program for my ubuntu system using the master source. I have installed the AMDGPU-PRO drivers and the AMD 3.0 SDK drivers via the basic install instructions on AMDs website....
0
votes
0answers
48 views

How to make/compile `.so` by msys2?

I want to compile this https://github.com/thunlp/THULAC.so on windows. Copy its Makefile dst_dir=. src_dir=src cxx=g++ -O3 -I $(src_dir) cxxd=g++ -g -I $(src_dir) # all: dst $(dst_dir)/thulac $(...
0
votes
1answer
163 views

Debian Jessie 8.9 Compiling Error for Cryptocoin Wallets “error: ‘::SSLv3_server_method’ has not been declared”

OS: Debian 8.9 Wallet: mooncoin-0.10.5-tokenblock All dependencies installed: libssl, libdb4.8, libboost, miniupnpc, qt4, protobuf, libqrencode Installation instructions: /mooncoin-0.10.5-...
0
votes
1answer
210 views

make not recognizing opam installed ocamlfind

I'm trying to run make involving a dependency on ocamlfind but when I try to install that, it gives me a circular dependency and a dependency on ocaml-base-nox. I figured out that I could get ocaml-...
0
votes
1answer
181 views

Can Apple's Xcode IDE be used with a make build-system? If so, how?

I'm working on a large coding project and I'd like to try using Apple's Xcode IDE. Building the project depends on a fairly intricate system of makefiles (using mkcmake), and changing build systems is ...
0
votes
1answer
38 views

How to change make builtin rules

I would like to know if there is a way to change the rules applied automatically by make when there is no makefile. To give an example, if you write make foo in a directory containing a file called ...
0
votes
2answers
26 views

All files read-only after compiling OpenFlipper, subsequently unable to boot into Linux at all

I tried compiling OpenFlipper on Linux Mint with make -j8, however this failed (unable to write a file) and left me with an operating system where I wasn't able to save ANY files (text, screenshots, .....
0
votes
1answer
1k views

Does 'make' take advantage of multiple cores/threads? (linux)

We are considering a new workstation (will be running Fedora 25/26), and would like to know what a good CPU would be. To start off, I need to know how many cores I need. To help decide that, I want to ...
0
votes
0answers
1k views

Getting the error “/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found” and other errors when I type gmake in Qt directory

I installed the offline installer "Qt 5.8.0 for Linux 64-bit (766 MB)" and also the tar.gz file for Linux and mac users from the following link: https://www.qt.io/download-open-source/ The tar.gz ...
0
votes
1answer
179 views

Unable to use make when building fbida (fbi) from source

I am trying to install fbida (Fbi), framebuffer image viewer, on Ubuntu 16.04. I am trying to build from source fbida v2.13 (www.kraxel.org/releases/fbida/) since when I do install using sudo apt-get ...
0
votes
2answers
23 views

Why Make keeps creating directory over and over?

i have a makefile that creates some docs from my source: /home/share/htdocs: #installs apache and make sure we have /htdocs... /home/share/htdocs/doxjs: /home/share/htdocs mkdir -p $@ chgrp ...
0
votes
1answer
64 views

Installing sleuthkit on macOS sierra newest version fails

So I have a completely fresh install of macOS sierra updated to the newest version. When I run ./configure everything checks out and when I run make it returns this: Making all in tsk /Applications/...
3
votes
1answer
794 views

Segmentation Fault when building GCC

I'm trying to compile gcc. I downloaded the latest version from the GCC website (version 6.3.0), but I'm having some trouble building gcc. I am passing the following options to the configure script: ...
1
vote
0answers
332 views

How to update a program that was manually compiled from source?

What is the best way to install an update I have manually compiled from source to a program I also previously manually compiled from source? Should I execute sudo make uninstall first and then ...
0
votes
1answer
177 views

keynav - Fedora (25) installation

I have recently had difficulty installing "keynav" (a utility for keyboard control of mouse pointer). The first problem: keynav.c:29:17: fatal error: xdo.h: No such file or directory #include <...
0
votes
1answer
167 views

Make doesn't find cmp even though it exists

Trying to run make in cygwin, I get the following error message: $ make clean Error: cmp command not found, please install diffutils ../../../../Makefile:489: recipe for target 'clean' failed make: **...
0
votes
2answers
841 views

ssh Keyboard Authentication: when to enter Google Authenticator code

These questions seem related: Duo Authentication Interactive Keyboard (No answer.) https://serverfault.com/questions/417209/enabled-password-auth-on-sshd-now-keyboard-interactive-auth-hangs (Bug. My ...
0
votes
1answer
679 views

Makefile fails when CygWin in Path

I'm trying to figure out why a simple Windows command in makefile fails only when the CygWin binary folder is included in the PATH variable. To take most variables out of the equation I'm using the ...
0
votes
1answer
606 views

.Cygwin [windows 7 64 bit] hangs while doing installation

As I am using cygwin and was trying to install make packages...So it couldn't succeed and then I decided to reinstall cygwin but now I have another issue that I can not even a install cygwin with base ...
0
votes
1answer
1k views

Linux kernel make keeps overwriting my .config /dropping changes

I’m trying to build a custom ARM kernel on a BeagleBone black wireless. I’m using this kernel as a start I copied the current .config file (make localmodconfig) and edited it manually to add support ...
6
votes
1answer
3k views

How to escape “$@” in a makefile?

test: @echo "#!/bin/bash\njava -classpath \"$(CLASSPATH)\" com.atm.ATM \"$@\"" > test @chmod a+x test I am trying to escape the "$@" so that it literally appears in the "test" script as "$@...
2
votes
1answer
635 views

make: mk-build-deps: commande not found

I followed the following tutorial to build sage on debian. When I run "debian/rules build-dep reset" inside the sage directory that I cloned from git, I get the following output: mk-build-deps make: ...
0
votes
1answer
449 views

Running scripted commands within a makefile (Linux make)

I have battled with this for the most of last night. I want to rename all the files xxxx-yyyy to xxxx:yyyy in a folder from a makefile. I have a renamefiles.sh which does the job fine: #!/bin/sh ...
1
vote
1answer
3k views

Make install into a temporary directory?

I wish to do the following: Make from an open source project to compile/link into libraries etc. However, I don't want to actually run this locally. I want to package it up into an rpm so that it ...
2
votes
2answers
464 views

How to provide a suffix to Vim 8 when building on Linux

I'm trying to build Vim 8.0 on Ubuntu 16.04.1 LTS. configure and make run without any errors, however it does ignore the parameter --program-suffix: [local vim repo]/configure --program-suffix=8 --...
0
votes
0answers
79 views

No Wifi on Ubuntu 14 Partition with Killer Wireless Network Card

Preamble: I have a Dell Windows laptop with a Killer Wireless card. I made a partition and installed Ubuntu because I am used to Unix-style development environments (Windows is for light browsing, ...
0
votes
1answer
703 views

fatal error: 'mysql/mysql.h' not found (but added in path)

I use MAC OS X El capitan 10.11.5 I am trying to understand and execute some code on c++ (it is a lot of files and i am new to c++ a), but when i type "make" to compile everything, it returns the ...
-1
votes
1answer
240 views

Upgrading and old ffmpeg version to the latest on redhat

Currently I'm on a new project and working with an existing server (redhat) that has already been setup. One of my tasks right now is to upgrade ffmpeg to the latest version. I'm familiar with ...
0
votes
1answer
618 views

Nginx on armv7l installation

I am trying to cross-compile Nginx for Armv7l. See the followings steps already done (following this tutorial mainly Nginx for arm) Step 1 ./configure --without-pcre --without-http_rewrite_module -...
0
votes
1answer
675 views

openvpn --show-pkcs11-ids missing parameter

When I try to perform this command: sudo openvpn --show-pkcs11-ids /usr/lib/libeTPkcs11.so I get error: Options error: Unrecognized option or missing parameter(s) in [CMD-LINE]:1: show-pkcs11-ids (...
1
vote
1answer
586 views

KeePassX .4.3 version - Old kdb database and 2.0 doesn't work - Ubuntu

1. Situation Transferring password database from one computer to a new one. KeepassX 2.0 is great, but it doesn't support loading older DBs. In fact you should use keepassX 2.0 going forward as it ...
3
votes
1answer
200 views

How to check if make uninstall will work

FYI I'm on Mac OS X El Capitan. I compile things using CMake and make on my machine on a day to day basis, but without so far having understood CMake or make in any respectable depth at all (I have ...
1
vote
0answers
1k views

Installing Quantum Espresso - trouble with make

I'm trying to install QuantumEspresso (QE) on my computer, I need it for my thesis. The professor asked me to install it enabling parallel computing using OpenMPI, compiled with Intel ifort compiler. ...
1
vote
1answer
429 views

Makefile issues with interactive shells started as a target

Currently having a weird problem: Got a Makefile to get some handy shortcuts inside a Project: shell: docker exec -it $(web) sh ... ..which basically invokes an interactive shell inside a ...