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

learn more… | top users | synonyms (1)

0
votes
1answer
22 views

How to create makefile for compiling multiple programs

I have some problems with creating makefile. I have tried to compile some files from terminal and found right options for gcc to do this. But I have some troubles with creating one makefile to do all ...
0
votes
1answer
421 views

Make error while installing wifi driver offline

I need to install Kali Linux updates without Internet access on my laptop. I think I need to do this because I'm trying to install the wifi driver but I get an error when I try to make: make ...
0
votes
1answer
28 views

How can I undo the changes after compiling a package? [duplicate]

Let's say that I have build a package using the typical method ./configure make make install and then I would like to uninstall this package. There is no any uninstall script. How can I revert my ...
7
votes
3answers
5k views

Why do some packages use 'make install' while other use 'sudo make install'

I recently installed LAME encoder on my server to convert wav to mp3 and that worked with './configure, make, make install; I then tried to install OGG encoder and that requires './configure, make, ...
-1
votes
0answers
46 views

Error while compiling bash for shellshock security exploit

I used the instruction from https://shellshocker.net/ here is the command: sudo curl https://shellshocker.net/fixbash | sh error while compiling: Running make rm -f mksyntax gcc ...
2
votes
1answer
67 views

What Did Users Do or Use Before the Make Command?

I use Gentoo as my primary home Desktop OS. I have since ~2004. I appreciate the emerge command for managing a source based OS as well as it does. Every now and then I check on other distributions, ...
1
vote
3answers
9k views

No targets specified and no makefile found. Stop. Makefile ubuntu

When I execute the command sudo make I get this error: No targets specified and no makefile found. Stop.
2
votes
3answers
48 views

Hide make targets from shell when users autocomplete in bash

Is there a way to flag some targets in a Makefile so that they don't appear at all in the shell when the user types make and then presses Tab ? I am having a Makefile with too many recipes and I don't ...
2
votes
1answer
71 views

To write this Pseudocode with Regex

I am doing a Makefile which I run regularly by Crontab every day at 0230 crontab -e; 30 2 * * * /bin/thePseudocode Python-like Pseudocode directories = ["Cardiology", "Rheumatology", "Surgery"] ...
1
vote
1answer
35 views

cd to a child directory of a symlink fails

To build a kernel module, you have to do make -C where -C is cd functionality. As my make failed a lot of times, I found this: [root@ror6ax2 modules]# ls -l /lib/modules/`uname -r` | grep build ...
1
vote
0answers
14 views

How to fix error of installation script for cataclysm-mouse [closed]

I have written my own driver after spending some time reverse-engineering the protocol they were using. It doesn't cover a lot of features, but I want to play computer games and manage my window ...
1
vote
3answers
471 views

net-snmp-5.7.2 compilation fail

I am currently trying to compile net-snmp-5.7.2 on rhel 6 64bit system. ./configure step is fine, but when I do the make step I got the following error : gcc -shared -O2 -g -pipe -Wall ...
1
vote
2answers
30 views

Increasing stack size in 64 bit Cygwin? (installing ocaml)

I'm trying to set up an older version of ocaml, and I'm getting an error message that says that I need to increase my stack size. The only way I've found to do this in cygwin involves running an ...
3
votes
2answers
388 views

Make problem with includes

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
2
votes
3answers
4k views

Cannot Compile Apache: “Error, SSL/TLS libraries were missing or unusable”

Arch Linux 2011.08.19 (Linux 3.4.2 i686) Apache 2.2.22 → 2.2.22 (recompile & reinstall) OpenSSL 1.0.1.c-1 These details are likely irrelevant, but: I’m using yaourt with customizepkg to build ...
0
votes
2answers
62 views

Please explain what happens when I run this Makefile

I'm learning flex and (for really the first time) using the command line. I created a Makefile to simplify my testing process but I don't understand why the commands are in reverse. For instance, in ...
6
votes
2answers
68 views

How can I get gmake to give me a list of all included makefiles?

I've inherited a major mess of a makefile network that was itself inherited from another project, with makefiles included all over the place. I'm trying to make a simple change without gutting the ...
0
votes
1answer
159 views

Unable to 'make' anything.. Kernel-headers problem? Trying to get my RTL8723BE working

I'm a starting security/Linux student and I'm having headache-problems getting my wireless to work on Kali Linux. Recently I've bought a new laptop, to be specific the: Lenovo IdeaPad Z50-70-01418NL ...
0
votes
1answer
454 views

How to build svnwcrev

I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."... I modified the config.mk file setting the ...
1
vote
1answer
20 views

Gmake macro expansion: macro calls macro with variable in arguments

In the following makeffile one macro process it's arguments to call another macro. I expect that makefile below will generate two targets and correct list of the targets in $TARGETS. But in fact it ...
1
vote
0answers
174 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
0
votes
1answer
26 views

using all callin different targets in makefile

I wrote a makefile as given below: .PHONY: clean_lib all a: lib make $@.exe c: lib make $@.exe clean_lib: rm -f lib all: a clean_lib c When I call make all I would like ...
0
votes
0answers
36 views

make ASUS PCE-N15 driver errors on SteamOS

I am trying to install drivers for my wireless network card, thankfully the card does have up-to-date drivers which are suppose to be compatible with Debian (I am running SteamOS which is based on ...
1
vote
0answers
13 views

How to compile dcp2icc?

After trying for hours I am unable to compile dcp2icc-0.1 on Linux. With a simple Makefile added to the original code it fails as follows: g++ -o build/XMP/source/XMPCore/ExpatAdapter.o -c -O2 ...
3
votes
1answer
151 views

Makefile error: empty variable name

I am writing a simple Hello World kernel module. The Makefile I wrote is giving me such an error: esp@ubuntu:~/task1-2$ make all make -C /usr/src/linux-headers-3.13.0-35-generic SUBDIRS = ...
0
votes
1answer
348 views

CheckInstall on CentOS

I am attempting to make CheckInstall on a clean version of CentOS however I am having difficulty, I receive the following error: [root@host checkinstall-1.6.2]# make for file in ...
1
vote
2answers
100 views

Don't stop make'ing if a command fails, but check exit status

I am trying to instruct GNU Make 3.81 to not stop if a command fails (so I prefix the command with -) but I also want to check the exit status on the next command and print a more informative message. ...
4
votes
3answers
252 views

Compare two kernel config files from the menuconfig perspective?

I have a situation in which i have two kernel config files (for the same kernel source ). Both of them have a part of the functionality that i need (on one, USB works correctly, on other, the second ...
2
votes
1answer
52 views

ld cannot find -lQt5Multimedia

I'm trying to build BBQScreen for Linux. During the make process, I get the following error: g++ -m64 -o Linux/BBQScreenClient2 debug/main.o debug/mainwindow.o debug/screenform.o ...
1
vote
1answer
27 views

“Cannot find -lgdbm” when making xemacs in FreeBSD10

I have been trying to install xemacs 21.4.22 in FreeBSD10 x64. Once I run ./configure and try to run make it gives me this error with libgdm.so library [eddyraz@laptop-eddyraz] ...
1
vote
2answers
141 views

Why current directory doesn't change in makefile?

I'm trying to run a simple script- clone a git repository into a certain directory, then cd to this directory in order to execute an installation script. This script is in a Makefile. But the cd ...
0
votes
0answers
60 views

Apt-Get No installation candidate. Can't install anything

So, I am running a MineOS Linux, which is based on Debian turnkey, and the installation was around 250 MB, so probably not all of the commands that come with Linux were installed. I use this to run ...
3
votes
0answers
92 views

Why is this autogen.sh script failing?

I've downloaded this window manager from github and it has a autogen.sh script but it failed each time. I don't know what could happen or how to fix it: Output from ./autogen.sh: ...
1
vote
1answer
707 views

Install newer version of application in $HOME without root access and linking to installed app

I am new to installing application from source and just learning the best practices to do so. I have this linux box without root access with a quite old emacs, so I downloaded the latest version and ...
3
votes
2answers
227 views

“No target” error using Make

I'm learning how to use make and makefiles, so I wrote this little file: %.markdown: %.html pandoc -o $< $@ But when I run make, all I get is make: *** No targets. Stop. What's going on? ...
0
votes
2answers
77 views

How come “make install” can only be done on my target machine?

I have been given a customized kernel by a customer and asked to build it using the following commands: make sudo su make modules_install make install This has to be done on my host machine, ...
1
vote
0answers
478 views

CMake Error: The current directory is different than

I'm trying to compile the source code for Shrewsoft VPN. The instructions say to compile the source on step 4. However... I get this error: user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo ...
6
votes
3answers
1k views

Installing from source. How to resolve dependencies without destroying the package manager

I don't consider myself a total noob, but compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more ...
5
votes
1answer
522 views

Build Transmission 2.84 .deb package with checkinstall

I'm trying to compile and make by myself some .deb packages to keep my Raspbian more up to date than the repository. Now I want to update Transmission to v 2.84. Here's what I've done: Download the ...
1
vote
1answer
128 views

How can I exclude some library paths listed in “ pkg-config --variable pc_path pkg-config”?

I have Ubuntu 14.04 upgraded from 12.04 making dist-upgrades. I did many manual installations such as ffmpeg, libglib and so on, in the past. I have a nice custom distro now, it works well but I have ...
4
votes
3answers
9k views

Adding directory to PATH through Makefile

I'm having some trouble in exporting the PATH I've modified inside the Makefile into the current Terminal. I'm trying to add to the PATH, the bin folder inside wherever the Makefile directory is. ...
2
votes
1answer
60 views

Restricting GNU‑Make to POSIX Make behaviour

Is there a known way to make Linux's make reject unintended use of GNU‑Make specific extensions in Makefile when editing or using other's Makefile in Linux? I mean, restricting GNU‑Make to behave as ...
0
votes
1answer
56 views

Create single executable file from directory

I'm looking to create a single executable file from a directory, to make a 'standalone' app. So say my directory structure is: -app --assets --bin --views runme go.sh and within go.sh I ...
8
votes
3answers
339 views

How does make continue compilation?

I know that I can interrupt a make process anytime without having to recompile the entire source tree again. As I know, make only compiles a target if it's not compiled yet, or the source code is ...
1
vote
0answers
74 views

cross compile embedded arm

I have the android 4.2.2 code in directory /home/sghPhone2 which compiles normal with make menuconfig but I need to compile a 4.4 kernel and possibly patch it but when I download the source from ...
0
votes
0answers
56 views

Install application on barebone linux board without internet

I'm kind of new to using linux for hardware development. I made a C program which uses ExifTool, and it works fine on the desktop. The ExifTool have to be installed and runs on Perl. I can cross ...
4
votes
2answers
61 views

Find out extension of executable files?

When I am building software from source on a GNU+Linux system, during the ./configure stage I frequently see the following line: checking for suffix of executables... How do I create such a check ...
2
votes
1answer
52 views

LFS-7.5 util-linux `make check` fails

When I run make check in util-linux, it fails saying: 3 tests of 127 FAILED According to LFS - 7.5 test logs found here, 2 tests fail and that is acceptable. But my cal command fails while ...
2
votes
2answers
202 views

How to list prerequisites externally in GNU Make?

How can I query prerequisites of a target from a GNU Make makefile? E.g. if the targets specified like this: fred: wilma barney betty I want to print prerequisites of fred like this: $ make ...
2
votes
1answer
116 views

What does make[number] mean in make V=s?

When I enable make V=s to read the full log of make. I always see make[numer] in the log. e.g: datle@debian:~/workspace/cpx/trunk$ make rm -rf openwrt/tmp cp config/defaut.config openwrt/.config cd ...