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

PJ Durai pjdtech2000 at gmail.com
Mon Aug 4 13:54:24 EDT 2008


On 8/3/08, Andrew Appleyard <andrew.appleyard at gmail.com> wrote:
> 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

That works !
Thanks.


More information about the Haskell-Cafe mailing list