On Tue, 2022-08-09 at 17:38 +0200, Ibrahim Salma wrote:
> Hi, i am having problem with makefile or make command can you please
> help me it's giving me an error message like this:
> 
> collect2.exe: error: ld returned 1 exit status
> make: *** [Makefile:2: all] Error 1

This is not the error messages.  This is just make telling you that the
command you asked it to run failed (with an exit code of 1).

You have to look at the messages BEFORE this, that you didn't include,
to see why the command failed.

In any event, I'm sure if you cut and paste that exact same GCC command
that's in your makefile onto your shell prompt you'll get the same
error message, so this issue is not related to make or your makefile.

Reply via email to