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

learn more… | top users | synonyms

0
votes
1answer
121 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 ...
1
vote
1answer
2k 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 ...
3
votes
1answer
1k views

How do I get my compiler to locate the X11 header files?

I'm trying to use GLEW and XServer / X11 in a C++ app as instructed in Chapter 15 of the OpenGL Superbible, 5th ed. I'm using this Makefile: LIBDIRS = -L/usr/X11R6/lib -L/usr/X11R6/lib64 ...
0
votes
1answer
491 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 ...
1
vote
1answer
235 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... ...
10
votes
1answer
1k views

Detect if its Ubuntu Linux OS in Makefile

I want to create a makefile that will compile my objects and name them according to the Linux distro (e.g. Suse, RedHat, or Ubuntu). How can I detect if the OS is Ubuntu or not?
2
votes
1answer
897 views

Can't make RTL8188CE drivers

I just downloaded the RTL8188CE drivers striaght from Realtek website. I have both build-essentials and linux-generic-headers installed. I go to the top directory of the downloaded driver and run make ...
0
votes
1answer
628 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' ...
3
votes
1answer
1k views

unbuntu, how do I make 'make' command work?

I am trying " Linux Kernel Module Programming - Compiling the Module " as in this youtube video. First I created a hello.c program. As a second step need to type command #gedit Makefile. It opens a ...
-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
2
votes
1answer
1k views

My makefile results in: No rule to make target `arch/x86/tools/relocs.c', needed

I am using Ubuntu 12.04. I wrote a simple hello world kernel module (hello.c). I wrote the folllowing makefile for it: obj-m+=hello.o KDIR:= /usr/src/linux-headers-3.2.0-24-generic-pae all: ...
6
votes
1answer
1k views

Using makefile wildcard command for file names with spaces

I have a makefile that I use to compress pictures: src=$(wildcard Photos/*.jpg) $(wildcard Photos/*.JPG) out=$(subst Photos,Compressed,$(src)) all : $(out) clean: @rmdir -r Compressed ...
1
vote
3answers
1k 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
307 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 ...
3
votes
2answers
9k views

Getting missing dependency for compilation glib-compile-schemas

I Downloaded empathy-3.0.1.tar.bz2 to install in Ubuntu 10.04 LTS. I ran the makefile and I got the error : configure: error: glib-compile-schemas not found. How can I fix this problem ? Please ...
2
votes
0answers
63 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 ...
3
votes
1answer
404 views

About the installation of Moses tool on ubuntu 11.04

we are working on project related to language translation with the help of moses tool...but we are not able to install moses...we face some installation problems. we make a directory on desktop named ...
0
votes
1answer
563 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 ...
13
votes
1answer
8k views

What does “./configure; make; make install” do?

What does ./configure do? Why make then make install? How does it know where libs are? ( they are all there and loaded but it cant find them.) Why need libs if compiler is supposed to compile?
1
vote
2answers
121 views

Folder with images in makefile

I have been using anjuta to make some programs. I have made a folder in the src directory of the program to store all the images and icons. ( /src/images/icons ) However when i build the tarball the ...
1
vote
2answers
579 views

Cannot build deb package

I have followed this tutorial on how to make a .deb package from source(tar.gz) and at the final build command dpkg-buildpackage -rfakeroot However I get this error at the bottom: make[2]: Entering ...
0
votes
2answers
370 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
333 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
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.
1
vote
3answers
637 views

qmake error when trying to build qwbfs

I'm trying to install qwbfs application but when i enter the command : make i get this: tools.c:8:25: fatal error: openssl/md5.h: No such file or directory compilation terminated. make[1]: *** ...
6
votes
2answers
4k views

Which file is changed after I do “make menuconfig”?

In linux, I thought that the file Makefile is changed after I run make menuconfig. But when I diff Makefile, I don't see any difference. Which file is changed after I do make menuconfig?
0
votes
1answer
909 views

Need to use sudo -s for make command depending on Ubuntu version

We have a Makefile for compiling a network interface's driver. When calling the Makefile in an Ubuntu 9.04 installation, we need to call just 'make'. However, when calling the Makefile in an Ubuntu ...
3
votes
3answers
63k views

Error when installing Makefile: “make: *** No targets specified and no makefile found. Stop.”

In short while I run the make command it says: nir@nir:~/Downloads/xf86-video-intel-2.17.0$ make make: *** No targets specified and no makefile found. Stop. I looked inside the ...
0
votes
3answers
3k views

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

I'm trying to install Intel driver from here: http://intellinuxgraphics.org/2011Q4.html However when running ./configure and then make I get the following output: $ ./configure checking for a ...
1
vote
0answers
188 views

dh_auto_install not working in ppa [closed]

trying to build a package in the ppa that works in local it gives an error because it doesn't find usr/include/* it seems like dh_auto_install is doing nothing while in local it's executing the ...
1
vote
2answers
1k views

Bash is abnormal in Makefile!

all, I have found that the same Makefile works well in Mac OS X, but does not work in Ubuntu. The snippet is as following: start: @echo $(seperator) @if [[ "$(PROJECT)" == "" ]]; then \ ...
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
vote
1answer
1k views

How to install Hercules Webcam Deluxe

I am trying to install a Hercules Webcam Deluxe on my Ubuntu 11.10 (64 bits). I followed this guide: https://help.ubuntu.com/community/Ov51x Step by step, only changing wget ...
2
votes
0answers
2k views

What are the differences between concurrency=shell and concurrency=makefile? [closed]

I feel that 11.10 boots very slow on my netbook. Many people said that changing concurrency method to shell in /etc/init.d/rc will speed up boot process, but the comment in the file said that the ...
5
votes
4answers
12k views

Writing a “Hello World” Device Driver for kernel 2.6 using Eclipse

Goal I am trying to write a simple device driver on Ubuntu. I want to do this using Eclipse (or a better IDE that is suitable for driver programming). Here is the code: #include ...
2
votes
4answers
56 views

Why do some commands execute properly only when the file being called is inside the working directory

I'm unable to successfully make a file when I do the following command make /home/me/Desktop/folderWithMakefile However an executable is created when I do the following cd ...
6
votes
1answer
61 views

Checking which options were passed to ./configure

Is it possible to find out which options of the ./configure script were used to create the Makefile?
2
votes
1answer
144 views

Launchpad dailybuild source in subdirectory of branch

I have a repo branch that i have mirrored in Launchpad that I am trying to setup a daily build. The problem is that the source directory of the package is a subdirectory in the branch. When building ...
1
vote
3answers
15k views

'Make' error - glib.h no such file or directory

I have never built a project in Ubuntu before and I am trying to come to grips with the GNU build tools and process. When I try to make I get the glib.h - no such file or directory. This is the ...
1
vote
1answer
2k views

fakeroot debian/rules binary error

I have a package I'm maintaining. When I issue "fakeroot debian/rules binary" I get this error: dh_install --sourcedir=debian/tmp cp: cannot stat `debian/tmp/usr/share/prg/1.svg': No such file or ...
-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 ...
20
votes
4answers
34k views

Cannot find install-sh, install.sh, or shtool in ac-aux

This is my first time trying to compile and install anything on a linux machine. I got the latest version of https://github.com/processone/exmpp via git and read the instructions which state: 2. ...
1
vote
0answers
176 views

Adding my own pattern rules to gmake's “catalog of implicit rules” [closed]

On maverick... $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick ... using make 3.81 ... $ make -version GNU ...
4
votes
4answers
8k views

Cannot install glib-dev

I tried to build dasher, but I got it needs glib. So doing so this came up: Checking for GLIB... configure: error: Package requirements (glib-2.0>= 2.6) were not met: No package 'glib-2.0' ...
1
vote
2answers
2k views

“$MAKEOPTS” ignored, why?

I have defined export MAKEOPTS="-j4" in my ~/.profile file. But when I do a compilation with make, this option is ignored. I've consulted the GNU Make manual but it says nothing about this ...
13
votes
1answer
2k views

How to have Debian packaging generate two packages given an upstream source archive?

I am packaging something for my PPA. The upstream source is a .tar.gz archive which is Makefile-based. Since this package has a significant amount of architecture-independent data, it would be wise ...