The applicative-numbers package [1] provides an include file. With ghci,
the include file isn't being found, though with cabal+ghc it is found.
My test source is just two lines:
{-# LANGUAGE CPP #-}
#include ApplicativeNumeric-inc.hs
I'd sure appreciate it if someone could take a look at the
On Sat, 2009-03-14 at 23:43 -0700, Conal Elliott wrote:
The applicative-numbers package [1] provides an include file. With
ghci, the include file isn't being found, though with cabal+ghc it is
found.
My test source is just two lines:
{-# LANGUAGE CPP #-}
#include
We are pleased to announce the first release candidate for GHC 6.10.2:
http://www.haskell.org/ghc/dist/6.10.2-rc1/
This includes two source bundles:
ghc-6.10.1.20090314-src.tar.bz2
ghc-6.10.1.20090314-src-extralibs.tar.bz2
Only the first of these is necessary. The extralibs
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
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.
--
That did it. I've added :set -package applicative-numbers to my .ghci and
am back in business. Thanks!
IIUC, there's an inconsistency in ghci's treatment of modules vs include
files, in that modules will be found without -package, but include files
won't. Room for improvement, perhaps.
-
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
On Sun, 2009-03-15 at 09:13 -0700, Conal Elliott wrote:
That did it. I've added :set -package applicative-numbers to
my .ghci and am back in business. Thanks!
IIUC, there's an inconsistency in ghci's treatment of modules vs
include files, in that modules will be found without -package, but
Thanks for the clarification, Duncan. Seems an easy partial solution would
be a single pass (before CPP) that notices just the #include directives.
Consult the package database to find those packages. That route would find
direct includes but not indirect ones. An optional and still-easy next
On Sun, Mar 15, 2009 at 03:51:42PM +, Ian Lynagh wrote:
We are pleased to announce the first release candidate for GHC 6.10.2:
http://www.haskell.org/ghc/dist/6.10.2-rc1/
This includes two source bundles:
ghc-6.10.1.20090314-src.tar.bz2
On Sun, Mar 15, 2009 at 10:49:20PM +, Ingmar Vanhassel wrote:
http://www.haskell.org/ghc/dist/6.10.2-rc1/
Could you add a testsuite tarball too please?
There's already one there.
Thanks
Ian
___
Glasgow-haskell-users mailing list
11 matches
Mail list logo