When I tryed to build the sample allero 4 program it gave me this error:
make.exe: [Allegro.exe] Error 1
It did not build though. Here is the full log:
Compiler: Default compiler Building Makefile: "C:\Users\*********\Documents\C Game Programming\game_1_with_allegro\Makefile.win" Executing make... make.exe -f "C:\Users\*********\Documents\C Game Programming\game_1_with_allegro\Makefile.win" all gcc.exe main.o Allegro_private.res -o "Allegro.exe" -L"C:/Dev-Cpp/lib" -mwindows -lallegro-4.4.2-monolith-mt gcc.exe: Internal error: Aborted (program collect2) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make.exe: *** [Allegro.exe] Error 1 Execution terminated
Does anyone have a idea into how I could fix this, as I would like to use allegro to make some games!
Not a clue. There isn't enough information here, to give us even the tiniest chance to formulate one. You should create a SSCCE to illustrate the problem.
Diff:
Thanks for the feedback, Keith Marshall. I am using Dev-C++ and I have created a c project, in the class file main.c is the following code:
I presume that this is the default allero example code. When I press the button in the taskbar that states that it is "Compile and Run (F9)". It then shows a dialog box, sayin that is using the "default complier" with the progress of building the file Allegro.exe, it first is compling, then is linking and that is when the error happens. The Compile Log show the following output:
The file that brings up the error is called Makefile.win and the contents of that file is down below:
The full contents of the folder with the files is attached as a screenshot
Do you know what has happened or is there any other data you would like?
Last edit: wb wb 2015-08-09
Apologies for delayed response. I doubt that we will be able to help ... you say you are using Dev-C++, which we do not support, and your sample code seems to be heavily dependent on Allegro, which once again, we do not support.
The only possibly useful comment I could offer is that I see references to
gcc-3.4.2
, which is long obsolete, and no longer supported either by us, or the upstream GCC project. Is it possible that you are attempting to mix library packages compiled by, and for, a later GCC version, with that ancient 3.4.2 version? If so, well, you simply cannot do that. Otherwise, you should seek help from the Allegro, or the Dev-C++ projects directly.