Questions tagged [makefile]

Questions relating to makefiles, (The file that contains the instructions for make)

Filter by
Sorted by
Tagged with
0
votes
1answer
53 views

Is it possible to avoid executing make and make install with sudo?

Whenever it is possible, I try to use applications, libraries and plugins delivered through official Ubuntu APT. However, sometimes I try to compile something, like resynthesizer plugin for GIMP. In ...
0
votes
2answers
28 views

Makefile with if statement error

Attempting to create a makefile with a run rule which has an if in it. When I run the command make run it returns this error: /bin/sh: 1: Syntax error: end of file unexpected (expecting "then&...
0
votes
0answers
34 views

make: ifort: command not found

I'm kind of a newbie to all of this, so my question might be dumb but: I'm trying to compile a make file on ubuntu shell on windows, but i've run into a problem "make: ifort: command not found&...
28
votes
4answers
332k views

Error when installing Makefile: “make: *** No targets specified and no makefile found. Stop.”

In short while I run the make command it says: nir@nir:~/Downloads/xf86-video-intel-2.17.0$ make make: *** No targets specified and no makefile found. Stop. I looked inside the folder-xf86-video-...
1
vote
1answer
3k views

Package requirements (glib-2.0 >= 2.37.3 …-snip-…) were not met

I'm attempting to compile the Gnome System Monitor and I'm running into an error when executing ./configure. Not sure what packages are required here as I've attempted to apt-get libgtop-2.0 and ...
0
votes
1answer
5k views

Error running make - array type has incomplete element type

I am trying to install libbow library. When i run make file the following error is generated gcc -c -Ibow -I. -I./argp -DHAVE_LIBNSL=1 -DHAVE_STRERROR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_RANDOM=1 -...
0
votes
1answer
53 views

Make error with Grib2 and Netcdf

I am trying to install a software package designed for weather modeling. This can be found here https://github.com/usgs/volcano-ash3d-metreader. The issue comes when I am trying to execute the 'Make ...
0
votes
1answer
81 views

Makefile: python: command not found

I have a Makefile that contains these two lines run: sim @python run.py $(INPUT) When I tried to run make run, I got the error message saying python is not found. I soon realized that was because ...
0
votes
1answer
35 views

makedepf90: program for automatic creation of Makefile-style dependency lists for Fortran source code

I assumed it is only a couple of seconds installing this program, but it confuses me honestly. this program is for the automatic creation of Makefile-style dependency lists for Fortran source code. I ...
1
vote
1answer
49 views

Error when using 'make install' command

I am attempting to install the WRF weather software (http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP7) that requires the installation of certain libraries. I can unpack the ...
2
votes
1answer
6k views

How do I build a project with qmake-qt4?

I'm new user of Ubuntu, so excuse me if my question is very obvious. I have a 32-bit Ubuntu 11.10 installed in VirtualBox, and I want to build a project using qmake-qt4, the problem is that I don't ...
1
vote
1answer
118 views

Install wxWidgets-3.1.4, Install Code::Blocks

After downloading and installing (./configure, make install) the latest wxWidgets-3.1.4 version from official page. I checked out latest Code::sBlocks with svn from official repository. In the folder ...
0
votes
0answers
71 views

Makefile error - *** mixed implicit and normal rules: deprecated syntax

I am trying to run a Makefile script and am getting the following error in the console output: touch node_modules/@my-repo/n-gage/index.mk node_modules/@my-repo/n-gage/index.mk:7: *** mixed implicit ...
3
votes
3answers
75k views

How to clean executable using make clean?

After compiling several *.c and *.h files using make, I cleaned up the object files using make clean. However I don't know how to remove the executable. my makefile code --> CC=gcc CFLAGS=-I....
7
votes
2answers
14k views

My makefile results in: No rule to make target `arch/x86/tools/relocs.c', needed

I am using Ubuntu 12.04. I wrote a simple hello world kernel module (hello.c). I wrote the folllowing makefile for it: obj-m+=hello.o KDIR:= /usr/src/linux-headers-3.2.0-24-generic-pae all: $(...
0
votes
0answers
468 views

collect2: error: ld returned 1 exit status while compiling

first i want to say that i looked for every solution for this problem in the site ,but no luck ! i have a project which i'm trying to compile , when i compile it on Ubuntu 14 everything is ok , but ...
1
vote
2answers
765 views

Software-installation error (makefile) on Ubuntu 20.04

I was trying to install geopsy software, but when I ran sudo make install the following error occured: cd mseed/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /opt/geopsy-3.3.0/...
1
vote
1answer
75 views

Newbie: How to use QMAKE to compile and install FaustLive on Ubuntu Studio 20.04? Can't create Makefile with qmake w/ linux-g++

FaustLive is an open source prototyping environment for Faust (open source, compiled audio programming language). Here is FaustLive's GitHub: https://github.com/grame-cncm/faustlive After successfully ...
1
vote
1answer
8k views

How to install Oracle 12C on Ubuntu 16.04

I tried unsuccessful installation of Oracle 12C on ubuntu 16.04.1 64 bits several times. Typically I get error: Error in invoking target 'all_no_rcl' of makefile '.../rdbms/ins_rdbms.mk'. ...
1
vote
1answer
5k views

Install rt3572 driver for Asus Usb-N53 Adapter

I recently bought the asus USB-N53 wireless adapter, and want to install the latest driver for it. It comes with instructions of how to install the driver from the files provided, but I can't use ...
0
votes
0answers
22 views

Hello Everyone, I am trying to cross compile bintuils on ubuntu for a custom OS, when I am compiling I get the error multiple target patterns. Stop

here is the error in terminal configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is ...
-2
votes
1answer
95 views

shell unnanme -r command not found

shantanu@LAPTOP-3NM82R8U:~/c$ make make: unname-r: Command not found make -C/lib/modules//build M=/home/shantanu/cmodules make[1]: *** /lib/modules//build: No such file or directory. Stop. Makefile:3:...
3
votes
1answer
240 views

“make” command does not work in directories containing “space”

I often use make to compile programs. But, sometimes, only with some packages, when the directory contains a space, it says: No such file or directory Example: If I run make in the directory /home/...
0
votes
1answer
48 views

Unable to locate package makefile

Hello everyone I am new in using Ubuntu operating system and facing a problem. I have installed GCC using sudo apt-get install gcc but when I run the following command sudo apt-get install ...
0
votes
0answers
24 views

Makefile Error pl-0 Compiler

i got a problem with my makefile an a really dont no why. So i had to programm an pl-0 compiler in c / c++. So the scanner and the parser is generatet with flex and bison but now i cant compile it. ...
0
votes
0answers
113 views

How can i solve this error: make: *** No rule to make target 'tzselect.ksh', needed by 'tzselect'. Stop

I'm trying to install the tzdatabase, After setting up 'Makefile' as far as i believe i can. And running (with the dummy path being changed) sudo ./Makefile TOPDIR=/dummypathhere install make: *** ...
0
votes
0answers
681 views

cannot execute binary file: Exec format error - Ubuntu 16.04 + Make + GCC

I am aware that other people had similar issues but mine seem to be unique as I am not making obvious mistakes. I have reviewed other questions and putting all required details below. When I am ...
0
votes
2answers
3k views

m4 preprocessor “ERROR: end of file in string”

I'm getting this error msg: m4:myPerlScript.pl:77: ERROR: end of file in string when trying to use m4 to replace a string in some perl scripts. I'm making the call inside a makefile. $(OUTDIR)/%: ...
0
votes
0answers
51 views

Why do i get a error from make while trying to install a tar.gz file

im trying to install winehq from online and gave me a tar.gz file so i ran tar xvfc and got the wine folder.I read the README.txt file and it told me to type ./configure and i got o errors then i ...
0
votes
0answers
172 views

Finding -lgcc_s

I'm trying to install a program that seems to use libgcc_s.so. After implementing the possible remedies suggested in the SO:LINK, I still can't figure out why the compiler fails to find it. I get the ...
0
votes
1answer
955 views

Trouble linking libraries in FFTW

This error happens when I try to execute a Makefile: /usr/bin/ld: cannot find -lrfftw_mpi /usr/bin/ld: cannot find -lfftw_mpi /usr/bin/ld: cannot find -lrfftw collect2: error: ld returned 1 exit ...
1
vote
1answer
2k views

make: *** No rule to make target 'ell/util.c' needed by 'ell/util.lo'

I need to install ofono, so I cloned this ofono repository and did autoreconf -fi and ./configure in the directory. But when I am running make or sudo make install I am encountering the following ...
0
votes
0answers
41 views

How to stop “make” from running “clean”?

Have a Makefile like this: all: build build: dot2tex -ftikz temporal_dag.dot --figonly > temporal_dag.tex latex notes && bibtex notes && latex notes && ...
0
votes
0answers
71 views

Build libfslcodec-4.0.8 on Ubuntu 16.04 for IMX6Q

I installed Ubuntu 16.04 with kernel 4.1.15 on IMX6Q "sabresd" Board and successfully boot. I used this instruction to install rootfs also I changed distro and solved some issues by myself. Just now ...
0
votes
0answers
97 views

make error when installing thrift 0.5.0

I get error whenever I'm trying to 'make' file, I did this before I typed 'make': 1)tar zxf thrift-XXX.tar.gz 2)cd thrift-XXX 3)./configure The output of ./configure is: ./configure checking for a ...
2
votes
2answers
1k views

ogr_fdw compile error `Fatal error: can't create ogr_fdw.o: Permission denied`

I'm trying to install PostGIS on Ubuntu 17.04 and I've been following this guide to the point. Everything works perfectly, but when work my way down to install ogr_fdw foreign data wrapper for spatial ...
1
vote
0answers
37 views

How to make 'Make' to handle more new pairs of source files indicated by its extension name

How can we modify a Makefile script to handle more new pairs of source files indicated by its extension name to be compiled by Make automatically correctly and preferably interactively #... objects = ...
0
votes
0answers
118 views

Problem while executing a Makefile

i'm installing the Rocket-Chip repository. I'm following the instructions from https://github.com/chipsalliance/rocket-chip. The instructions are: $ git clone https://github.com/ucb-bar/rocket-chip....
0
votes
1answer
129 views

Packaging fails upon compiling 16.04 HWE kernel

Short summary: Packaging script looks in wrong path. Detailed error summary: To compile the kernel, I used the compilation instructions from here, which included the steps: Checkout git sources ...
0
votes
0answers
41 views

Continue custom kernel creation and not start over again from square one

Task: Create a custom Ubuntu kernel from git sources (in my case hwe-branch). Short summary: I want to fix a error reported by the build scripts and then repeat only the last compilation/packaging ...
4
votes
3answers
41k views

Help locating linux/version.h

I'm trying to fix an old program, Previous issues I had could be found at Missing modversions.h When I make the program it gives me the following error, kaodv-mod.c:22:27: fatal error: linux/version....
3
votes
1answer
10k views

How do I make the 'make' command work?

I am trying "Linux Kernel Module Programming - Compiling the Module" as in this youtube video. First I created a hello.c program. Then I used the command #gedit Makefile. It opens a window which is ...
0
votes
1answer
1k views

File creating permission Denied [duplicate]

I have removed Windows 7 and installed Ubuntu 14.04. I have successfully installed LAMP but the problem is that I cannot save a file with a PHP extension in local-server using the Bluefish editor . ...
0
votes
1answer
459 views

Error while loading shared libraries: libpgplot.so:

I have compiled a program named vmed from its source code using Makefile. When I run make the compilation goes without any error, however when I try to run the program, it gives me following error: ./...
2
votes
0answers
116 views

configure: error: enet not found

I am trying to build 7kaa game on my Ubuntu machine. To build Makefile.am, I ran ./configure and the tail of the result is checking for gettext... yes checking for iconv... yes checking for OPENAL......
1
vote
2answers
526 views

How to modify build rules in Makefile

I tried to compile FFmpeg from source code located HERE. All is good, but the built binaries lack ffplay. And looks like the build rule is missing from the makefile located under /fftools. How can I ...
1
vote
0answers
35 views

How to list /find all driver files getting compiled while doing make?

Driver files getting compiled while doing make, is there any ways to list using the makefiles?
0
votes
1answer
213 views

The following Makefile is not working and I am not sure what's going on

obj-m += task.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean Makefile:3: *** missing separator. Stop.
2
votes
1answer
1k views

How to save Makefile output in a child directory

Running make in a folder containing a Makefile stores the output files of that Makefile in the same directory. Is it any way to store them in a child directory passing some arguments to the make ...
0
votes
1answer
1k views

Unable to run Makefile targets in Windows Subsystem for Linux (Ubuntu 18.04)

I feel I've tried everything but I feel I'm missing something really simple.. I'm trying to run a makefile from a project (which works fine on a Mac) on a Windows machine with WSL running but get a ...