make is a utility that automates the build process by managing dependencies amongst targets.
1
vote
1answer
85 views
Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build
I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu.
Build instructions: Ubuntu:
make ( your cp210x driver )
cp cp210x.ko ...
4
votes
2answers
53 views
Git commit from within a Makefile
I have a Makefile for a Latex project I'm working on. Makefiles aren't my forte, but is there a way to do something like:
make git "My comment"
And have the makefile execute:
git commit -m "My ...
-1
votes
0answers
34 views
Declaration of variables in Makefile [closed]
Meaning of
XYZ = ANIMATION in Makefile is understood.
But how can we define this in a Makefile
install : ${xyz_files}
xyz_files = $(files :%=$(pqrdir)$(abcdir)/%)
$(pqrdir)$(abcdir) /% : prm/%
...
0
votes
1answer
65 views
Use of .. in Linux scripting and makefiles [closed]
what is the use of .. in linux scripting and in the following makefile?
MODULE =
EQUALIZER = ..
SRCS =
include ${EQUALIZER}/xyz.mak
include ${EQUALIZER}/pqr.mak
1
vote
1answer
52 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 ...
0
votes
1answer
39 views
Why is make unavailable on the default Gentoo liveCD?
Whilst attempting to install Gentoo on my desktop, I ran into some trouble getting my wireless card to work. This is the card I am using. The modules included with the Live CD didn't detect my card, ...
1
vote
1answer
28 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 ...
0
votes
1answer
32 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
62 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
123 views
GCC fails to build at linking libquadmath
I'm trying to build GCC (GCC 4.8, at revision 195144), but I get the following error:
libtool: link: ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" ...
1
vote
1answer
55 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
2
votes
2answers
252 views
How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?
I'm trying to create a package of Apache and its dependencies:
sudo make package-recursive \
__MAKE_CONF=~/make.apache22.conf \
PKGREPSOITORY=/usr/home/gvkv
Everything works fine; Apache and its ...
2
votes
1answer
175 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
94 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
1answer
145 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 ...
0
votes
2answers
59 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
36 views
Recompile a binary installation? (problems installing ejabberd XMPP server)
This is either a basic unix problem or one specific to ejabberd - I don't know enough to know which it is.
So I've installed ejabberd XMPP server using an OSX installer version 2.1.11 -- ...
4
votes
1answer
82 views
How should man pages be installed?
When distributing a custom utility I'll typically write a makefile that installs binaries to /usr/local by default
PREFIX ?= /usr/local
MANPREFIX ?= ${PREFIX}/man
install:
install utility ...
1
vote
2answers
49 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 ...
3
votes
1answer
313 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
0answers
115 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
146 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 ...
2
votes
1answer
57 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
106 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
41 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
0answers
50 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
42 views
Cleaning after installation
Is it safe to remove the downloaded tar once the program is installed (once I run ./configure, make, make install)?
0
votes
3answers
501 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
82 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 ...
0
votes
1answer
63 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
162 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
131 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
74 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
0answers
41 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
0answers
13 views
Trying to install DIP (Dialup Networking) package for SLIP protocol [duplicate]
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
251 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
62 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
75 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 ...
2
votes
0answers
67 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 ...
5
votes
3answers
242 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 ...
1
vote
0answers
248 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 ...
3
votes
1answer
87 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
165 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
167 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 ...
23
votes
4answers
8k views
Why can't gcc find libevent when building tmux from source?
I want to install tmux on a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with ...
1
vote
3answers
448 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
166 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 ...
0
votes
1answer
599 views
Building monotools-server, gtk+, pango - bizarre path issues
I'm attempting to build the monotools-server app from source. After days of hunting down missing dependencies (and in one case (xsp) having to manually modify a generated Makefile to remove a ...
0
votes
2answers
38 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, ...



