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

learn more… | top users | synonyms (1)

4
votes
1answer
1k views

GCC error trying to exec 'cc1'

I was cross compiling a Linux kernel for my Raspberry Pi on a laptop (running debian 7) (followed the instructions here) but when I start compiling (make ARCH=arm CROSS_COMPILE=${CCPREFIX}) I get the ...
0
votes
1answer
19 views

Building Snapwm on FreeBSD (Problem of gcc and clang)?

According to FreeBSD, from version 10 they use Clang/LLVM instead of gcc. on the surface of it all things should perform as been before even better. but I have faced this reality more than I want to. ...
2
votes
1answer
2k views

make fatal error: openssl/sha.h: No such file or directory

I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or ...
11
votes
1answer
2k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
2
votes
1answer
19 views

Using a make rule to call another

I am writing a LaTeX project that I am using a makefile for. I have a clean function to clean the excess LaTeX files: .PHONY: clean clean: \rm *.aux *.blg *.out *.bbl *.log But in some cases I ...
2
votes
1answer
286 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: ...
1
vote
1answer
35 views

Fix for: /usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'

Error occurs during attempt to make via: cc -m32 -s -o ford_check_password ford_check_pws.o wsl4_cookie_auth.o fds_auth.o -L. -L/ford/thishost/proj/dmadmin/ford/lib -lcrypto -lldap50 -lssldap50 ...
0
votes
1answer
339 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
47 views

Understanding a make file for making .ko files

I know the purpose of this make file; it is a driver’s Makefile, which would invoke the kernel’s build system from the kernel source. But Unable to understand what exactly is going on. # Makefile – ...
3
votes
1answer
92 views

How to build a custom kernel with localmodconfig that support hardware of multiple machines?

When configuring a server to run a single task, like an appliance, there might rise the need to build a custom kernel. For example to save disk space. Ubuntu Core 13.10 amd64 root filesystem is a ...
0
votes
3answers
85 views

In makefile when do we use .o files?

In the following make file, what is the significance of adding .o files instead of .c files? CC=gcc CFLAGS=-I. hellomake: hellomake.o hellofunc.o $(CC) -o hellomake hellomake.o hellofunc.o ...
1
vote
1answer
78 views

modules make: *** /lib/modules/3.7-trunk-amd64/build: No such file or directory

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 ...
1
vote
2answers
317 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 ...
0
votes
0answers
47 views

CMake Error “Cannot open options file specified with @”

I am having trouble OpenCV with the installation of OpenCV on my machine. I run Ubuntu 12.04. When I run the make command, the computer returns at some point this error: moc: Cannot open options ...
2
votes
4answers
78 views

How Can I Change the Default arguments to gcc When I run Make “filename”

Forgive me if I posted this in the wrong Stack. Every time I run make for a file without any Makefiles in the directory, make still works and compiles the source code but only with the arguments: gcc ...
1
vote
2answers
30 views

RPM specfile for C/C++ project: how do I know how to fill in Requires and BuildRequires fields?

I have several C/C++ projects with sources and makefiles and I'm trying to pack them into rpms. Defining the dependencies for the created packages has become a problem for me. Concretely I need to ...
0
votes
1answer
27 views

Trouble using `make gconfig` in ubuntu linux

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
1
vote
1answer
34 views

fmem compile error with make

I am a beginner in the Linux world and I'm trying to figure out how to run the make command. I'm trying to make use of fmem (a tool found on the internet), and it is said that "make" must be run from ...
1
vote
2answers
149 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 ...
0
votes
0answers
30 views

How to install libevent tmux?

I've been trying to install libevent / ncurses / tmux into '$HOME/local', but am having an issue running .configure for tmux. What I am trying to do is install it as follows: TMUX_VERSION=1.8 ...
2
votes
1answer
31 views

makefile uses same receipe for multiple targets

i love this makefile but if i call 'all' or 'lab4' it will -o the name 'lab4' but build using the dbug receipe. if i call 'dbug' it will -o 'dbug' and use dbug receipe. what am i doing wrong? i stole ...
1
vote
1answer
76 views

Linux Debain Squeezy Distro: Weakerth4n, Kconfig && make issues

I am running the Weakerth4n linux operating system on my old dell d600 laptop I got at Defcon for $80 USD. Anyway I had a question about making certain programs (like Virtual Box) this may be as ...
0
votes
1answer
17 views

Poppler.h fatal error while installing Slider from git on Tanglu (Debian)

People! Trying to install little PDF presentation soft (https://github.com/TrilbyWhite/Slider). When trying to do "make" I get this: slider.h:9:21: fatal error: poppler.h: No such file or ...
3
votes
2answers
6k 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
2answers
168 views

What do $@ and $< in a makefile mean?

I am seeing a makefile and it has the symbols $@ and $< in it. I have never seen them, and Google does not show any results about them. Do you know what these commands do?
3
votes
1answer
90 views

How do I change which version of Qt is used for qmake?

I feel like there should be a simple way of doing this, but my googlefu is failing so I'd really appreciate some info on how to switch (or even permanently change) which version of Qt is used when ...
0
votes
1answer
187 views

Building binutils - lfs - error while 'make'

I'm going to build my own Linux from scratch, but I've got an error while running 'make' for binutils in chapter 5 I get some errors. The output of 'make' is here: http://pastebin.com/8aVz6jfd There ...
1
vote
3answers
952 views

jemalloc and other errors making redis on centos 6.4

I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before). cd redis-2.6.16 sudo make ...
2
votes
1answer
122 views

How to extract files from the uImage?

Buildroot is generating Images for an embedded device where they should run on. This is working very well. In those Images the rootfs is included. Due to some research I'd like to look into that ...
1
vote
1answer
66 views

Long gcc compile time

So far my compilations have either succeeded or failed but his time it just got stuck. I'm compiling gcc on a Linux Synology NAS. However, the compilation process has run for 3 days and I start to ...
0
votes
0answers
105 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
0answers
15 views

Make error - 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 ...
1
vote
2answers
130 views

/usr/bin/ld: cannot find -ldb while compiling iproute2

I am trying to compile iproute2-3-12-0 on Fedora 19, I have BerkeleyDB installed, the command ls -la /usr/lib/libdb* gives following results: -rwxr-xr-x 1 root root 1847852 May 16 2013 ...
0
votes
0answers
20 views

How do I install GCC and make on a mac without administrator access or using Xcode?

I'd like to install gcc and make on my Macbook Air, but I don't have root access on it. I found this link through searching on google, but I have no idea how to set up the prefix's so that the actual ...
0
votes
1answer
74 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
1answer
317 views

Fedora make command broken, kernel mismatch

On a new Dell Inspiron 3521, I tried installing Linux. First try was Ubuntu, but couldn't get the WiFi working. After trying all sort of things and commands, some errors started to show. I then ...
1
vote
1answer
43 views

File (products) of a kernel cross compilation

When the kernel is cross compiled (example. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-), what are the newly created files and their meanings? I'm not looking for a detailed explanation of each ...
0
votes
2answers
177 views

Compiling multiple C++ files with make

I made a makefile to help compile multiple C++ files, but it is giving me "command not found" errors. Could anyone help me to fix it? The errors I get: Make: line 1: main.out::command not found ...
0
votes
0answers
42 views

C Preprocessor (cpp) and cc1 issue

I've been trying to fix a problem related with cross (kernel) compilation which as given the following message: gcc: error trying to exec 'cc1': execvp: No such file or directory I found that this ...
4
votes
1answer
43 views

Check last messages

I let a make command running last night when connected via SSH to a remote machine. Then had to close that SSH session, letting make run. How can I check the last printed messages on the console (to ...
2
votes
1answer
29 views

compiling PHP fails cause of libpcre

I'm trying to compile PHP myself as I want to use PHPBrew to switch between multiple versions of PHP. I already solved a ton of problems in the process, but with this particular one I can't get any ...
2
votes
1answer
366 views

Error compiling FTDI VCP drivers: Cannot find version.h

driver installation fails of FTDI VCP driver during make install. Running ElementaryOS with kernel 3.11.0-14-generic make install awk: cannot open ...
0
votes
1answer
265 views

install-recursive Error while installing libLBFGS + cygwin

I am building binaries for CRFSuite in cygwin based on these instructions: In Linux environments, download the source package of libLBFGS, and build it. If you do not want to install libLBFGS into ...
2
votes
0answers
64 views

Trouble embedding clang in a standalone application

I am running Ubuntu 13.04 on my end and I have installed clang as well as libclang-dev and llvm (through apt). I tried hard to run RecursiveASTVisitor example given here:- ...
1
vote
1answer
182 views

How to get variables from the command line while makefile is runing?

Such as in bash script: read -p "Only UI(y/n)" Temp_Answer. Is it possible to do this while Makefile is runing? Because I want to do different base on the $Temp_Answer (Y or N) in Makefile.
0
votes
2answers
3k views

Problems with CMake in CentOS 6

I try to install a software in CentOS 6.2, without success. In README file it says: Requirements: - qt4 gui lib version >= qt4.6.x Note that many linux distributions split packages into a ...
1
vote
1answer
493 views

How to install Mono v3+ in Ubuntu?

How can I install the latest release of Mono in Ubuntu Saucy? In order to develop in a free OS, I need to setup Mono (that now supports .NET 4.5). This is what I did: Download and uncompress ...
0
votes
1answer
31 views

BLT2.z installation

I'm trying to install BLT2.4z, with Tcl/tk8.4. When I run command make I see this: (cd src; make all) gcc -c -Wall -O6 -I. -I. -I/Users/scarter/tk8.4.20/unix/include ...
0
votes
3answers
93 views

How do I fix “make: No rule to make target `config'”? [closed]

I am very new to Linux, running Mint 15. When I type make config in the terminal, the system responds with: make: *** No rule to make target `config'. Stop. Any idea how to fix that problem?
2
votes
0answers
73 views

Binutils documentation compilation problem

I'm trying to compile and install binutils+GCC for my machine on my own. I have compiled lastest binutils sources without getting any error, but installation seems to have some problems with gas ...