(At first of all, sorry for my bad English =[ )
Hi, i'm new to Allegro, so i have followed the guide "Setting up Allegro for Code::Blocks with MinGW on Windows XP/Vista" in the Allegro Wiki, but I got some trouble to running my project and decided to ask for help here. EDIT: I'm using Windows XP
I have download and install MinGW and changed the variable Path.(command 'gcc' in cmd.exe is working well). I also downloaded Allegro folder and unziped it in C:\ and directX in MinGW folder. The 'Compiler and debugger' of Code::Blocks is exactly like the image in the guide:

So I started a new project selecting Console Aplication and write my code, but when I try to compile it, it gives an error.(screenshots bellow)

-

-

The exemple projects that follows with Allegro folder I downloaded in the wiki page gives the same error.
I also tried to compile my code with MinGW in IDE Dev-C++ but it also gives a similar error with 'ld.exe' file. T.T
I don't know what to do since I already have followed a lot of guides and tutorials to install Allegro and can't run it yet ¬¬
Rope someone can help.