logo       

RE: Running make: msg#00041

lang.haskell.glasgow.bugs

Subject: RE: Running make

> "Simon Marlow" <simonmar@xxxxxxxxxxxxx> writes:
> >
> > You also need libreadline.so, which here is just a link to
> > libreadline.so.4.2. The "right" way to get this, if you're on an
> > RPM-based Linux system, is to install the appropriate readline-devel
> > RPM.
>
> Thanks, it worked, but now a longer error occured, which
> confuses me much more:
>
> --------------------------------------------------------------
> ----------
> ==fptools== make boot - --no-print-directory -r;
> in /root/ghc-5.04.1/ghc/utils/ghc-pkg
> --------------------------------------------------------------
> ----------
> /usr/bin/ghc -M -optdep-f -optdep.depend -osuf o -ldl -cpp
> -DPKG_TOOL -DWANT
> _PRETTY -package lang -package util -package text -O Main.hs
> Package.hs ParsePkg
> ConfLite.hs
> make all
> /usr/bin/ghc -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package
> util -pac
> kage text -O -c Package.hs -o Package.o
> /usr/bin/ghc -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package
> util -pac
> kage text -O -c ParsePkgConfLite.hs -o ParsePkgConfLite.o
>
> ParsePkgConfLite.hs:300: Warning: Pattern match(es) are overlapped
> In a case alternative ITocurly: _ -> ...
> /usr/bin/ghc -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package
> util -package text -O -c Main.hs -o Main.o
> /usr/bin/ghc -o ghc-pkg.bin -ldl -cpp -DPKG_TOOL -DWANT_PRETTY
> -package lang -package util -package text -O Main.o
> Package.o ParsePkgConfLite.o
> /usr/lib/ghc-5.04.1/libHSrts.a(Storage.o): In function `initStorage':
> Storage.o(.text+0x4cb): undefined reference to
> `__gmp_set_memory_functions'
> /usr/lib/ghc-5.04.1/libHSrts.a(PrimOps.o): In function
> `plusIntegerzh_fast':
> PrimOps.o(.text+0x586): undefined reference to `__gmpz_init'
> PrimOps.o(.text+0x59c): undefined reference to `__gmpz_add'
[ etc. ]

Did you also upgrade libgmp at the same time? It looks like the version
of libgmp on your system doesn't match the one that GHC was built with.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise