[Haskell-cafe] Problem with linking HDBC-ODBC

hanjoosten han.joosten at atosorigin.com
Fri Nov 19 05:46:50 EST 2010


Hi

Yesterday I upgraded to the new version of hdbc-odbc (2.2.3.1.). Then I
rebuilt my own project, but the linker gives an error:

.
.
.
[88 of 90] Compiling CC               ( CC.hs,
C:\eclipseworkspace_fp1\ampersand\out\CC.o )
[89 of 90] Compiling Parser           ( Parser.hs,
C:\eclipseworkspace_fp1\ampersand\out\Parser.o )
[90 of 90] Compiling Main             ( Main.hs,
C:\eclipseworkspace_fp1\ampersand\out\Main.o )
Linking C:\eclipseworkspace_fp1\ampersand\bin\adl.exe ...
C:\Documents and Settings\nl22118\Application
Data\cabal\HDBC-odbc-2.2.3.1\ghc-6.12.3/libHSHDBC-odbc-2.2.3.1.a(Statement.o):fake:(.text+0x1a3d):
undefined reference to `SQLNumParams'
C:\Documents and Settings\nl22118\Application
Data\cabal\HDBC-odbc-2.2.3.1\ghc-6.12.3/libHSHDBC-odbc-2.2.3.1.a(Statement.o):fake:(.text+0x3961):
undefined reference to `SQLNumParams'
collect2: ld returned 1 exit status


Is there anything I do wrong? 
My environment is a windows machine. I use the haskell-platform. I upgraded
to the current version of hdbc-odbc using cabal install. 

Any suggestions are welcome.
-- 
View this message in context: http://haskell.1045720.n5.nabble.com/Problem-with-linking-HDBC-ODBC-tp3272152p3272152.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.


More information about the Haskell-Cafe mailing list