Need help setting up Mingw32 to compile under Windows

I downloaded SDL a couple of days ago and has been trying to get it to
compile with Mingw32 under win98
I downloaded the SDL-devel-1.0.8-mingw32.tar.gz which I assume is the right
file if I want to use Mingw32…
The problem though is that I get several pages of errors like for example:

c:\program\mingw32\include\SDL_error.h:53: parse error before 'code’
In file included from c:\program\mingw32\include\SDL.h:36,
from blit.c:3:
c:\program\mingw32\include\SDL_rwhops.h:90: redefenition of '__declspec’
c:\program\mingw32\include\SDL_main.h:63: ‘__declspec’ previously defined
here

and so on… these types of error messages shows up for all SDL_xxx.h

Does this problem has to do with how SDL is set up, if so how do you set it
up properly?
Any other reason?

Would be grateful for a quick answer

/ Fredrik

I downloaded SDL a couple of days ago and has been trying to get it to
compile with Mingw32 under win98

You need to use the latest SDL CVS with the new mingw32 code. I need
to remove the old files from the website.

You can get the new code from:
http://www.libsdl.org/download-1.1.html

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I still can’t seen to get it to work… I get exactly the same errors…

Can’t som nice soul out there tell me:

  1. Exactly which files I need to download if I want to use Mingw32 under Windows98
  2. A step-by-step guide on how to install the different files.
  3. A step-by-step guide on how to do when compiling my sourcecode.

Would be very grateful for answers

/ Fredrik