After a lot of trying I finally got my windows dll working (used by a Qt app). But after adding the package (aeson) I get:

ld.exe: Error: export ordinal too large: 97839

There are a few messages about this problem. People talk about split-dll and gen-dll. But both seems more for building ghc itself. I tried gen-dll, but couldn’t get it to work.

I wonder if there is a solution for this problem?

 

Kees