make: *** [Makefile:906: all] Error 2

Tobias Burnus tobias@codesourcery.com
Mon Dec 9 17:10:00 GMT 2019


Hi,

you shouldn't look only at the last time – but you need to look for 
errors which occur before. (Search for "error:", but depending on the 
issue it can also be a message which does not start with 'error:' but 
has ERROR, failed or …).

If you compile with "make" instead of "make -j4", the actual error 
should in the last few lines before your "Error 2". – Reason: With "-j4" 
you run four compilations concurrently – and the actual error might be 
much higher up (as the other three jobs can continue for a while).

Cheers,

Tobias

On 12/9/19 6:05 PM, rih5342 wrote:
> I'm running W10-64 + cygwin64 + GCC 830
>
> This error resulted from the following make command
>    make -j4
>
>
> What does Error 2 mean?
>
>     *** [Makefile:906: all] Error 2
>
>
> Lines near 906 in the make file
>
>
> # The target built for a native non-bootstrap build.
> .PHONY: all
> all:
> 	@: $(MAKE); $(unstage)
> 	@r=`${PWD_COMMAND}`; export r; \
> 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
> 	  $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
> 	&& :
>
>
> Are these errors listed somewhere?
>
> How do I fix this error?
>
> Thank you.
>
>
>
>
>
>
>
> --
> Sent from: http://gcc.1065356.n8.nabble.com/gcc-fortran-f719652.html



More information about the Fortran mailing list