An unsuspecting little program of mine crunches out the binary distrib
of 4.01, with "library -lgmp: not found" (full output appended).
Any clues as to what's up here?  (Apologies if this is blitheringly
obvious, or just a shoddy report, about to fall into bed...)

Slan,
Alex.
_____


oconnor.ucc.ie:~/filt4: gnumake OPT=-v
rm -f galileo
ghc-4.01 -o galileo -H30m  -K2M         -recomp -fglasgow-exts -cpp -syslib misc 
-Rgc-stats -dshow-passes -fmax-simplifier-iterations4 
-funfolding-use-threshold-0 -optC-fallow-undecidable-instances -fvia-C -v 
TypeDefs.o Utils.o Lexer.o GenUtils.o Galileo6.o Gal2Gal.o CodeGen.o List13.o 
Maybe13.o Phase1.o Phase2.o Phase3.o Gal2Nat.o GalileoModules.o AlexUtil.o 
Struct.o Commands.o CLI.o Pareto.o RTE.o Interpret.o Skolem.o Intervals.o Trie.o 
Trace.o Normal.o Main.o -optl-O
The Glorious Glasgow Haskell Compilation System, version 4.01, patchlevel 0

Linker:
        gcc -v -u PrelMain_mainIO_closure -u PrelBase_IZh_static_info -u 
PrelBase_CZh_static_info -u PrelBase_FZh_static_info -u PrelBase_DZh_static_info 
-u PrelAddr_AZh_static_info -u PrelAddr_WZh_static_info -u 
PrelAddr_I64Zh_static_info -u PrelAddr_W64Zh_static_info -u 
PrelForeign_StablePtr_static_info -u PrelBase_IZh_con_info -u 
PrelBase_CZh_con_info -u PrelBase_FZh_con_info -u PrelBase_DZh_con_info -u 
PrelAddr_AZh_con_info -u PrelAddr_WZh_con_info -u PrelAddr_I64Zh_con_info -u 
PrelAddr_W64Zh_con_info -u PrelForeign_StablePtr_con_info -u 
PrelBase_False_static_closure -u PrelBase_True_static_closure -u 
PrelPack_unpackCString_closure -O -o galileo TypeDefs.o Utils.o Lexer.o 
GenUtils.o Galileo6.o Gal2Gal.o CodeGen.o List13.o Maybe13.o Phase1.o Phase2.o 
Phase3.o Gal2Nat.o GalileoModules.o AlexUtil.o Struct.o Commands.o CLI.o 
Pareto.o RTE.o Interpret.o Skolem.o Intervals.o Trie.o Trace.o Normal.o Main.o  
-L/usr/local/ghc-4.01/lib/ghc-4.01 -L/usr/local/ghc-4.01/lib/ghc-4.01 
-L/usr/local/ghc-4.01/lib/ghc-4.01 -L/usr/local/ghc-4.01/lib/ghc-4.01 
-L/usr/local/ghc-4.01/lib/ghc-4.01  -lHSexts -lHSmisc -lHSmisc_cbits -lnsl 
-lsocket -lHSexts -lHS -lHS_cbits -lHSrts -lgmp -lm
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/specs
gcc version 2.7.2.3
 /usr/ccs/bin/ld -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o galileo -u 
PrelMain_mainIO_closure -u PrelBase_IZh_static_info -u PrelBase_CZh_static_info 
-u PrelBase_FZh_static_info -u PrelBase_DZh_static_info -u 
PrelAddr_AZh_static_info -u PrelAddr_WZh_static_info -u 
PrelAddr_I64Zh_static_info -u PrelAddr_W64Zh_static_info -u 
PrelForeign_StablePtr_static_info -u PrelBase_IZh_con_info -u 
PrelBase_CZh_con_info -u PrelBase_FZh_con_info -u PrelBase_DZh_con_info -u 
PrelAddr_AZh_con_info -u PrelAddr_WZh_con_info -u PrelAddr_I64Zh_con_info -u 
PrelAddr_W64Zh_con_info -u PrelForeign_StablePtr_con_info -u 
PrelBase_False_static_closure -u PrelBase_True_static_closure -u 
PrelPack_unpackCString_closure 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/crt1.o 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/crti.o 
/usr/ccs/lib/values-Xa.o 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/crtbegin.o 
-L/usr/local/ghc-4.01/lib/ghc-4.01 -L/usr/local/ghc-4.01/lib/ghc-4.01 
-L/usr/local/ghc-4.01/lib/ghc-4.01 -L/usr/local/ghc-4.01/lib/ghc-4.01 
-L/usr/local/ghc-4.01/lib/ghc-4.01 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3 -L/usr/ccs/bin 
-L/usr/ccs/lib -L/usr/local/lib TypeDefs.o Utils.o Lexer.o GenUtils.o Galileo6.o 
Gal2Gal.o CodeGen.o List13.o Maybe13.o Phase1.o Phase2.o Phase3.o Gal2Nat.o 
GalileoModules.o AlexUtil.o Struct.o Commands.o CLI.o Pareto.o RTE.o Interpret.o 
Skolem.o Intervals.o Trie.o Trace.o Normal.o Main.o -lHSexts -lHSmisc 
-lHSmisc_cbits -lnsl -lsocket -lHSexts -lHS -lHS_cbits -lHSrts -lgmp -lm -lgcc 
-lc -lgcc /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/crtend.o 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/crtn.o
ld: Software Generation Utilities (SGU) SunOS/ELF (LK-2.0 (S/I) - versioning)
ld: fatal: library -lgmp: not found
ld: fatal: File processing errors.  No output written to galileo

real        3.6
user        2.9
sys         0.2
deleting... galileo

rm -f /tmp/ghc12060*
gnumake: *** [galileo] Error 1
oconnor.ucc.ie:~/filt4:

Reply via email to