"Steven Edwards" Steven_Ed4153@yahoo.com wrote:
With the recent import lib changes on almost everything I try and build I am getting these errors. When using the win32api package from mingw prior to this patch these functions were exported.
Thanks Steven
brsfolder.o(.text+0xfe0):brsfolder.c: undefined reference to `HeapAlloc@12'
[skipped]
It's an ld bug. Currently ld could not use forwarded references in import libraries. I reported that bug almost 1.5 years ago in the binutils mailing list, but it seems nobody interested in fixing it.
Moreover, in order to eliminate decorated (@xx) names in the dll export table you need to apply the attached patch and use latest binutils. But unfortunately even it doesn't resolve many other issues with dll linking.