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

learn more… | top users | synonyms (1)

1
vote
0answers
19 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
1
vote
1answer
18 views

Switch-case block inside define keyword in a single logical line in a makefile

This is the code excerpt from ghc.mk, part of Haskell source compilation. I find it different, because the author has chosen to write one function block in a single line. Is it a common practice in ...
3
votes
2answers
19 views

File function in makefile takes args prefixed by '@' symbol

This code excerpt is from Chapter 8.6 of GNU makefile manual. What does @$@.in for file function arg in a makefile mean? and why are shell commands like rm prefixed by '@' symbol program: $(OBJECTS) ...
0
votes
1answer
14 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
0
votes
1answer
22 views

Confused about why makefile is not generated

I have a lot of code used by our group. The group gave me a document that explains how to set up the makefile. However, the postdoc entered the commands really fast before and got it to work for a ...
3
votes
1answer
18 views

Target-specific make variables

How can I force a target-specific variable to be set immediately (line 2)? I want the output of make to be release and make debug to be debug. X = release debug: X = debug debug: all # the rest is ...
2
votes
1answer
36 views

Uninstall & remove emacs (installed via “make”)

I have installed emacs24.4 through instructions on this site. Now I want to uninstall and remove it completely, but since I haven't installed emacs via apt-get I can't seem to remove it either via ...
0
votes
1answer
26 views

make: xscale_be-gcc: Command not found

I'm new to embedded and am reading 'Embedded Linux Primer' at the moment. I tried to build an xscale arm kernel: make ARCH=arm CROSS_COMPILE=xscale_be- ixp4xx_defconfig # # configuration written to ...
0
votes
0answers
28 views

Confusing linker error

I'm trying to compile and link something, and make is spitting out the following error message: /usr/local/bin/ld: cannot find -lpolkit-gobject-1 collect2: error: ld returned 1 exit status When I ...
-2
votes
1answer
34 views

What ./configure make and make install does [closed]

I would like to know exact backgounf taks that happen when you install an application from source What happens when you run ./configure What happens when you run make What happens when you run make ...
1
vote
1answer
41 views

use bash to pass 2 variables to a Makefile

I have a bash script which outputs calls to my make file. #!/bin/bash mylist=( 'SAMPLES_OUT=$(call list_samples,AON_9,NT_1,SC_17) ...
1
vote
0answers
75 views

Arch Linux - make: error while loading shared libraries: libunistring

I keep getting this same error when trying to install various packages: make: error while loading shared libraries: libunistring.so.0: cannot open shared object file: No such file or directory It's ...
0
votes
1answer
47 views

Make does not work when invoked from a bash script

So i just asked a question : for loop over a list This works perfectly now and outputs what i need. Now i want to link this to a makefile which should be called per variable in my list like this: ...
4
votes
2answers
54 views

How can I catch a command exit code for later, in a Makefile?

I have a makefile, with a test suite target, like so: rcheck: foo This shows the output from the foo command on stdout, and returns an exit code from foo which is handled by make as normal. ...
-1
votes
1answer
29 views

How is the linking mechanism so fast in the kernel system calls? [closed]

If I open any file in Linux kernel almost every file has many extern functions and many #indef or #ifndef macros so while compiling how exactly does it map all the functions and macros when more than ...
0
votes
0answers
18 views

Problems with kerrighed

I heard about kerrighed and i want to use it for rendering with blender because it is a single system image. I tried to install it over pxe like the installation guide from kerrighed.org says. The ...
1
vote
2answers
111 views

sed:can't read /usr/lib/libltdl.a:No such file or directory

I tried to install the package libgraph but while executing make it says that justin@justin-HP-Pavilion-g6-Notebook-PC ~/Downloads/libgraph-1.0.1 $ make Makefile:781: warning: overriding commands for ...
0
votes
0answers
37 views

cannot locate header while making buildworld in custom kernel source

I'm trying to install a custom kernel in freebsd and here's step I followed: install freebsd 9.1 on vm from the image get the source from hardenedBSD (branch hardened/9/kernsep) execute "make ...
0
votes
0answers
243 views

“Makefile:29: recipe for target 'siplib.o' failed” - SIP installation

I'm trying to install SIP 4.16.5 for Python 3.4 on Ubuntu GNOME 14.10. I type python3 configure.py and I get the following: This is SIP 4.16.5 for Python 3.4.2 on linux. The SIP code generator will ...
0
votes
0answers
28 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...
2
votes
1answer
140 views

How to install BPG (Better Portable Graphics) on Linux Mint 17?

How do I install BPG (Better Portable Graphics) on Linux Mint 17? I downloaded the tar.gz file from Fabrice Bellard's website. The ReadMe file says, Edit the Makefile to change the compile ...
0
votes
0answers
25 views

How to change CFLAGS for autogen.sh

I am relatively new to linux. I was trying to rebuild MDM display manager for linux mint from url https://github.com/linuxmint/mdm. In the documentation it is said that you should use ./autogen.sh ...
0
votes
2answers
122 views

which packages are required to use make?

I try to compile a package on a fresh debian wheezy inside a VM (32bit Kernel): cd /tmp/ wget https://github.com/freifunk-gluon/batman-adv-legacy/archive/master.zip rm -Rf batman-adv-legacy-master ...
1
vote
0answers
17 views

How to define ffmpeg's path during compilation of another software?

I'm trying to compile an opensource software that needs bleeding-edge ffmpeg, so I successfully compiled ffmpeg, but I don't want to run make install as it's not easy to be removed after my tests. ...
0
votes
1answer
21 views

How to tell the compiler to search some libs inside /usr/lib/x86_64-linux-gnu

I try to compile a project, I got the source files from git hub. But when I launch make, the compilation complains that the dependency on wayland-server is not met. However, I have wayland ...
1
vote
1answer
47 views

Difference between sudo make and sudo -s ; make

What are the differences between sudo make and sudo -s make First example do not work with my software, there is always a header file missing. Login as root with sudo -s and compile works fine. ...
1
vote
2answers
89 views

Makefile make install not executing multiple line commands

I have a Makefile that contains an install section to allow me to make install after building the source code. The install section contains two lines of shell commands: install: /usr/local/lib cp ...
0
votes
0answers
20 views

how to define the top dir in automake system?

I usually use a typical steps to generate the makefile, and firstly I use the "build.sh init" to generate the configure file, and then I use "configure" to generate the makefile with makefile.am file. ...
4
votes
2answers
289 views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
1
vote
1answer
151 views

Cannot find -lgcc

I'm trying to compile my next basic c program after hello-world. This contains two supporting modules. I have Ubuntu running in a VM through VirtualBox on a mac. Everything is up to date but I ...
-1
votes
1answer
54 views

Run a server and client in a makefile [closed]

I'm coding a socket file server in C++, and I can't figure out how to put proper unit testing into my makefile. My problem is as follows: The server, when started, spits out its port number to ...
0
votes
1answer
382 views

cc1: warnings being treated as errors when compile FreeBSD 8.2 Release

I am trying to compile FreeBsd 8.2 RELEASE kernel # uname -a FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sun May 18 00:07:10 PDT 2014 Build the kernel # pwd /usr/src # make buildkernel ... it ...
0
votes
0answers
22 views

How to put .desktop launcher in autostart directory using makefile

I want my program to add a .desktop launcher to the ~/.conf/autostart directory. How do I do this? I already have the following code to put the launcher in the applications directory: desktopdir = ...
0
votes
0answers
89 views

Configuration Question for libgd-2.1.0 Install

OK, So I think I have zlib-1.2.8 installed on my Linux system correctly. I used the following commands to do this: ./configure --prefix=/usr2/lib2 --eprefix=/usr2/lib2 make make check make install ...
1
vote
2answers
112 views

Is it safe to symlink to /usr/include/x86_64-linux-gnu/sys from /usr/include/sys?

I'm missing the /usr/include/sys dir and all of its headers. I have build-essentials and supposedly every other -dev package I require for this make. From reading around I understand that it's safe ...
0
votes
0answers
997 views

rtl8812au wireless driver installation on Centos 7

I have a fresh install of Cent OS 7 with the Gnome desktop environment. I have been trying to install rtl8812au wireless drivers found at https://github.com/gnab/rtl8812au for my Netgear A6100 WiFi ...
0
votes
1answer
179 views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure ...
0
votes
1answer
32 views

Can't Make a LDD for a Devkit8000

I'm trying to build a Linux Device Driver for a Devkit 8000. I'm getting the following errormessage: When I try to follow it's directions I get asked a bunch of yes/no questions I don't really ...
1
vote
0answers
218 views

Repeated error : #error “Only <glib.h> can be included directly.”

I have a research on author attribution compression distance. And I should use "Complearn" ,which is a compression program, in my work. But in the beginning I have problem in installing this program. ...
1
vote
1answer
75 views

Walk-through into make (menu)config's options [closed]

I need to customize the kernel a lot for a custom system. Most of my changes concern the kernel's memory usage (something like an embedded kernel). There are a lot of things enabled by default in the ...
0
votes
2answers
142 views

Fatal error: linux/smp_lock.h: no such file or directory when trying to compile tiusb

I am trying to compile the TI-Graph Link USB Drivers? So I downloaded it, and ran make in the directory libusb. It produced the following: ~/Téléchargements/tiusb/tiusb-1.10$ make make -C ...
0
votes
1answer
56 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 ...
5
votes
1answer
100 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
1answer
69 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
40 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 ...
2
votes
1answer
141 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
2answers
241 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 ...
0
votes
1answer
905 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 ...
2
votes
3answers
84 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 ...
1
vote
1answer
115 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 ...