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

learn more… | top users | synonyms

0
votes
2answers
408 views

Space escape character in Debian Makefiles

I'm currently trying to upload a package onto Launchpad's PPA service but I'm having problems with a path name which includes a space character. I'm trying to make a file install into a directory with ...
1
vote
1answer
3k 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 ...
1
vote
1answer
3k views

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
261 views

How to install bnetd in Lubuntu from command line?

I am trying to install bnetd on lubuntu and i got error compiling it (I have never compiled anything yet) I execute this at the terminal: loading cache ./config.cache checking host system type... ...
0
votes
1answer
30 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
70 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
25 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
1answer
60 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
43 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
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 ...
0
votes
1answer
102 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
1answer
587 views

Undefined reference to symbol 'FcPatternAddDouble' - issue with building program

I'm Ubuntu 13.04 user. I haven't been able to build/install Japanese third-party software for artists called AzDrawing. Based on readme file, I executed make command in proper directory. At first it ...
0
votes
1answer
803 views

Installing wifi driver error 127

I've got problem with installation wifi driver, terminal says error 127. make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-32-generic' ...
0
votes
1answer
390 views

Problems compiling Library

I am having some difficulties compiling some files that I downloaded (for academic purposes). I ran the following command : cd tmp/Detri_2.6.a/detri then make detri_new CC=gcc To build a ...
0
votes
1answer
423 views

x11 directory specified in makefile doesn't exist, but project compiles and runs perfectly

So the x11 directory defined in the makefile is: usr/X11R6/lib64, which does not exist. however, the project compiles perfectly in Kdevelop and runs with no problems. If I take out all inclusions of ...
2
votes
0answers
2k views

Make compiling error 'No rule to make target' when trying to install a driver

When I try to install a driver via sudo make I get these errors: make -C /lib/modules/3.8.0-31-generic/build M= make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic' make[2]: *** No ...
2
votes
0answers
73 views

Makefile question: how to make several analogous rules into one

I'm wondering if there's a way to make one rule out of the following several rules which are all similar in a Makefile that I have to edit: $(OBJECT_BUILD_DIR)/%.o : $(OBJECT_SRC_DIR)/%.cpp ...
1
vote
0answers
17 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 ...
0
votes
0answers
6 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
0answers
41 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
0answers
22 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 ...
0
votes
0answers
1k views

/usr/bin/ld: cannot find -ltk

I have just finished installing xgrafix and I moved onto installing xpdp1 and I am running into the following error. I have found similar post about linking the libraries but I cannot seem to get it ...
0
votes
0answers
17 views

How can I create a configuration file?

I am have NXT-ROS and I'm trying to follow these steps: http://wiki.ros.org/nxt_ros/Tutorials/Getting%20started I am on step 3.2 and I don't know how to create a configuration file. I will also need ...
0
votes
0answers
212 views

How to add libxml2 to a Makefile?

While compiling a C++ tool called BioC I encountered a problem with the libxml header. In my attempt to solve it I downloaded libxml2-2.9.2 and compiled it in '/usr/local/lib/'. Then I studied the ...