make: *** [ ] Error 1 error [duplicate]

From GNU Make error appendix, as you see this is not a Make error but an error coming from gcc.

‘[foo] Error NN’
‘[foo] signal description’
These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a non-0 error code (‘Error NN’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal of some type). See Errors in Recipes.
If no *** is attached to the message, then the subprocess failed but the rule in the makefile was prefixed with the – special character, so make ignored the error.

So in order to attack the problem, the error message from gcc is required. Paste the command in the Makefile directly to the command line and see what gcc says. For more details on Make errors click here.

Leave a Comment