I'm trying to link an FFI program against a Windows (XP) DLL
(c:\windows\system32\ntwdblib - this is the MS Sql Server client library).
The output from ghc6.4 -v is below; the errors start in the Linker section.
Comments:
- Where do these objects dxx.o come from? (They're not in my
: Wednesday, April 27, 2005 08:10
Subject: Linker errors when using FFI on Windows
I'm trying to link an FFI program against a Windows (XP) DLL
(c:\windows\system32\ntwdblib - this is the MS Sql Server client library).
The output from ghc6.4 -v is below; the errors start in the Linker
section
The compiler has generated intermediate code which uses a 77-tuple, but
unfortunately the libraries don't contain code for 77-tuples (we only go
up to 62-tuples).
This is kind of a known bug, occasionally tickled by Happy-generated
parsers.
If you're not generating your parser with 'happy
On 13 September 2004 17:44, Frank-Andre Riess wrote:
this is my first post on this list. I'm quite new to using Haskell
(started in July), so my question might be somewhat trivial, but I
still hope you can help me out.
At the moment our project - a parser for a type language - consists
of
Hello There,
this is my first post on this list. I'm quite new to using Haskell
(started in July), so my question might be somewhat trivial, but I still
hope you can help me out.
At the moment our project - a parser for a type language - consists of the
following modules:
Lexer
In gmane.comp.lang.haskell.glasgow.user, you wrote:
When compiling using ghc, I get the following error:
Parser.o(.text+0x10fc5): In function `r1fgN_entry':
: undefined reference to `DataziTuple_Z77T_con_info'
collect2: ld returned 1 exit status
What platform and gcc? Could you please invoke
| The code is hand-written and the maximum tuple-size
| used is 4. It works fine in Hugs. It uses the Parsec
| library (not the version in GHC's text package, but
| from a local copy. The ParsecPrim.hs was replaced by
| the version from Parsec's web-site -- it works as I
| expected, but not the
PROTECTED]
| On Behalf Of A.P. Rao
| Sent: 04 August 2003 05:50
| To: [EMAIL PROTECTED]
| Subject: linker errors
|
| Hi,
|
| I am getting an undefined reference error listed
| below when I try to
| build my program. I am able to successfully compile
| and link a trivial
| Hello World program
The code is hand-written and the maximum tuple-size
used is 4. It works fine in Hugs. It uses the Parsec
library (not the version in GHC's text package, but
from a local copy. The ParsecPrim.hs was replaced by
the version from Parsec's web-site -- it works as I
expected, but not the one
Hi,
I am getting an undefined reference error listed
below when I try to
build my program. I am able to successfully compile
and link a trivial
Hello World program, but not my application code.
I tried 3 different versions of ghc (5.04.3, 6.0 and
6.0.1) on my
redhat-9 linux pc. The
10 matches
Mail list logo