[Haskell-cafe] Problem with linker
Alejandro Serrano Mena
trupill at gmail.com
Sat Jun 4 11:38:36 CEST 2011
No, it does not report any problem.
2011/6/4 Clint Moore <clint at ivy.io>
>
> On Sat, Jun 04, 2011 at 01:17:03AM +0200, Alejandro Serrano Mena wrote:
> > Hi,
> > I'm trying to use Hoogle as a library in my Summer of Code project. But
> when
> > I try to compile using Cabal, I get the following error:
> >
> > Linking dist/build/scion-browser/scion-browser ...
> >
> /home/serras/.cabal/lib/hoogle-4.2.4/ghc-7.0.2/libHShoogle-4.2.4.a(Serialise.o):
> > In function `s1ePR_info':
> > (.text+0x2015): undefined reference to
> > `hooglezm4zi2zi4_Pathszuhoogle_version1_closure'
> >
> /home/serras/.cabal/lib/hoogle-4.2.4/ghc-7.0.2/libHShoogle-4.2.4.a(Serialise.o):
> > In function `s1f8a_info':
> > (.text+0x338f): undefined reference to
> > `__stginit_hooglezm4zi2zi4_Pathszuhoogle_'
> >
> > I've been looking for some information and it seems to be related with
> the
> > fact that Hoogle first builds a library and then build an executable
> using
> > the library, but all files get recompiled in that second pass.
> >
> > Is there any way to workaround this problem?
>
> Does 'ghc-pkg check' report any problems?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110604/ae7b5a3a/attachment.htm>
More information about the Haskell-Cafe
mailing list