Trouble Making an Application
Hello! I am making an application under debian for the first time and am getting this error and I don't know how to find out more and correct the cause. Searching online didn't reveal anything I can understand.
Can someone give me a hand? # make g++ -g -fpermissive -std=c++11 -Wfatal-errors -c sha256/sha256.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c base64.cpp g++ -g -fpermissive -std=c++11 -Wfatal-errors -c conntrack.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c testmain.cpp g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/argtable2.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_end.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_file.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_int.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_lit.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_rem.c g++ -g -fpermissive -std=c++11 -Wfatal-errors -c argtable/arg_str.c g++ -g -fpermissive -std=c++11 -Wfatal-errors sha256.o base64.o conntrack.o testmain.o \ argtable2.o arg_end.o arg_file.o arg_int.o arg_lit.o arg_rem.o arg_str.o \ lpfw.cpp -lnetfilter_queue -lnetfilter_conntrack -lpthread -lcap -o lpfw g++ -g -std=c++11 testprocess.cpp -lpthread -o testprocess |
I see no errors, just standard make output (it prints the executed commands)
Edit Maybe it is not usual to use g++ to compile .c (C language) files, in the end that shouldn't make difference anyway (treats .c files as c++ source files) https://gcc.gnu.org/onlinedocs/gcc/I...002b_002b.html |
But it says "fatal errors". Is that normal? Also, the application is not available/cannot be invoked after making so it seems something didn't work out :-/
|
No, it is an option passed to g++/gcc
man gcc Code:
-Wfatal-errors |
THanks! I couldn't run the executable from the shell so I assumed something was wrong. Turns out I had to drop it from Nautilus onto the Shell to make it run. Perfect! Thanks!
|
All times are GMT -5. The time now is 05:55 PM. |