Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [makefile]

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

0
votes
0answers
258 views

Makefile Error - recipe for target failed

Trying to compile and link my program (sub2.cc) with system library routines. I needed to execute Make N=2 and then test the program with Make execute N=2. The first case in which I used the command, ...
1
vote
1answer
29 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
602 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
39 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
280 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 ...
0
votes
0answers
19 views

How can it be installed toolchain of LatticeMico32v(LM32) on Ubuntu 16.04?

I need to install a toolchain of LatticeMico32 (LM32) on Ubuntu 16.04, it is to work on a FPGA, and I found it, but it cannot install it successful on UBUNTU, and someone accomplished to install it ...
1
vote
1answer
124 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
44 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|...
1
vote
1answer
109 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
0answers
1k views

error: code model kernel does not support PIC mode in Ubuntu 17.10

I am a new user on ubuntu platform. I am trying to install an openvswitch on ubuntu 17.10 using kernel 4.3.4-040304; and during configuration i have observed below error. Can anyone please help me in ...
0
votes
1answer
412 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
190 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/...
0
votes
0answers
131 views

Problems linking the fftw library correctly

I recovered the code of a colleague that compiles perfectly on mac but when I try to compile it on my Ubuntu based computer I have errors. To be specific, I have two folders and each one of them ...
3
votes
1answer
184 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
82 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
700 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
851 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 = ...
1
vote
1answer
310 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
331 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
63 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
214 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
173 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; ...
3
votes
1answer
352 views

Error when trying to install GPGME

I'm trying to follow this descrption for installing GnuPG interface on Ubuntu. The output of ./configure is checking for a BSD-compatible install... /usr/bin/install -c checking whether build ...
0
votes
1answer
274 views

How can I build static bz2 library?

I need the static library libbz2.a to compile a repo I have cloned from github. I have a dynamic library, libbz2.so.1.04, but there doesn't seem to be a static library. I found a solution to the same ...
0
votes
0answers
104 views

compiling GPL c source file and got Makefile error

I am trying to compile the GPL edition of a software Cubist on my Ubuntu machine. I used the command make all to compile/execute the code,getting error message: make cubist make: /bin/csh: Command ...
0
votes
0answers
92 views

Please help, i can't get this driver to go through the make process

Makefile:201: /lib/modules/4.4.0-59-generic/build/Rules.make: No such file or directory make: *** No rule to make target '/lib/modules/4.4.0-59-generic/build/Rules.make'. Stop. this is the error i ...
1
vote
0answers
254 views

Configure meshlab to convert .x3d to .u3d

I am following this guide to embed 3d plots from Wolfram Mathematica into a PDF created with latex. The author of the guide is using Ubuntu 15.04 and I am using Ubuntu 16.04. I have my .x3d file, I ...
3
votes
2answers
165 views

How to determine the host Multi-Arch default folder

I want to make a makefile that installs a library in the host default multi-arch folder, like /usr/lib/x86_64-linux-gnu and /usr/lib/i386-linux-gnu/ and /usr/lib/arm-linux-gnueabihf. But without ...
0
votes
0answers
530 views

makefile to compile opencv and cuda code

I am having trouble in compiling my opencv and cuda code in ubuntu. I am running cuda-8.0, opencv-3.1.0 and ubuntu 16.04 LTS. I used the following make file to compile my code: CXX=g++ ...
0
votes
1answer
214 views

makeinfo fails in makefile for building toolchain

my makefile won't finish because the command: makeinfo -I . as.texinfo fails. Is there anyway to skip this since its just for compiling the documentation? here's the last part of make's output: ...
1
vote
1answer
816 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
0answers
121 views

Changing Makefile to ensure MEX points to matlab mex binary

I have download a repository from the following link code repository to run the code it is mentioned that "Edit matconvnet/Makefile to ensure MEX points to your matlab mex binary." How to run ...
3
votes
1answer
7k views

How to install libsass on Ubuntu 16.04?

I've been trying to install libsass on my dev machine to use sassc, but I'm not having any success. Most of the tutorials that I have found are from earlier this year and don't seem to work (for me) (...
1
vote
1answer
7k 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'. ...
0
votes
0answers
378 views

Find suitable makefile parameters for TP-Link TL-WN823N Wifi USB Adapter driver [duplicate]

I need to install the drivers for a TP-Link TL-WN823N Wifi USB Adapter, without which I cannot access the internet on my linux machine. The instructions in the linux driver installation manual tells ...
2
votes
2answers
164 views

How to compile and run “protoident”

I'm trying to compile and run an open-source DPI tool named Protoident. So I downloaded its source code from Github and searched inside the directories for compile/build manuals, but I found nothing. ...
0
votes
1answer
227 views

I'm having trouble with make command for obs browser plugin

So I found on Obs forums this browser plugin which's on github https://github.com/bazukas/obs-qtwebkit I'm a bit new to Ubuntu so I may be doing something wrong. But I downloaded the zip went to files>...
2
votes
1answer
147 views

SSH executes the command differently

After several experiments I got to a surprising behavior by SSH. I usually access to a specific application through an SSH connection. In fact, that app is on a virtual-box on a workstation in a LAB. ...
0
votes
1answer
1k views

Customise multitouch gestures on 16.04

I'm following the instructions here but I get an error when I run sudo make and sudo make install. Any ideas on how to fix this error: make all-recursive make[1]: Entering directory '/home/me/...
0
votes
0answers
25 views

what is the file ended with *? [duplicate]

I have a question. In ubuntu terminal, when i type $ ll all files in directory are shown. By the way what is the process* file? and also thread* file? What should I do to make those files?? ...
2
votes
0answers
122 views

How to install perf in make/build kernel process from source?

I am building an customized ubuntu from source files that include the tools/perf. What should I change in makefile or build process to install perf tool automatically in the building customized ubuntu ...
0
votes
1answer
152 views

How to use upstart tasks to create a new file with today's date?

I am trying to use Upstart to create a new file with today's date. I have created a file called "Open.conf" at /home/myusername/.config/upstart I have the following lines in that file: description "...
0
votes
1answer
1k views

Not able to install VLC program from .tar.xz file

I successfully uncompressed the .tar.xz file and then I also ran the ./configure command and I think it also worked. But the problem comes when I try to execute make command. The given INSTALL file ...
0
votes
1answer
1k views

Makefile giving error

I recently started learning C language on Ubuntu 15.10 .Today I learned about Makefile from http://c.learncodethehardway.org/book/ex2.html .But the problem is I keep on getting error bharat@...
0
votes
1answer
505 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 ...
2
votes
1answer
174 views

ubuntu make file question

I have a little question on a make file, here is the code: KERNEL_VERSION := $(shell uname -r) KERNEL_MODLIB := /lib/modules/$(KERNEL_VERSION) KERNEL_SOURCES := $(shell test -d $(KERNEL_MODLIB)/...
1
vote
1answer
6k views

Package was not found in the pkg-config search path

I am trying to install WaoN. When I run sudo make -f Makefile.waon it gives me the following errors: gcc -Wall -march=pentium -O3 -ffast-math `pkg-config --cflags fftw3` `pkg-config --cflags sndfile` ...
1
vote
1answer
356 views

problem in installing libfreenect2 on ubuntu 15.04

I'm trying to install libfreenect2. I have cloned the repository. I have made cmake successfully. But when I make the file, I get the following error: [ 3%] Building CXX object CMakeFiles/...
2
votes
1answer
670 views

SNAP Installation C++

I am new to Linux and working in its environment. I have trouble understanding and installing SNAP library for C++ on Ubuntu 14.04. I am following this tutorial. Inside the SNAP directory I run the ...
1
vote
1answer
126 views

Must have libdb to build apt-ftparchive

I'm trying to build APT. However, I keep getting this message from the ftparchive makefile: Must have libdb to build apt-ftparchive It doesn't always print this, only sometimes? Which package do I ...