Questions tagged as 'makefile'

0
answers

Problems in the makefile when switching from debian to freebsd (ifeq and endif)

I am using netbeans to compile some programs in C / C ++ it compiles remotely the codes on a debian (GNU) machine, everything works without problems problems, however I tried to compile the same project in a freebsd that uses CLANG, I am having...
asked by 07.12.2018 / 15:16
0
answers

MakeFile in C ++ - Geany

Good afternoon, I'm new to programming in C ++ using Geany. And I'm having trouble with creating a class with main, ie when creating a class, for example message.h and message.cpp, access the methods of the message class itself in main.cpp. I...
asked by 21.11.2018 / 17:33
1
answer

Makefile compile all .c files without specifying them

I'm trying to create a Makefile that causes all .c files to be compiled without having to add the files to the Makefile line by line in the Makefile. I tried to follow the Creating Makefile file , but found it very confusing. My interest...
asked by 03.11.2018 / 13:49
1
answer

warning: libssl.so.1.0.2, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1

I'm trying to copy a program that needs some libraries LIBS = -g -lmysqlcppconn -lpthread -lcurl -lboost_serialization -lreadline -lz -luWS -lssl The problem is that -lcurl and some programs need libssl.so.1.0.2 and -lssl...
asked by 25.11.2017 / 14:08
0
answers

Make file and compile in terminal

I need my makefile to run on the terminal so that it is not necessary to insert $ time make run , but only make run , and that it shows the execution time in the same way. Can anyone help me please? Make code: NAME=TP1_mai...
asked by 07.09.2017 / 21:50
0
answers

Error in compiling kernel in ubuntu

I'm trying to compile kernel 3.2.91 on Ubuntu and when I run the make command this error occurs: scripts/Makefile.build:305: recipe for target 'arch/x86/kvm/vmx.o' failed make[2]: *** [arch/x86/kvm/vmx.o] Error 1 scripts/Makefile.build:441: re...
asked by 19.08.2017 / 05:10