bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug with collect2.exe: error: ld returned 1 exit status make: *** [M


From: Paul Smith
Subject: Re: Bug with collect2.exe: error: ld returned 1 exit status make: *** [Makefile:2: all] Error 1
Date: Tue, 09 Aug 2022 15:18:52 -0400
User-agent: Evolution 3.44.3 (by Flathub.org)

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

[Prev in Thread] Current Thread [Next in Thread]