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

learn more… | top users | synonyms (1)

3
votes
1answer
2k views

Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?

I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4). In the folder extracted: autorun.sh log.txt Makefile README src \>type command: ./autorun.sh ...
0
votes
2answers
152 views

Files created by 'make' aren't getting executable permissions by default

I'm trying to build a project, and when I use the command make, I get the following errors: /bin/sh: line 4: .deps/ipset_bitmap_ipmac.Tpo: Permission denied make[2]: *** [ipset_bitmap_ipmac.lo] Error ...
1
vote
1answer
497 views

Only output errors / warnings when compile kernel?

When you compile kernel you normally see lines like CC XX.o or LD XX So, can I skip these messages? Only output errors or warnings generated by gcc
0
votes
0answers
441 views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
1
vote
2answers
387 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
2k views

X11/Xlib.h: No such file or directory

I am trying to install tcl and tk on my linux server.I don't have the root password,So I am installing them in my home directory.I am using below method for installing it manually. cd ...
3
votes
1answer
174 views

Make Completion Progress Script

Any time I'm executing a build process that takes several hours, I inevitably stare at my terminal and wonder, "how much longer?" Sometimes, I manually pick up on some pathname echoed to the terminal ...
0
votes
1answer
208 views

Compiling multiple source file with arm-ulinucxeabi-gcc including -o -c option

I am compiling multiple c source which depend on multiple header files. Makefile SHELL=cpp2 ...
1
vote
0answers
170 views

obfsproxy fails to build because it can't find event2/util.h

I'm trying to build obfsproxy. These steps all work fine: # git clone https://git.torproject.org/obfsproxy.git # cd obfsproxy # ./autogen.sh # ./configure But then I get to: # make make all-am ...
1
vote
1answer
385 views

No make target “uImage” with Buildroot 2013.05

After enabling Linux Kernel option and setting the Kernel binary format to uImage, I always get the following error: make[1]: * No rule to make target `uImage'. Stop. My buildroot configuration is ...
0
votes
2answers
54 views

Cleaning after installation [duplicate]

Is it safe to remove the downloaded tar once the program is installed (once I run ./configure, make, make install)?
0
votes
3answers
7k 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.
1
vote
0answers
358 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 ...
1
vote
1answer
218 views

What is the default jobs argument for make?

How many jobs does make use by default when you don't pass it the -j flag?
2
votes
1answer
919 views

Makefile $wildcard only matches top directory

I am trying to implement a makefile for my C project which has a directory structure as follows: PROJECT_FOLDER: folder1 folder2 folder // n number of folders main.c FOLDER1: ...
0
votes
1answer
434 views

Unable to install libevent without admin priviledges

I just downloaded libevent-2.0.21-stable, which I am hoping to compile so that I can use tmux. However, when I run: ./configure --prefix=/path/to/libevent-2.0.21-stable/ make make install ...
0
votes
0answers
227 views

Installing XSP on CentOS

Trying to install xsp-2.10.2. Worked fine in the past, now getting this error. Making install in Mono.WebServer mkdir: cannot create directory `2.0': File exists GMCS /out:2.0/Mono.WebServer2.dll ...
1
vote
2answers
164 views

How to flash U-Boot to a Devkit8500?

When I try running this: make CROSS_COMPILE=/root/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- omap3devkit8000_config I get this error: make: *** No rule to make target ...
2
votes
0answers
116 views

Trying to install DIP (Dialup Networking) package for SLIP protocol

We are trying to interface with a wireless modem that connects to a computer via a com-port DB-9 connection. It uses SLIP in the sense that the modem hosts a SLIP server and requires the interfacing ...
0
votes
1answer
1k views

make: *** No targets. Stop while building linux kernel module [closed]

I am just trying to learn how to driver modules for Linux Kernel. I followed Linux Device drivers 3rd edition book and started my work. I created a sample program and makefile. Please find my makefile ...
2
votes
1answer
285 views

gedit: tabs or spaces dependent on syntax

I almost always use the Insert spaces instead of tabs feature in gedit. The one exception is when writing a Makefile which requires tabs. I don't suppose there is a way to make this option dependent ...
2
votes
1answer
156 views

How can I copy a git repo from a Makefile?

I'm writing a Makefile to sync my local dotfiles with GitHub. I recently decided to also add my .vim folder to the repo. But when trying to copy the .vim folder I keep getting a Permission denied ...
3
votes
0answers
136 views

What steps are involved in porting an Xorg OpenGL app to DirectFB?

I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and ...
0
votes
1answer
405 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
0answers
764 views

CFLAGS in Linux kernel makefiles: which one is used when?

I'm not familiar with Makefiles, I can kinda understand them, but with the Linux Kernel I have a question. (Using 3.7.1, Patched with BFS so line numbers may be a bit off) On line 248 HOSTCFLAGS ...
4
votes
2answers
153 views

What are the reasons for each line in Makefile to be executed in a separate shell?

Each command in Makefile is executed by a separate shell. What is the reason for this? Why commands aren't executed as in a regular script? I am aware that it is possible to use one shell using ...
1
vote
3answers
251 views

I want to run commands like make, make install, python setup install without changing directories

I have written a script which will download software from the internet to the current user's home directory and then untar it. And then I have to make and make install it and in some software I have ...
0
votes
1answer
708 views

make install - how to use wget, not curl

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed. Can I use wget instead if this is a ...
1
vote
3answers
1k views

How to run a Python script in Makefile

I want to write a Makefile to find specific files and run a Python script on each file. The Python script accepts sys.stdin input. find $(W)/$(OVE) -name "*.xml" -print | \ while read x ; do \ cat ...
1
vote
1answer
329 views

linux-sunxi - make failed, undefined references clk_*

I try to build uImage for linux-sunxi on a Debian box, which is prepared like this (How To Build Debian From Source Code for Mele): apt-get install emdebian-archive-keyring apt-get install ...
2
votes
1answer
160 views

Installing GNU Make on ChromeOS

Playing around with the new Chromebook, was trying to get Make working to the end of installing other software. However, can't seem to get Make anywhere near to install; ./configure doesn't generate ...
0
votes
2answers
63 views

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

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
352 views

Make and apt-get Have Stopped Working

So I downloaded the non-free broadcom driver(b44) for my debian install, however when I try to make it I get the following error: make make -C /lib/modules/2.6.32-5-amd64/build ...
13
votes
4answers
3k views

Why people recommend the -j3 option for make when having a dual-core CPU?

In Gentoo Linux it is possible to set the MAKEOPTS variable in /etc/portage/make.conf to tell make how many jobs it should run in parallel when building packages. Since I have a dual-core CPU, I ...
-1
votes
2answers
2k views

Building Qt: 'make clean' causes everything to get recompiled?

(This applies to Qt versions >= 4.7.3.) I made an attempt to build Qt with custom parameters on my Debian box and it actually took AGES to compile (IIRC more than 6 hours on a single-core CPU). That's ...
3
votes
2answers
342 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
1answer
89 views

Build Gimp from custom-path libraries

I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp ./configure && make && make ...
1
vote
1answer
76 views

help installing checkinstall locally

I'm trying to install checkinstall locally in my home directory. Though, in the INSTALL file is only described how to do a system wide installation: Simple enough: make su make install checkinstall ...
1
vote
2answers
7k views

fatal error: linux/smp_lock.h: No such file or directory

I'm trying to build some drivers for a TV tuner and I am getting this error when I build: make -s -C /lib/modules/3.2.0-23-generic/build SUBDIRS=/home/jtp/IT9135_SRC modules In file included from ...
0
votes
1answer
1k views

Looping over directory entries in bash and saving to an array

(See update at the foot of the question). This is a followup question to "Make directory copies using find". This question involved manipulating a bunch of directories, This got too complicated to ...
2
votes
0answers
649 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
5
votes
3answers
882 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 ...
2
votes
2answers
3k 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 ...
8
votes
4answers
627 views

What could be causing make to hang when compiling on multiple cores?

Yesterday I was trying to compile the ROOT package from source. Since I was compiling it on a 6 core monster machine, I decided to go ahead and build using multiple cores using make -j 6. The ...
2
votes
2answers
884 views

Makefile compiles unchanged files

Made an effort to get the object files in another directory, but that directory would otherwise reflect the source directory tree. Got that to work, but there is a missing piece at the $(OBJ): line ...
7
votes
1answer
235 views

Are there any CheckInstall side effects or should I use it every time?

I'm using Ubuntu at work and Slackware at home. Today at work I have downloaded some suspicious program from our company repository that was supposed to automate some repetitive tasks. I installed ...
2
votes
0answers
141 views

What went wrong with this driver install?

I am trying to install the correct LAN card drivers on openSuse 12.1. This is the output of the log file for the autorun.sh script: ------------------------------- Sun Jul 1 21:50:45 IDT 2012 ...
1
vote
0answers
338 views

error: implicit declaration of function ‘rt_dev_socket’

The developer says: http://comments.gmane.org/gmane.linux.real-time.rtnet.user/2546 Now how can I tell the Makefile to look for headers in /usr/local/rtnet/include respectively ...
4
votes
2answers
704 views

Do GNUmakefile, GNUmakefile.am, and GNUmakefile.in indicate that Automake has been used?

The source folder of rtnet contains only the above mentioned files for compilation purposes. Remaining files are the source code of the examples. Question is that do these files indicate that they ...
3
votes
1answer
3k views

Why can't ld find this library?

I'm not very knowledgeable on this topic, and therefore can't figure out why the following command does not work: $ gfortran -o dsimpletest -O dsimpletest.o ../lib/libdmumps.a \ ...