Hi PJ,

On 2/08/2008 4:09 AM, you wrote:
I am having issues getting hdbc/odbc working on windows.

When using GHC, I am not able to compile a simple program. It ends up
with linker errors like
[...]
Is there an easy workaround for this? Or am I doing something wrong?

MySetup
=======
Windows XP SP2
ghc 6.8.3
hdbc  1.1.5.0
hdbc-odbc 1.1.4.3.0

hdbc-odbc 1.1.4.4 contains a patch to the calling convention of the ODBC functions (from ccall to stdcall).

Grab version 1.1.4.4 from Hackage [1] and hopefully that'll fix your problem.

[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HDBC-odbc

Regards,
Andrew
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to