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

learn more… | top users | synonyms

0
votes
0answers
16 views

Problem with /usr/bin/ld: cannot find -lethercat

I type the command make -C version1_etl_hrt -f version1.mk but I get the error: /usr/bin/ld: cannot find -lethercat collect2: error: ld returned 1 exit status make: *** [../version1] Error 1 how ...
0
votes
0answers
18 views

gcc Makefile - how to link generic library name

Up to now my packages for Fotoxx have worked on all Ubuntu releases from 14.04 through 16.04. I replaced dcraw with libraw and now I cannot make such a universal package. Ubuntu 14.04 has libraw9, 16....
-2
votes
0answers
18 views

unable to run makefile (Like char drivers, UART drivers)

Unfortunately i run the below command.After this command i am not able to run any make file.I am also installed same OS but there is no use rm -rf make -C /lib/modules/$(shell uname -r)/build M=$(...
2
votes
1answer
68 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
0answers
50 views

Error while installing 'STAR' software with make

I am trying to install a software named "STAR" v.2.5.2a Installation should follow as under Linux: Get latest STAR source from releases wget https://github.com/alexdobin/STAR/archive/STAR_2.4.2a....
1
vote
0answers
47 views

Gromacs installation error: “make: No targets specified and no makefile found”

I am trying to install Gromacs 5.1.2 on Ubuntu 14.04. When I try to run make, it shows this warning, make: *** No targets specified and no makefile found. Stop. I am just a newbie, I looked up for ...
0
votes
1answer
386 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
22 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?...
0
votes
0answers
22 views

error when running make for snort

make[4]: *** [spp_anomalydetection.o] Error 1 make[4]: Leaving directory `/home/bisag/snort_src/snort-2.9.8.0/src/preprocessors' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/...
0
votes
0answers
155 views

htk in ubuntu “make all” error “Nothing to be done for `all'.”

Hello folks actually i am trying to install htk on Ubuntu 14.04.3 . I did same as per this tutorial and I also followed this but I am still facing an error when I try to give the "make all" command. ...
1
vote
0answers
24 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
48 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
213 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
154 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
0answers
144 views

tput not working at all under ubuntu

I'm using my usual makefile pseduo function to control the terminal output. define colorecho @tput setaf 6 @echo $1 @tput sgr0 endef Which works fine on my OS X machine and my ...
0
votes
1answer
48 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 ...
0
votes
0answers
25 views

Error: “No tagets specified…”

The complete message says: "No tagets specified and no makefile found". I am trying to install the QuietInsane Gimp plugin for my scanner. Following the instructions I started with navigating to ...
2
votes
1answer
44 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
790 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
203 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/...
0
votes
2answers
99 views

How to add permanent flags? [closed]

I'm trying to compile my file by using make file.cpp It is doing g++ file.cpp -o file I need to add permanent -std=c++11 to it. Is it possible? How to do it?
1
vote
1answer
222 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
74 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 ...
0
votes
1answer
394 views

“Command not found” error in the installation process

Why I receive the following error while trying to install this package? and how can I resolve it? root@me-System-Product-Name:/home/me/Desktop/mfcuk-master# ls AUTHORS configure.ac INSTALL ...
0
votes
1answer
4k views

Building Caffe: Failed to see hdf5.h

Hello Caffe is a library for deeplearning. When trying to build that library under Ubuntu 15.04, the compilation fails with the message: :~/App/caffe$ make all PROTOC src/caffe/proto/caffe.proto CXX ...
3
votes
2answers
2k views

No targets specified and no makefile found in Nominatim installation

I'm trying to setting up my own OpenStreetMap server and i followed the official tutorial in Wikipedia and one other tutorial. First i clone Nominatim from GIT and i build it by taping : cd ...
0
votes
1answer
69 views

Multiple files in program tar.gz installation package. What should I compile?

I downloaded a tar.gz file, extracted it and there are 3 files: Makefile, program.c and protocol.h I've opened them in gedit and Makefile contains only one line program : program.c protocol.h In ...
0
votes
1answer
146 views

I can't run a program in Ubuntu 14.04

I've got a problem with a program I downloaded last week from GitHub. I tried to chmod it (a+x), tick option to run it as a program, but it didn't help. I don't get any notifications. It just does ...
0
votes
1answer
48 views

Writing a makefile

I want to write a makefile that has a build rule, a run rule and a clean (delete the exe file) rule . This is quite a simple task, but how can one incorporate some rule in the makefile such that the ...
0
votes
1answer
816 views

make command fails

Hello Im completly new to Lubuntu(started this weekend). The first thing i want to install give me know a lot of trouble for this time. I want to install a driver for the Novation Launchapad. I have ...
0
votes
3answers
531 views

Error while make install xnee

I did the ./configure and make with root permission but I can't make install. output: Making install in libxnee make[1]: Entering directory '/home/alex/xnee-3.19/libxnee' Making install in src make[2]...
0
votes
1answer
1k 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 -...
1
vote
1answer
732 views

Building and using a lib without installing it? (e.g. libcurl)

I'd like to use libcurl (a lib that handles HTTP connections) by linking it statically to a program I am writing. I am new to building programs from their source, so I have no clue on how to do it (i'...
0
votes
3answers
4k views

how to run “sudo make” and sudo “make install”

I've installed lubuntu yesterday and noticed that the fans aren't working and want to try the solution kevbelisle came up with. http://ubuntuforums.org/showthread.php?t=2002668&s=...
1
vote
2answers
359 views

Make error for latex processing

I want to execute the following Makefile: main.pdf: main.tex main.bib pdflatex main.tex bibtex main.aux pdflatex main.tex pdflatex main.tex It comes from this site: http://en.wikibooks.org/wiki/...
0
votes
2answers
175 views

Edit make file permanently

I'm a newbie with Linux, I'm using for few days, I'm trying to edit a makefile, adding a line in the CFLAGS field, via gedit, but when I compile the file It reverse back to the original version, ...
0
votes
1answer
299 views

File creating permission Denied [duplicate]

I have removed Windows 7 and installed Unbuntu 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 . ...
1
vote
1answer
103 views

How to build a source file using make? [closed]

I am trying to build a source using make? This is the first time I am trying to do this as there is no other way to install the program. Contents of directory containing the source are shown here. I ...
0
votes
2answers
244 views

Makefile: how to change a specific rule

this is my first question here, I hope to do everything in the right way. I'm a quite new Ubuntu user and if possible I need some help with a specific Makefile. I downloaded QEMU 2.1.0 and I'm ...
1
vote
1answer
55 views

Looping in bash from Makefile

i need to write a Makefile that compiles each .cpp in current directory in .so file (with flags -shared -fPIC) and copyies .so file into "../../dir/" directory without ".so" extension. For example, ...
3
votes
1answer
430 views

does “make” recompile all of the files or just changed ones

suppose that you have a program which you installed that from source by make command . That program include files a.cc, b.cc, c.cc, d.cc and ... . Now I changed a.cc a bit. In order to enable the ...
1
vote
0answers
18 views

Modify Ubuntu toolchain

In version 11.10 the flag "--as-needed" became default in the Ubuntu toolchain. Due to many problems I have with undefined symbols at runtime I don't want to change all the makefiles anymore. I want ...
1
vote
1answer
6k views

config.status: error: cannot find input file: `Makefile.in'

I'm trying to install mod_WSGI on Ubuntu 12.04. Here is the set of commands that I'm following: wget http://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz tar xvfz mod_wsgi-3.4.tar.gz cd mod_wsgi-3....
0
votes
1answer
10k views

Missing separator in makefile

I have next code in Makefile: CFLAGS=-Wall -g clean: rm -f ex1 When I run "make clean" I receive next error: Makefile:4: * missing separator. Stop. Why? How I can fix it?
0
votes
0answers
64 views

How do I build Bitcoin from source on Ubuntu 14.04 [duplicate]

(Using Autotools) I have downloaded the Bitcoin source from "Bitcoin Core Version 0.9.1" When I input the following command ./autogen.sh it produces the following warning: includes' is the old name ...
12
votes
2answers
14k views

How do I set up ccache?

I want to use ccache to speed up compilation. I came across how do I enable ccache This is what I have done so far: $ sudo apt-get install -y ccache $ dpkg -l ccache ii ccache 3.1.6-1 Compiler ...
1
vote
1answer
123 views

Installation of .c files in phylip

I am trying to install .C functions of PHYLIP in Linux/ubuntu. I read documentation and it mentioned it is very easy compilation and of .C functions: To make executables, use your C compiler. It ...
0
votes
1answer
143 views

LD_LIBRARY_PATH

I have tried to link VINCIA to ROOT, but there is a problem related to the location of the shared libraries in my system. Since I have installed all these tools in a directory which is different than /...
0
votes
2answers
450 views

Makefile compile

I have to compile ctorrent using makefile, but I always have the same error: make[1]: Entering directory `/home/g507565/Downloads/ctorrent-dnh3.3.2' test -z "/usr/local/bin" || mkdir -p -- "/usr/...
0
votes
2answers
8k 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....