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

learn more… | top users | synonyms (1)

2
votes
0answers
802 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 ...
2
votes
0answers
157 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 ...
2
votes
2answers
2k views

How to change the install path of my Linux Source tree?

I was trying to bring up my custom kernel. I did the following : $ make menuconfig && make modules && make modules_install && make install I would like to change the ...
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.
1
vote
3answers
172 views

Using makefile assignments from a shell script

For example: srcdir = ../libc # Src directory prefix = /usr/local // Installation path The first line is from a makefile and second from config.make. I need to access the variable in a ...
1
vote
2answers
4k 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 ...
1
vote
1answer
274 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?
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
2answers
862 views

If I run ./configure, then make again, then will it ruin things if I want to run make a 2nd time?

http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html#Quick-Instructions is what I'm trying to install. Anyways, I ran ./configure and make but then I ran make ...
1
vote
2answers
5k 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
748 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 ...
1
vote
2answers
320 views

How to install LuaJIT on FreeBSD without using Gmake?

Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)? If so how? When I attempt to use freebsd-make, LuaJIT doesn't build.
1
vote
2answers
266 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. ...
1
vote
1answer
320 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
2answers
76 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 ...
1
vote
1answer
57 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 ...
1
vote
3answers
48 views

How to check if aptitude did something?

I've a CI build process during which I install a debian package from my local reprepro. I have a Makefile which does call aptitude to install the package from its own repository like this sudo ...
1
vote
1answer
3k views

Problem compiling a driver : “No rule to make target”

First of all I am running a CentOS 6.4 installation. My computer is a laptop and I am trying to install the drivers for my ethernet card, because this week end I lost my ability to connect to the ...
1
vote
2answers
316 views

How to avoid “make” redoing a library

I have a project for school. In the root dir, I have 3 subdirs which all have a makefile (because there will be 3 executable files), and there is 1 lib dir. This dir contains my library source files ...
1
vote
2answers
408 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 ...
1
vote
1answer
44 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
2answers
6k 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 ...
1
vote
1answer
1k 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
2answers
616 views

Compiling PHP and installing it under one directory

I have to compile a few versions of PHP in work but I need an apache service for each version running like we have on Windows. However the configure options seem to have different folders for ...
1
vote
1answer
48 views

Recommended app for elaborating “System Charts” out of a Makefile in Ubuntu?

I'm looking for an application that is capable of plotting graphically as boxes on a chart (System Chart) all the components and operations of a Makefile so that the chart be taped prominently to the ...
1
vote
1answer
3k views

openssl-1.0.1e compiling on Debian

I am compiling OpenSSL-1.0.1e on Debian Lenny (armv4 architecture). I have been following the instruction on http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html to compile the source ...
1
vote
1answer
209 views

Cannot make anyfs-tools. My e2fslibs package seems not to be the compatible version

anyfs-tools promises to convert a ntfs partition into ext3. That's what I want to do. (I have backed up what was necessary). But when I try to compile anyfs-tools I get a make compilation error ...
1
vote
1answer
762 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
1
vote
1answer
35 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 ...
1
vote
1answer
34 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
1answer
283 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 ...
1
vote
1answer
105 views

cannot make protobuf on Solaris 8

I just downloaded protocol buffer (protobuf) 2.5.0 from here. Then I tried to install it on Solaris 8 (SunOS ms-sparc8 5.8). When I try to run make, I got this error. In file included from ...
1
vote
1answer
1k 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 – ...
1
vote
1answer
140 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 ...
1
vote
1answer
1k 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.
1
vote
2answers
1k views

How to make OpenWrt Makefile compile faster?

I have recorded that it took 50 minutes for an initial compilation of the OpenWrt firmware image, assuming all the necessary packages have been installed via sudo apt-get install. My BuildRoot Root ...
1
vote
2answers
424 views

Cygwin : make install up to date problem

I have installed mingw-gcc: GNU Compiler Collection using the setup of Cygwin. When running "make install" command : $ make install And I get this message : make: `install' is up to date. What ...
1
vote
1answer
885 views

Assembly files in obj-m list when building kernel modules

I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is: obj-m += kexec.o machine_kexec.o relocate_kernel.o When I run the makefile, it complains that there's "no ...
1
vote
1answer
389 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 ...
1
vote
1answer
86 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
1answer
196 views

Compiling a kernel module with some options

I have a bug in a driver (iwlwifi/iwlagn), which I have reported, and the developers are asking me to "build the driver with debug options enabled." More specifically: Debugging output is enabled ...
1
vote
1answer
708 views

Autocompletion for Makefile rules in tcsh

I'm using tcsh in a SUSE 11 box and I realized that when typing makeTab it allows me to auto-complete the rules available within the Makefile, not the files that are inside the current directory. ...
1
vote
1answer
148 views

Make errors when compiling hulahop

When I cloned hulahop I had a few possibilities to install it. I have chosen the path with autogen.sh I used commands: $ sh autogen.sh # -> OK $ ./configure # -> OK But make fails: $ ...
1
vote
2answers
796 views

Ocaml compilation error in AIX 6.1

I meet the following error when I try to compile Ocaml on my server running AIX 6.1 : "../Makefile.shared", line 39: make: 1254-055 Dependency line needs colon or double colon operator. ...
1
vote
1answer
80 views

What do I install into a given install prefix

Which directories should I expect to have in an install prefix when I'm writing makefiles? I've noticed that in the common prefix /usr, there is no /etc, yet there is an /include dir, which isn't in ...
1
vote
2answers
1k views

Cannot find libgmp when compiling GCC 4.5.2

I'm attempting to compile GCC 4.5.2 as part of the Linux from Scratch book (http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html). My configure is as follows: ./configure \ ...
1
vote
1answer
165 views

configure not adding line-continuation characters to makefile

This is, perhaps, a bit of a bizarre one but I don't even know where to start looking so if anyone can point me in the right direction, I'll be very grateful. I've just done a fresh install of my ...
1
vote
0answers
17 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 ...
1
vote
0answers
37 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
42 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 ...