[Haskell-cafe] HDBC-ODBC linking problems in windows.

Andrew Appleyard andrew.appleyard at gmail.com
Sun Aug 3 19:45:22 EDT 2008

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
> hdbc-odbc

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

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

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


More information about the Haskell-Cafe mailing list