RE: Link errors

2009-03-15 Thread Lingappan, Loganathan
Great! This works! Thanks a lot, Logo From: Brandon S. Allbery KF8NH [mailto:allb...@ece.cmu.edu] Sent: Sunday, March 15, 2009 6:13 PM To: Lingappan, Loganathan Cc: Brandon S. Allbery KF8NH; glasgow-haskell-users@haskell.org Subject: Re: Link errors On 2009 Mar

Re: Link errors

2009-03-15 Thread Brandon S. Allbery KF8NH
On 2009 Mar 15, at 11:59, Lingappan, Loganathan wrote: FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_' collect2: ld returned 1 exit status Either use "ghc --make" or "ghc -package regex-posix". The former is preferred. -

Link errors

2009-03-15 Thread Lingappan, Loganathan
Hi, If I include import Text.Regex.Posix ((=~)) into a Haskell code, I get the following link error: FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_' collect2: ld returned 1 exit status Any ideas on how to fix this? I am using G

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
> Yeah. That'd have a different quick fix: > > cp /usr/lib/ghc-6.6/libHSCabal.a /usr/lib/Cabal-1.1.6/ghc-6.6/ > > because ghci uses the .o files and ghc uses the .a ones. Thanks it works! Now I can finally start playing with the GHC API. Bas ___ Glasgow

Re: Link errors when using the GHC API

2006-10-16 Thread Duncan Coutts
On Mon, 2006-10-16 at 17:42 +0200, Bas van Dijk wrote: > On Monday 16 October 2006 12:41, Duncan Coutts wrote: > > This is a problem with the way we have packaged it for Gentoo. We know > > the source of the problem and will fix it soon. > > Great, thanks. > > On Monday 16 October 2006 12:46, Cle

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
On Monday 16 October 2006 12:41, Duncan Coutts wrote: > This is a problem with the way we have packaged it for Gentoo. We know > the source of the problem and will fix it soon. Great, thanks. On Monday 16 October 2006 12:46, Clemens Fruhwirth wrote: > The problem is Gentoo specific. Quick dirty f

Re: Link errors when using the GHC API

2006-10-16 Thread Clemens Fruhwirth
At Mon, 16 Oct 2006 12:29:22 +0200, Bas van Dijk <[EMAIL PROTECTED]> wrote: > > (I noticed my reply to Mathew Mills didn't reach the GHC list, so here it is.) > > On Wednesday 11 October 2006 21:53, Mathew Mills wrote: > > Interesting. I was unable to reproduce your problem. What platform > >

Re: Link errors when using the GHC API

2006-10-16 Thread Duncan Coutts
On Mon, 2006-10-16 at 12:29 +0200, Bas van Dijk wrote: > (I noticed my reply to Mathew Mills didn't reach the GHC list, so here it is.) > > On Wednesday 11 October 2006 21:53, Mathew Mills wrote: > > Interesting. I was unable to reproduce your problem. What platform > > are you running on? Are

Re: Link errors when using the GHC API

2006-10-16 Thread Bas van Dijk
(I noticed my reply to Mathew Mills didn't reach the GHC list, so here it is.) On Wednesday 11 October 2006 21:53, Mathew Mills wrote: > Interesting. I was unable to reproduce your problem. What platform > are you running on? Are you using a binary distribution or one you > built from source?

Re: Link errors when using the GHC API

2006-10-13 Thread Simon Marlow
Simon Marlow wrote: Christian Maeder wrote: The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file:

Re: Link errors when using the GHC API

2006-10-12 Thread Simon Marlow
Christian Maeder wrote: The binary distribution http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 does not contain libHSghc.* So I get: Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc (libHSghc.so: cannot open shared object file: No such file or direct

Re: Link errors when using the GHC API

2006-10-12 Thread Christian Maeder
Christian Maeder schrieb: > The binary distribution > > http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-linux.tar.bz2 > > does not contain libHSghc.* > > So I get: > > Loading package ghc-6.6 ... ghc-6.6: can't load .so/.DLL for: HSghc > (libHSghc.so: cannot open shared object file: No

Re: Link errors when using the GHC API

2006-10-12 Thread Christian Maeder
Dijk schrieb: > Dear GHC hackers, > > I would like to experiment with the GHC API. However I get link errors when > using it. For example: > >

Re: Link errors when using the GHC API

2006-10-11 Thread Mathew Mills
named symbol is present. For example, is there a leading underscore? May the version ("m1zi1zi6") isn't present? On Oct 11, 2006, at 12:00 PM, Bas van Dijk wrote: Dear GHC hackers, I would like to experiment with the GHC API. However I get link erro

Link errors when using the GHC API

2006-10-11 Thread Bas van Dijk
Dear GHC hackers, I would like to experiment with the GHC API. However I get link errors when using it. For example: - $ ghci -package ghc ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive