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

learn more… | top users | synonyms

0
votes
1answer
106 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
151 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
40 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
82 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
431 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
2k 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
1answer
22 views

make error 127 Command not found [closed]

I am trying to execute the following makefile all: dw.js/dw-2.0.js messages: scripts/update-messages.sh dw.js/dw-2.0.js: dw.js/src/*.js dw.js/make When I enter make in the terminal ...
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
72 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
98 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
0answers
44 views

how write Makefile for zeromq application

sudo make has error make all-am make[1]: Entering directory `/home/martin/Downloads/LivefeedServer' make[1]: *** No rule to make target `liblzmq.o', needed by `liblzmq.a'. Stop. make[1]: Leaving ...
0
votes
0answers
51 views

Colormake not working properly

I'm having a problem to use colormake (1) (2). First I installed it with apt-get and try to compile my makefile, but what I got, wasn't colourized properly. In other words, colors are changed, but ...
0
votes
0answers
559 views

Make file for creating shared library with multiple sources

I am having the makefile which will create a shared library for limited number of sources, FLAGS := -fPIC -O3 -g -Wall -Werror CC := gcc MAJOR := 0 MINOR := 1 NAME := foo VERSION := $(MAJOR).$(MINOR) ...
0
votes
1answer
215 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
0answers
316 views

install Hello world module program on Beagle board-xm

i trying to insert a module onto Beagle-board-xm using cross compilation my Host Platform is Ubuntu 12.04.2 LTS and my target is Linux arm 3.6.8-x4 #1 SMP Tue Nov 27 17:49:05 UTC 2012 armv7l ...
0
votes
0answers
331 views

cannot find include file “fstream.h”

I need to compile files using makedepend. The command is makedepend -v -I/usr/include/g++-3/ $(IFLAGS) -- $(CFLAGS) -- $(SRCS) which was given as part of the MakeFile (the MakeFile was not created by ...
0
votes
1answer
308 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
445 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
2answers
849 views

How to create a makefile with a shell script

I have a shell script, and would like to convert it to a makefile so that it can be executed with the command 'make all'. How would I go about this? Thanks
0
votes
1answer
177 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
267 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
218 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
1k 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
3answers
3k views

how do i install with makefile? i get erorr while typing ./configure [closed]

The error is BASH: ./configure: no such file or directory. thanks for helping, i'm trying to install intel driver from here: http://intellinuxgraphics.org/2011Q4.html the proces till the make ...
-1
votes
1answer
834 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
-1
votes
1answer
40 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 ...
-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 ...