SDL 1.2 SVN + Mingw build error

Hey everyone.

I just updated my mingw32 on WindowsXP to the latest version.
I have the DirectX SDK and copied over the headers and libs.
Should be good, right?

I downloaded the SDL 1.2 svn and configured with --prefix=/mingw
I had a strange “error” saying dsound.h was present but not usable.
But the other directx ones went through ok.

When trying to run make I got an error when it was trying to link:

Creating library file: build/.libs/libSDL.dll.a

build/.libs/SDL_diskaudio.o: In function DISKAUD_OpenAudio': ./src/audio/disk/SDL_diskaudio.c:171: undefined reference to__imp__iob’
collect2: ld returned 1 exit status

Ideas? Suggestions?

Thanks in advance!

  • Micah