[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 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
More information about the Haskell-Cafe
mailing list