SDL_ttf and mingw32 compilation issues?

Has anyone else tried to compile SDL_ttf for windows using mingw32?
it’s only one file, right? i just tried adding it to my project in
Dev-cpp (i’m not very knowledgable with cross-compiling).

i managed to get the FreeType libraries compiled using for it, using:
make setup mingw; make;
which seemed to work… well, i got a libfreetype.a out of it. which
i’ve set up to link properly.

but… now the SDL_ttf doesn’t seem to compile properly. it says
something about an invalid void pointer. am i treading new ground here,
or has anyone had success? have i broken it, or is it a known bug?

thanks,
bill