Skip to content
Advertisement

Tag: makefile

./configure + endless loop

Am trying to build/install LFTP in Centos 7 and can’t get past an endless loop at ./configure stage. Steps I’ve taken: Then I see an endless loop of: Any suggestions/tips appreciated. I’ve tried to use a prefix with ./configure too but that doesn’t help. Answer As discussed in the comments, the following suggestion helped OP figure out the problem:

Automate make execution with variable parameter

Here “SEED” means a random number: I will run the target test1 in terminal likewise. But the problem is here I want to run that target 10 times by using any conditional loops. If i want to run the test1 2nd time again I need to give like this: 3rd time: 4th time: Likewise, each and every time I need

How does this Makefile work?

This is the makefile: It produces log result: I can only understand first two lines in the log. How all this files: files get to compiling? They are contained in GOOGLEAPIS_CCS variable and it is only used in makefile in string. Can you explain step by step how this actually work? Answer The following rule makes a static library that

Makefile : No rule to make target

I have a problem with Makefile. It should compile a .c file to an object file only if the .c file has been modified. But I have an error when I use all rule: When I use manually it works: My work directory: Makefile content: Answer this dependency line: concatenates $(OBJ_PATH) with the object name, but there’s a / missing,

Makefiles with source / object files in different directories

I have a project with the following directory structure: A file in the $doc/tests directory e.g test1.rst is created from $tests/test1/test1.e. I’m having problems with the makefile specifying that the source files are in $tests/*/*.e and the destination files are in $doc/tests/*.rst. I’ve seen several similar questions but haven’t been able to workout the correct makefile syntax. This makefile works

Makefile – wildcard and recipe build

I have the following makefile I got this message : make: Circular src/paquet/packet_implem.o <- src/paquet/packet_implem.o dependency dropped. gcc -std=c99 -Wall -Werror -Wshadow -Wextra -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -lz -rdynamic -I/home/jy95/local/include -L/home/jy95/local/lib; /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function _start’: (.text+0x20): undefined reference tomain’ collect2: error: ld returned 1 exit status Makefile:71: recipe for target ‘src/paquet/packet_implem.o’ failed make: *** [src/paquet/packet_implem.o] Error 1 What I want

Advertisement