Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » compile error

This thread is locked; no one can reply to it. rss feed Print
compile error
William Labbett
Member #4,486
March 2004
avatar

hi guys,

trying to set up allegro on XP with MinGW.

Here's the files I downloaded :-

http://www.allegro.cc/files/attachment/597056

Here's the error I get :-

http://www.allegro.cc/files/attachment/597057

can anyone tell what's wrong ?

EDIT : these are the files I downloaded :-

http://www.allegro.cc/files/attachment/597058

Milan Mimica
Member #3,877
September 2003
avatar

William Labbett
Member #4,486
March 2004
avatar

thanks,

I tried mingw32-make --disable-asm but to no effect. I don't really know what I'm doing.

Perhaps I should try the 4.9 branch.

Milan Mimica
Member #3,877
September 2003
avatar

On mingw you should do

make ALLEGRO_USE_C=1
make install ALLEGRO_USE_C=1

or

set ALLEGRO_USE_C=1
make
make install

Do it on a fresh build just in case.

edit: um yeah, mingw32-make actually

edit: actually, thinking a bit more about it, you better fix that line causing the error, Allegro-4.2.2 has some problems with disabled ASM on windows.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Quote:

I tried mingw32-make --disable-asm but to no effect. I don't really know what I'm doing.

Just change line 70 of allegro\src\i386\icpus.s from this :

   fnstsw %eax

to this :

   fnstsw %ax

It looks like the file is read only so you'll have to remove that property before you edit the file and then set it back to read only when you're done.

Go to: