I'm guessing a little bit here as I don't have DevCPP, but this sounds like it is probably because the two different compilers (as and DevCpp) don't mangle the names in a similar format. So inlining the assembly within a DevCpp compiled file will probably work just fine to resolve this. If not, you might be able to use compile-time flags to tell DevCpp to generate object files compatible with standard 'as' output?
I'll try the first because i don't know how to do the 2nd

This issue is strange because the provided autogen.sh works with MingW (and DevCpp is actually MingW + an IDE), so i have the right set of compilers/linkers.
Maybe it's all about flags, we'll see!