|
RE: Running make: msg#00041lang.haskell.glasgow.bugs
> "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> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-643878 ] sortBy not stable, noreply |
|---|---|
| Next by Date: | [ ghc-Bugs-642810 ] Still fails to build with GCC 3.2, noreply |
| Previous by Thread: | Re: Running make, sonja groening |
| Next by Thread: | Cryptic error message, Josef Svenningsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |