[Haskell-cafe] Missing Parsec library in latest stable GHC

Aaron Gray aaronngray.lists at gmail.com
Wed Dec 22 18:07:14 CET 2010


On 22 December 2010 16:47, Antoine Latter <aslatter at gmail.com> wrote:

> ghc doesn't, by default, go searching for packages to link in to the
> resulatant executable..
>
> If you try 'ghc --make scheme.hs' your example will work better.


Are great, thanks a lot.


> You can also specify what to link manually, but --make works pretty
> well most of the time.
>
> In ghc version 7 '--make' is the default, but until that's more widely
> distributed you'll want to get used to using the switch.
>

Yes it was linking before I upgraded GHC, hence my confusion :)

Many thanks Antoine,

Aaron


>
> Take care,
> Antoine
>
> On Wed, Dec 22, 2010 at 10:36 AM, Aaron Gray <aaronngray.lists at gmail.com>
> wrote:
> > On 22 December 2010 16:27, Antoine Latter <aslatter at gmail.com> wrote:
> >>
> >> What commands did you enter to produce this error?
> >>
> >
> > ghc scheme.hs
> > Aaron
> >
> >>
> >> Ahanks,
> >> Antoine
> >>
> >> On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray <aaronngray.lists at gmail.com
> >
> >> wrote:
> >> > Missing Parsec library :-
> >> > scheme.o(.text+0x4fa):fake: undefined reference to
> >> >
> >> >
> `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_closure'
> >> > scheme.o(.text+0x501):fake: undefined reference to
> >> >
> `parseczm2zi1zi0zi0_TextziPaserCombinatorsziParsecziChar_space_closure'
> >> > scheme.o(.text+0x5c2):fake: undefined reference to
> >> >
> `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziChar_oneOf_closure'
> >> > scheme.o(.text+0x63a):fake: undefined reference to
> >> > `mtlzm1zi1zi0zi0_ControlziMonadziTrans_zdf1_closure'
> >> > GHC from :-
> >> >     http://www.haskell.org/ghc/dist/stable/dist/
> >> >     ghc-7.0.1.20101221-i386-windows.exe
> >> > and earlier.
> >> > Aaron
> >> >
> >> > _______________________________________________
> >> > Haskell-Cafe mailing list
> >> > Haskell-Cafe at haskell.org
> >> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101222/f84d5796/attachment.htm>


More information about the Haskell-Cafe mailing list