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

learn more… | top users | synonyms

0
votes
1answer
47 views

gcc cannot find ansinist.h even though it is there in /usr/incude/ansinist

I am trying to make a program provided by NIST. I do not have much experience in such tasks. I am getting the following error. util.c:19:22: fatal error: ansinist.h: No such file or directory ...
0
votes
1answer
2k 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 ...
0
votes
1answer
593 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
1answer
532 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 ...
0
votes
1answer
246 views

How can I get the bash $RANDOM in a makefile?

This works on OSX: RANDOM := $(shell /bin/bash -c "echo $$RANDOM") test: echo $(RANDOM) For cross platform random numbers I've instead resorted to this: RANDOM := $(shell od -An -N2 -i ...
0
votes
1answer
44 views

Is it possible to define a macro variable through make?

Below is my c code: #include main() { #ifdef HELLO printf(" hello "); #else printf(" else "); #endif } And my Makefiles is: all: gcc uss_main.c -o out ...
0
votes
1answer
99 views

compiling blt2.4 on 64bit ubuntu machine

I'm new to programming/linux and trying to install BLT2.4, which is needed for another program that will be installed later. First, I successfully installed tcl8.3 tk8.3 and their dev counterparts on ...
0
votes
1answer
496 views

How do I follow these “makefile” instructions?

I am a beginner of Linux. I don't know to handle the following instructions, please teach me in details. The instructions are below: Go to the mmed-release-0.1/src/. Modify the makefile to set ...
0
votes
1answer
3k views

How to edit makefile?

I want to add -std=c99 flag to make command but I have no idea how to do it. Where is related file located? @Andrejs Cainikovs But I have not found related file or files yet.
0
votes
0answers
2 views

can't install capybara-webkit

When I bundle install I get: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby2.1 extconf.rb Command 'qmake -spec linux-g++ ' not available Makefile not found ...
0
votes
0answers
21 views

make cmake_check_build_system error 1 [closed]

make cmake_check_build_system error 1
0
votes
0answers
21 views

error while installing make file

$ make install Making install in src make[1]: Entering directory `/lustre/work/biocore/prasuna/SPici/SPICi/src' make[2]: Entering directory `/lustre/work/biocore/prasuna/SPici/SPICi/src' test -z ...
0
votes
0answers
21 views

Wifi USB Driver installation fails

When ever i try to install wi fi drivers for my device WN727N, i always get stuck at make step. When ever i run make command it ends at Makefile:243: recipe for target 'LINUX' failed make: *** ...
0
votes
0answers
114 views

Error: Unable to access jarfile spl.jar for stanford portable library

I'm trying to install the Stanford library for Harvard's CS50 but I'm running into a few problems... I've got the .h files in usr/local/include/spl and I've got the libcs.a in usr/local/lib but I'm ...
0
votes
2answers
51 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 ...
0
votes
0answers
97 views

WARNING: TARGET is empty make: Nothing to be done for `first

Can anyone help with this error WARNING: TARGET is empty make: Nothing to be done for first'. I wish to build this qt package When I run ./compile in the the downloaded folder, it gives this ...
0
votes
0answers
62 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 ...
0
votes
1answer
50 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
181 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
135 views

building/installing package with monodevelop failed, “Cannot open assembly '/usr/local/lib/…”

I want to build/install a mono/c# app I made on Linux. I made a packaging project and added a "tarball" package, using a generated autotools makefile. When i build the package and try to install it ...
0
votes
1answer
280 views

Editing the path files for configuring make file

I installed a new software in my Ubuntu 12.04. To install I downloaded it,and then do these in the terminal cd ~/Downloads chmod +x gpucomputingsdk_4.2.9_linux.run ...
0
votes
1answer
397 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
518 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
215 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
2answers
299 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 ...
0
votes
1answer
271 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 ...
0
votes
1answer
2k views

Assign standard exit status to a makefile variable

I'm trying to save the standard exit status of a command in a variable of my makefile, but I don't know how to do it. I've tried this: pruebas: @A= $(ls) ...but it doesn't work.
-1
votes
1answer
1k views

what is use of gcc flag -Wall [closed]

can some one help me to understand the use of -Wall flag in gcc? I am working on make file and not able to understand this flag. Thanks, vivek
-3
votes
1answer
2k views

make command not work - Assembler messages [duplicate]

Possible Duplicate: I can't install Thunderbird *whats this message? user1@ubuntu:~$ make KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r/build M=pwd make[1]: Entering directory ...