Linker errors when using FFI on Windows

2005-04-27 Thread Bayley, Alistair
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

Re: Linker errors when using FFI on Windows

2005-04-27 Thread Sigbjorn Finne
: 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

RE: linker errors

2004-09-15 Thread Frank-Andre Riess
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

RE: linker errors

2004-09-14 Thread Simon Marlow
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

linker errors

2004-09-13 Thread Frank-Andre Riess
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

Re: linker errors

2004-09-13 Thread Volker Stolz
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

RE: linker errors

2003-08-05 Thread Simon Peyton-Jones
| 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

RE: linker errors

2003-08-04 Thread Simon Peyton-Jones
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

RE: linker errors

2003-08-04 Thread A.P. Rao
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

linker errors

2003-08-03 Thread A.P. Rao
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