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

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Having trouble installing libirecovery from source

Here is the output I get from the make command. I have readline installed but it is still throwing this error. What am I doing wrong here? root@Kali:~/idevice/libirecovery# make make all-recursive ...
0
votes
0answers
11 views

Error building nodejs from source on Debian

I keep getting the same error when running make on nodejs source code. I've looked and some common problems seem to be lack of a c compilier or install g++. I have these and have double checked. Here ...
0
votes
0answers
6 views

Difficulty installing and compiling Dada Engine on OSX

I am trying to install Dada Engine. The readme can be found here: https://github.com/orenmazor/Dada-Engine I have run the install bash successfully and "sudo make". However, when I run "make ...
2
votes
1answer
125 views

GNU Makefile surprise

I am try to build a simple, two-stage project Makefile with GNU make. The logic I want to follow is First I construct the dependencies (by gcc -M) I include the generated .dep files into the ...
1
vote
1answer
19 views

Organize local builds

A common thing for people who work on machines without having root rights is to locally build your own little suit of your favorite tools. The workflow goes a little something like this: tar xvzf ...
2
votes
1answer
30 views

How to script `make menuconfig`?

I want to automate a linux build but eventually get to a point where I need to run what seems to be a very manual step: make menuconfig. This seems to synchronize configs between the OS and kernel ...
0
votes
1answer
30 views

Having trouble compiling BFLT Utils: can't find libiberty.h, despite being installed

I'm attempting compile BFLT Utils (https://github.com/nihilus/bflt-utils), but keep getting the following error: $:/tmp/bflt-utils/flthdr# make gcc -Wall -g -O2 compress.c -c gcc -Wall -g -O2 stubs.c ...
0
votes
0answers
32 views

program “killed” as soon as it run

Ubuntu 12.04 I have success make and output a program name algo. When I type ./algo,the terminal just directly shows 'killed' And I search the var/log/message or syslog kern.log.I don't see any ...
1
vote
1answer
34 views

How to Cross Compile elfutils

My system (uname --all) Linux shyamdaramubtnb 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux My target ARM Cortex A7 I am in the process of cross ...
1
vote
2answers
41 views

Using embedded python script in Makefile

I'm trying to run a Python snippet inside a Make target, but I'm having trouble trying to figure out how these things work in Make. Here is my attempt so far: define BROWSER_PYSCRIPT import os, ...
0
votes
1answer
21 views

Can't make ./configure find tcltk while building R

I am trying to build R-3.2.1 from source with support for tcltk, but anything I try don't work, since I get then in R: > capabilities("tcltk") tcltk FALSE I am running Debian 8, I have installed ...
1
vote
0answers
19 views

Linking shared library in linux kernel [migrated]

I would like to modify the linux kernel. I would like to use functions from a shared library (an .so file) in file kernel/panic.c. Unfortunately I don't know how to compile it. When I put it in ...
0
votes
0answers
25 views

How build of ASUS Merlin firmware

I'm trying to build newest ASUS-Merlin firmware on Ubuntu. My build fails with: make[7]: Entering directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src' /bin/bash ../libtool ...
3
votes
2answers
44 views

Make target with two words

I'm using a Makefile to compile my Clean code. My Clean files have file names of the format *.icl and are compiled to binaries with the same name but without .icl. This is done with the rule: $(EXE): ...
-2
votes
0answers
15 views

Open Source projects for coverage tests

I want to analyze the coverage of tests of open source projects with gcov (total coverage/a specific test's coverage). Could you give 3-5 examples for this (like OpenSSL)? I'm searching projects ...
0
votes
2answers
53 views

Compile Package without installing needed libraries

I try to compile bluez-utils-3.36, but after a try to configure the package, the error message: configure: error: Bluetooth library is required appeared. The problem: i am not allowed to update or ...
3
votes
3answers
216 views

Checking environment variables' value in Makefile

I have a Makefile target, in which I have to check the value of an environment variable. But, I don't get the exact syntax of it. Tried hard, but can't find it. Any help is appreciated. Environment ...
1
vote
1answer
32 views

How to run a specific test from OpenSSL test suite?

I want to measure the code coverage of different tests from OpenSSL test suite. I successfully measured the total coverage of the tests with this method: $ make clean $ export CC="gcc ...
0
votes
2answers
53 views

Linux 'make' command fails after installing ruby and gems for biopieces

We wanted to try the biopieces tools, which require certain dependencies, such as ruby and perl, a.o. After running the installers, and consequently installing some ruby gems, we were not able to run ...
1
vote
1answer
66 views

How to echo makefile variable through Make's $(shell …)

I have a GNU makefile. The makefile has a few tests (around line 65 from the linked file): UNAME = uname MACHINE ?= $(shell $(UNAME) -m) SYSTEM ?= $(shell $(UNAME) -s) IS_X86 = $(shell echo ...
2
votes
0answers
46 views

shell operation within makefile [closed]

I have the following line in my makefile: var := $(sort $(foreach m,$(libs),$($(m)-objs))) which I change in a way it now use sort from shell: var := $(shell echo $(foreach ...
0
votes
0answers
26 views

Trouble with Boost due to missing Makefile.cmake file?

I'm not very familiar with cmake and am afraid if I make one small wrong error, things will really screw up. I have a previous project(PrevProject) that I got to compile successfully using ...
0
votes
1answer
64 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
0
votes
2answers
104 views

.PHONY all rules in GNU make file?

Am I wrong in my interpretation that I should basically just put first before all make rules: .PHONY: all of my rules all: echo "Executing all ..." of: echo "Executing of ..." my: echo ...
4
votes
2answers
137 views

Which shell is used in GNU Make files?

I've seen things like echo, mv, if, for, in makefile rules. Some kind of shell commands seem to be recognized. Is this bash? How can I figure out which shell is being used and full list of keywords ...
2
votes
1answer
59 views

Is there any advantage to using the -j2 argument when building Linux systems in VirtualBox?

I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow. Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from ...
0
votes
0answers
21 views

error: boost/current_function.hpp: No such file

I tried to reset the cmake configuration for the program I'm working on by creating a new build folder and typing make, but I get the error message directory/src/log4cplus/logger.cxx:27:38: fatal ...
0
votes
1answer
63 views

Editing make process?

So.. figure this is alright to ask around here. https://github.com/swarren/u-boot have this, need to get the binary so I can finally run something other than Raspbian on the Pi. The instructions ...
0
votes
1answer
30 views

How do I make a Make, Make Install, and deb file for a python program?

I recently got done making a python program. Now the question is, how do I go about making an installation script for it. From my understanding you need to create a make file, but from what my ...
0
votes
1answer
20 views

make for linux kernel module

I have recently started learning kernel module programming using the book The Linux Kernel Module Programming Guide and I dont understand how does this make work obj-m += hello-1.o all: make -C ...
0
votes
0answers
35 views

build error: “log4cpp does not work”

I have been trying to build avxsynth on CentOS 7. First I successfully build the prerequisite, log4cpp: mkdir ~/avxsynth_sources cd ~/avxsynth_sources curl -L -O ...
1
vote
1answer
51 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
1
vote
1answer
76 views

Compiling sources with a non-default compiler

I need to implement an authentication scheme on an embedded device and require gmp in order to perform large integer operations. After downloading the sources they must be compiled with a proprietary ...
1
vote
1answer
46 views

Can `make` automatically install dependencies?

When I am installing a program with the make and make install method, there are (very often) many dependencies that need to be installed before the installation of the new program can begin. So ...
2
votes
1answer
25 views

Running make for LFS complains about [ and about missing gawk

I'm having a strange error when I'm trying to start the make process for LFS using the LiveCD SVN Trunk. When I go to run make it gives me; $ make /bin/sh: 1: [: -ne: unexpected operator -e Missing ...
1
vote
2answers
41 views

Use a package to install dependency and copy custom conf file

I used dh_make to create a basic Debian package install. I added a dependency which is the actual program I want. All I want to do is overwrite the conf file this package installed, with a new file ...
2
votes
1answer
49 views

Can I resume make after a Ctrl+C?

I am installing gcc version 5.1 on a supercomputer cluster. I configured it and am now running the make command. It has been several hours and is still running as it is a long install, but the work ...
0
votes
0answers
22 views

invoking python program for each path in makefile vapth

I have a makefile as follows: VPATH = ../../HWP \ ../../hwsv/server \ ../hwpf PROC_INPUT_FILES = abc.c \ def.c \ xyz.c MEM_INPUT_FILES = ...
1
vote
2answers
92 views

Invoke python script through make command

I have a tool with 5 python scripts say A.py, B.py, C.py, D.py and E.py. I have to run this program in Linux. A.py is the one program I run which imports other files and uses them. For running A.py, I ...
1
vote
0answers
28 views

TelosB mote and TinyOS

I am trying to Blink LED on TelosB mote. I have installed TinyOS but I am having an issue with the make command. Could anybody be able to help?
1
vote
1answer
28 views

gnu make: “:= $(expression)” vs “:= @(expression)”

I am trying to determine what the the difference is between the "$" and "@" when used during expression evaluation (if that is the correct term). For instance, in the Makefile I am trying to ...
3
votes
2answers
73 views

How to determine the maximum number to pass to make -j option?

I want to compile as fast as possible. Go figure. And would like to automate the choice of the number following the -j option. How can I programmatically choose that value, e.g. in a shell script? ...
0
votes
0answers
49 views

makefile woes , attempting to compile libdai

I'd like to compile libDAI. This comes with a Makefile.conf having the line MEXFLAGS:=CXX\#g++ CXXFLAGS\#'$(CCFLAGS)' which seems to cause trouble when i try using 'make' ...
0
votes
1answer
86 views

What changes to be done in Python file when Makefile is being used?

I have a set of python class files. I run the MainProgram.py on the linux as python MainProgram.py which uses the rest of the class files.It reads from an input file and write an output file. Until ...
1
vote
1answer
36 views

In a Makefile, how can I begin processing a file before it has finished building?

I'm using make to automate a project that generates lots of data, then processes it, with recipes roughly like this: processed-data: data data-processing-program $^ > $@ data: output-data ...
1
vote
1answer
26 views

makefile fails when deleting a file [closed]

I am trying to write makefile and check - if a folder exist - delete it : BINUTILS_TAR_GZ := binutils-2.25.tar.gz BINUTILS_ORIG := binutils-2.25 BINUTILS_CHANGES := binutils_changes . . . clean: ...
0
votes
0answers
11 views

Possible? Build on OpenSuse 13.x deploy on SLES 11

I need to build nginx for SLES 11.3 Do I have to build it on the SLES 11.3 Host or could I build it on my local OpenSuse 13.2 Host? The Problem is that, there are a lot of dependencies missing on the ...
0
votes
1answer
42 views

How can i make use of makefile exported values while running script file

How can i make use of makefile exported values while running script file. I have makefile with some exported values. I am running one script file. i need to make use of variables exported in makefile ...
0
votes
1answer
213 views

Dtrace on linux

I am trying to install dtrace on Cent OS 6.4 kernel 2.6.32-358.el6.x86_64 with following error [root@mscserver dtrace-20150306]# make all BUILD_DIR=build-2.6.32-358.el6.x86_64 tools/build.pl ...
0
votes
1answer
50 views

Build gdal with mrsid plugin on fedora 21 server

I've been having an issue for over a week now. The problem is, I can't build gdal source with MrSid DSDK on Fedora 21 Server. I have built and installed gdal with MrSid on Fedora 21 without any ...