Questions tagged [makefile]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
76 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
41 views

shell unnanme -r command not found [closed]

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:...
0
votes
1answer
24 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
14 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
25 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
1answer
28 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
0answers
62 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
0answers
51 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
0answers
39 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 && ...
1
vote
1answer
392 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
79 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 ...
0
votes
0answers
43 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 ...
1
vote
0answers
36 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
202 views

Makefile.config:9: *** missing separator

I am trying this installation guide to setup caffe into raspberry pi 3. But after the 'makefile' change step, i am getting the following error: 'Makefile.config:9: *** missing separator. Stop.' ...
0
votes
0answers
90 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
0answers
34 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 ...
0
votes
1answer
105 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 ...
2
votes
0answers
81 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......
0
votes
0answers
103 views

Linking errors when trying to build a JUCE application

I'm using JUCE and am attempting to get their auto generated hello world project to work on my Ubuntu machine. JUCE also generates a makefile which compiles fine but I get this error when it begins ...
0
votes
0answers
65 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 ...
1
vote
2answers
362 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
350 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: ./...
0
votes
1answer
113 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
882 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
0answers
194 views

Installing SCREAM as a receiver in Lubuntu 19.04

I am new to Linux and don't know how to proceed. All I have done so far is 1 - installed the driver in Windows 7 2 - entered in Lubuntu terminal: sudo apt-get install libpulse-dev 3 - created a ...
0
votes
1answer
789 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 ...
0
votes
0answers
196 views

Compilation error when building squashfs tools

I tried to compile unsquashfs tool from GPL source, the sources are in the 'squashfs-tools' directory. Executing make gives error: Makefile:2: *** Sqlzma is not defined. Stop. As I see, the sqlzma ...
0
votes
1answer
59 views

Difficulty installing program through makefile: “Are the same file”

I am attempting to install a CFD code called MISES on my ubuntu system, but every time I try to make the file, it generates a bunch of .o files then fails with the following output: install -s ises .....
0
votes
1answer
131 views

Where do I put my .a files

I installed Irrlicht earlier and realized the package didn't come with the libIrrlicht.a that it's supposed to. After an hour of trying to understand why it wasn't working and compiling the necessary ...
0
votes
1answer
183 views

problem in making software

I am trying to make an old version of lammps-13Jull11. I used this command in the src directory: make openmpi but it failed because of these errors: make[1]: Entering directory '/home/alireza/lammps-...
2
votes
1answer
19k views

Makefile 42: recipe for target 'util.o' failed

I am getting this error: ~/Distrib$ make all /usr/bin/g++ -O3 util.cc -I/home/shah/Distrib util.cc: In function 'into countLines(const char*)': util:19:8: error: 'exit' was not declared in this ...
2
votes
1answer
3k views

Why is cmake not finding an installed package?

I'm trying to build this repo for neural networks implemented in CUDA. I've followed the instructions in that link and performed the following actions on a shell: git clone https://github.com/...
3
votes
2answers
4k views

Bash Syntax Error Missing expecting “then”

For the following lines in my Makefile I get the error Syntax error: end of file unexpected (expecting "then") Code: if [ ! -d upload-api/app-router/ ] then git clone someRepo upload-api/app-...
0
votes
2answers
65 views

Software compiled from source does not work after first run

Hi I am trying to use a piece of Japanese NLP software called MeCab, written in Python and distributed with only source. ( http://taku910.github.io/mecab/ ) It has been giving me trouble since the ...
1
vote
1answer
1k views

After upgrading the cmake, I am still getting error for installing the ITK?

I want to install a software, which requires ITK and it is raising an error: [ 52%] Performing configure step for 'ITKv5' Not searching for unused variables given on the command line. CMake Error at ...
1
vote
1answer
189 views

Figuring out if gcc make was successful

I am a very inexperienced Ubuntu user. I am using a computer cluster at my university via SSH. The cluster has a version of gcc that was too old for something else that I needed to install, and I am ...
0
votes
3answers
654 views

Remove files with specific extensions by regexp

I have Makefile for compiling LaTeX *.tex file (tex->dvi->ps->pdf). Then I have command clean for removing unnecessary temporary files (dvi, ps...) like this: rm `ls | grep "^${FILENAME}\.(aux|dvi|ps|...
2
votes
1answer
358 views

Trouble installing WaoN, Ubuntu 16.04

Discovering WaoN for converting soundfiles to midi, I cloned the git repository https://github.com/kichiki/WaoN and attempted to compile it. I had some errors and installed the necessary (or so I ...
0
votes
1answer
995 views

./configure doesn't generate MAKEFILE when building x11spice

I am trying to enable x11spice in my Docker container, I followed the README but after ./configure, there is no MAKEFILE was generate, so make has an error output saying make: *** No targets specified ...
0
votes
0answers
346 views

Wine Makefile failed Ubuntu 16

I'm trying to install wine, fallowing the instructions from https://wiki.winehq.org/BuildingBiarchWineOnUbuntu I'm at Build 32-bit Wine, everything before it was OK, so after I type . ~/wine-git/...
3
votes
1answer
243 views

All Makefiles broken

I can't run any Makefiles anymore. I get: ./Makefile: line 1: sorter:: command not found Content of Makefile: sorter: sorter.o gcc sorter.o -o sorter sorter.o: sorter.c gcc -c sorter.c ...
0
votes
1answer
118 views

Makefile unusual behaviour

I have written a make file for a simple cpp program containing cout statements. #This a makefile for compiling the hello world cpp program. CC=clang++ all: run test.o run: .cpp=.o .PHONY: ...
0
votes
0answers
1k views

Error compilling program with makefile : undefined reference to symbol 'trunc@@GLIBC_2.2.5'

I am trying to compile a program on Linux+openmpi using a makefile but got this error: I have looked at answers to similar issues but can still fix it. /usr/bin/ld: outseis.o: undefined reference to ...
1
vote
0answers
2k views

“recipe commences before first target. Stop” Backyard Brains' “Spike Recorder”

I'm trying to install Backyard Brains' "Spike Recorder" on my Ubuntu 16.10 Gnome laptop. I've resolved some problems but now I'm getting the error "recipe commences before first target. Stop". CCX = ...
2
votes
2answers
885 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 ...
0
votes
0answers
633 views

Failed to build wine, Makefile missing separator

I tried to build the last version of wine (2.10, downloaded just now from the official webpage). ./configure executes fine, but when I enter make, it outputs an error: Makefile.in:101: *** missing ...
1
vote
1answer
139 views

@command -v gpg why is the version flag before the command?

verify: @command -v gpg 2>/dev/null || { echo "Cound not find gpg. Aborting."; exit 1; } I saw the following command in a Makefile. I understand that it does the following: verify is called ...
1
vote
0answers
387 views

Installing HTK for ubuntu - issues with X11

I seem to have some problems with X11 when compiling HTK. Make all give me the error message: /usr/bin/ld: cannot find -lX11 Looking for it give me : ld -lX11 --verbose =======================...
0
votes
2answers
303 views

I just couldn't build this iwlwifi core source. Others could

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release So I'm trying to get wireless working on my laptop with Ubuntu 16.04. I figure I need to build the package as the wiki instruct; ...