Member Avatar
Hi I am creating Makefile and it gives me following error The Makefile around line 124 is $(_$(country)_pops_roles) gets expanded correctly and it calls pop_iso_XXXX 4 times as it suppose to. And then it gives above mentioned error. I'm using RHEL6 - 64bit machine I'm not that deep into Makefile/Gmake, …
by hemanshurpatel in Linux and Unix ()
Member Avatar
Hello I have downloaded a source code written in C. There I found a Makefile file . Can you tell me how to run that "makefile" file from command line ? thank you
by begueradj -1 in Software Development ()
Member Avatar
hi. i have written a program in c and also a makefile for it but i have a repetitive error: /usr/bin/ld:4.txt: file format not recognized; treating as linker script /usr/bin/ld:4.txt:1: syntax error here is makefile code:
by fafa70 in Software Development ()
Member Avatar
When I run my makefile I get this error: ** No rule to make target videofeatures.o'. Stop. Here is my makefile What am I doing wrong or missing?
by singularity~ in Software Development ()
Member Avatar
I have several files to include from a subfolder and I just can't get this to work. I'm propably missing something here... The Makefile and .cpp with main function are located at /path/to/ and files to be included are at /path/to/src/buffer and /path/to/src/hash. Both of these folders have .cpp and …
by DJWK in Software Development ()
Member Avatar
Hi all, To begin, I'm not certain this is the proper place to start this question, but I believe this to be a linux-linker related error rather than a code based one. I've also searched far and wide for a solution online, but others have solved the problem simply include …
by sblass92 in Linux and Unix ()
Member Avatar
Hi Im not sure if this question belongs in the form so sorry if it doesn't. Here is my question, in a cs class of mine we have to write a make file that compiles the two seperate programs in the project. The only problem is that none of the …
by Kyle Willett in Software Development ()
Member Avatar
So I have an assignment where I am supposed to create an oop that will run on a provided Unix server. I have a Mac so when I run the makefile in Terminal, I don't get any errors. But when I try to run the makefile in the provided Unix …
by mstashev in Software Development ()
Member Avatar
What is the role of makefile in a program?
by utkarshsahu in Software Development ()
Member Avatar
Hi there, I am trying to compile devcpp project that contains one source file helloworld.cpp include <iostream> using namespace std; int main () { cout << "Hello World!"; system("PAUSE"); return 0; } I get this error: C:\Dev-Cpp\Makefile.win [Build Error] [helloworld.o] Error 1 Compile log is as follows: Compiler: Default compiler …
by IcantC in Software Development ()
Member Avatar
I was writing a makefile for a web interface program that installs the cgi scripts to a (Linux) OS. The makefile works fine, but it needs to be able to install to different directories for different distributions (Fedora, Ubuntu). On Fedora, the scripts need to go to /var/www/cgi-bin and on …
by iamthesgt in Software Development ()
Member Avatar
Hi, I am trying to create a make file for a java project. It has a directory structure look like this: src folder[INDENT]-package1[/INDENT][INDENT][INDENT]-java files[/INDENT][/INDENT][INDENT]-package2[/INDENT][INDENT][INDENT]-java files[/INDENT][/INDENT][INDENT]-package3[/INDENT][INDENT][INDENT]-java files[/INDENT][/INDENT][INDENT]-package4[/INDENT][INDENT][INDENT]-java files[/INDENT][/INDENT] I am new to makefile, but tried to create one according to some tutorials on google, but it doesn't work. Can anyone help …
by darangho in Software Development ()
Member Avatar
Hello, world! This is my first post on DaniWeb, though I have frequented it quite often. I'm using gcc and make (on Ubuntu 10.10) with GVim for creating a foundation library in C. Within my code I've built in rudimentary profiling and assertion policies that are enabled through a symbolic …
by _avishek 29 in Software Development ()
Member Avatar
Hi, I can not create executable code by using a makefile.How can I generate the executable code.I wrote this lines into my makefile and in the terminal I wrote make but I can not do it.Please help me. myprog : myprog.o mylibrary.o gcc myprog.o mylibrary.o -o myprog myprog.o : myprog.c …
by virtue in Software Development ()
Member Avatar
Dear friends, I am trying to compile the linux kernel 2.6.33. I need to incorporate a patch into this. The patch creates a directory and 3 src files as below, ~/linux-2.6.33/net/core/<strong>netchannel</strong> ~/linux-2.6.33/net/core/<strong>netchannel/netchannel.c</strong> ~/linux-2.6.33/net/core/<strong>netchannel/storage.c</strong> ~/linux-2.6.33/net/core/<strong>netchannel/users.c</strong> Now, among the above users.c file uses a function named 'get_empty_filp()', which is defined in some …
by vdx in Software Development ()
Member Avatar
Hello everyone. I have an error in my makefile. When i execute it on the terminal in linux, it gives me the following errors mkab@mkab-ThinkPad-SL400:~/Desktop/TP 5/src$ make test gcc -c prog2.c gcc *.o -o test prog2.o: In function ajouter' prog2.c:(.text+0x32): undefined reference to ajouter' prog2.c:(.text+0x5e): undefined reference to afficher' prog2.c:(.text+0x77): …
by mkab in Software Development ()
Member Avatar
I want to know how to create a makefile so that I dont have to type in the files I am linking together. Also is it possible to use a make file which will run two files. I have a fraction.h file and fraction.cxx (implentation file) I have a main.cpp …
by Eagles36 in Software Development ()
Member Avatar
I chopped down my make file so I can compile a C++ program with very few, but some flags set to see if I can determine if they are working. The following is my make file section on C++ flags: Common compiler flags CFLAGS = -mips1 -Wa,-non_shared \ -mno-abicalls \ …
by dansnyderECE in Software Development ()
Member Avatar
I am using Ubuntu-gcc and have a large C code which uses routines from numerical recipes and GNU scientific library. It needs a compilation compilation because each library, i.e. nr and GNUsl, needs its own flags for gcc. Therefore I use a makefile. It works well when the code is …
by habib_parisa in Software Development ()
Member Avatar
I'm using a cross-compiler that generates MIPS binaries from c++ (mipseb-linux-g++). What I want to do is tell the compiler to use a specific ISA (namely MIPS I). From what I can tell this is a machine option that should be easily configurable. I've tried changing the option in my …
by dansnyderECE in Computer Science ()
Member Avatar
Hi, I am a total newbie when it comes to makefiles and now I'm in a need of one. I have a directory structure as follows: Project_root/Makefile Project_root/src/ Project_root/src/widgets/ Project_root/include/ Project_root/include/widgets/ Each directory contains multiple source/header files. I need to build a shared library out of this directory. Please help …
by zeeli in Linux and Unix ()