Do you really need it to be built with MinGW or are you just building under MinGW because the out of date build instructions on the Wiki tell you to do that?
If you are using Visual Studio for your application it's a heck of a lot easier to just build with Visual Studio. You can use the pre-built binaries for APR instead of building them yourself. I can send you my vcproj files if you would rather go that route. The wiki build instructions should really be updated to reflect how to build with visual studio. -- Dale King