You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have cabal installed WIn32-services apparently successfully, but ghc fails to link any program that imports its module. For example, examples/simple.hs.
Warning: resolving _IsDBCSLeadByteEx@8 by linking to _IsDBCSLeadByteEx
Warning: resolving _MultiByteToWideChar@24 by linking to _MultiByteToWideChar
Warning: resolving _InterlockedExchange@8 by linking to _InterlockedExchange
C:/Program Files/Haskell Platform/2013.2.0.0/mingw/bin/../lib/libmingwex.a(pformat.o):pformat.c:(.text+0x1529): undefined reference to `_get_output_format'
collect2: ld returned 1 exit status
This is using windows xp, so if it works on newer versions, which I cannot easily test right now, this might be My Problem and not your problem...
The text was updated successfully, but these errors were encountered:
While I don't test against Windows XP, all of the foreign functions being called should be present in that OS. Have you overwritten the cabal file's extra-lib-dirs field with a path to the Windows SDK on your system? See the package description for an example of what this might be.
I have cabal installed WIn32-services apparently successfully, but ghc fails to link any program that imports its module. For example, examples/simple.hs.
Warning: resolving _IsDBCSLeadByteEx@8 by linking to _IsDBCSLeadByteEx
Warning: resolving _MultiByteToWideChar@24 by linking to _MultiByteToWideChar
Warning: resolving _InterlockedExchange@8 by linking to _InterlockedExchange
C:/Program Files/Haskell Platform/2013.2.0.0/mingw/bin/../lib/libmingwex.a(pformat.o):pformat.c:(.text+0x1529): undefined reference to `_get_output_format'
collect2: ld returned 1 exit status
This is using windows xp, so if it works on newer versions, which I cannot easily test right now, this might be My Problem and not your problem...
The text was updated successfully, but these errors were encountered: