Hello,
My yhc build fails with the following error:

> [EMAIL PROTECTED]:~/yhc-devel> scons
> scons: Reading SConscript files ...
> Checking for architecture... x86
> Checking for operating system... linux2
> Bootstrapping...
> Done.
> scons: done reading SConscript files.
> scons: Building targets ...
> ghc src/compiler98/SyntaxUtil.o src/compiler98/Flags.o 
> src/compiler98/Export.o src/compiler98/PosCode.o src/compiler98/Lift.o 
> src/compiler98/FSLib.o src/compiler98/PrettySyntax.o src/compiler98/Scc.o 
> src/compiler98/Extract.o src/compiler98/NT.o src/compiler98/TokenInt.o 
> src/compiler98/Make.o src/compiler98/CaseOpt.o src/compiler98/Depend.o 
> src/compiler98/StrPos.o src/compiler98/SysDeps.o 
> src/compiler98/ReportImports.o src/compiler98/Remove1_3.o 
> src/compiler98/Prim.o src/compiler98/CaseLib.o src/compiler98/PrettyLib.o 
> src/compiler98/Case.o src/compiler98/StateMonad.o src/compiler98/FFITrans.o 
> src/compiler98/FixSyntax.o src/compiler98/Need.o src/compiler98/Nice.o 
> src/compiler98/Bind.o src/compiler98/STGArity.o src/compiler98/IntState.o 
> src/compiler98/RmClasses.o src/compiler98/SccModule.o 
> src/compiler98/Overlap.o src/compiler98/ForeignCode.o 
> src/compiler98/PrimCode.o src/compiler98/Error.o src/compiler98/Compile.o 
> src/compiler98/CaseHelp.o src/compiler98/Import.o src/compiler
98/Front.o src/compiler98/IExtract.o src/compiler98/MkSyntax.o 
src/compiler98/Fixity.o src/compiler98/PosAtom.o src/compiler98/RenameLib.o 
src/compiler98/Phase.o src/compiler98/Id.o src/compiler98/ImportState.o 
src/compiler98/State.o src/compiler98/FreeVar.o src/compiler98/Info.o 
src/compiler98/IdKind.o src/compiler98/Reduce.o src/compiler98/Main.o 
src/compiler98/Rename.o src/compiler98/PreImport.o src/compiler98/Syntax.o 
src/compiler98/Package.o src/compiler98/PreImp.o src/compiler98/TokenId.o 
src/compiler98/SyntaxPos.o src/compiler98/NeedLib.o src/compiler98/Derive/Ix.o 
src/compiler98/Derive/Read.o src/compiler98/Derive/Eq.o 
src/compiler98/Derive/Bounded.o src/compiler98/Derive/Enum.o 
src/compiler98/Derive/Lib.o src/compiler98/Derive/Binary.o 
src/compiler98/Derive/Derive.o src/compiler98/Derive/Ord.o 
src/compiler98/Derive/Eval.o src/compiler98/Derive/Show.o 
src/compiler98/Util/Extra.o src/compiler98/Util/Graph.o 
src/compiler98/Util/MergeSort.o src/compiler98/Util/Text.o src
/compiler98/Util/OsOnly.o src/compiler98/DotNet/Compile.o 
src/compiler98/DotNet/IL.o src/compiler98/DotNet/Show.o 
src/compiler98/Core/CoreType.o src/compiler98/Core/Core.o 
src/compiler98/Core/Pretty.o src/compiler98/Type/Type.o 
src/compiler98/Type/Data.o src/compiler98/Type/Ctx.o src/compiler98/Type/Util.o 
src/compiler98/Type/Unify.o src/compiler98/Type/Lib.o 
src/compiler98/Type/Subst.o src/compiler98/Type/Env.o 
src/compiler98/ByteCode/Type.o src/compiler98/ByteCode/Compile.o 
src/compiler98/ByteCode/Peep.o src/compiler98/ByteCode/Metric.o 
src/compiler98/ByteCode/ByteCode.o src/compiler98/ByteCode/Wrap.o 
src/compiler98/ByteCode/Relative.o src/compiler98/ByteCode/Graph.o 
src/compiler98/ByteCode/Analysis.o src/compiler98/ByteCode/CompileLib.o 
src/compiler98/ByteCode/Write.o src/compiler98/ByteCode/Flatten.o 
src/compiler98/ByteCode/Show.o src/compiler98/Parse/ParseLex.o 
src/compiler98/Parse/LexStr.o src/compiler98/Parse/Lexical.o 
src/compiler98/Parse/LexLow.o src/compiler98/Parse
/Parse2.o src/compiler98/Parse/ParseLib.o src/compiler98/Parse/ParseI.o 
src/compiler98/Parse/LexPre.o src/compiler98/Parse/Lex.o 
src/compiler98/Parse/ParseCore.o src/compiler98/Parse/Parse.o 
depends/cpphs/Language/Preprocessor/Unlit.o 
depends/cpphs/Language/Preprocessor/Cpphs.o 
depends/cpphs/Language/Preprocessor/Cpphs/Options.o 
depends/cpphs/Language/Preprocessor/Cpphs/RunCpphs.o 
depends/cpphs/Language/Preprocessor/Cpphs/ReadFirst.o 
depends/cpphs/Language/Preprocessor/Cpphs/Tokenise.o 
depends/cpphs/Language/Preprocessor/Cpphs/Position.o 
depends/cpphs/Language/Preprocessor/Cpphs/CppIfdef.o 
depends/cpphs/Language/Preprocessor/Cpphs/MacroPass.o 
depends/cpphs/Language/Preprocessor/Cpphs/SymTab.o 
depends/cpphs/Language/Preprocessor/Cpphs/HashDefine.o 
depends/cpphs/Text/ParserCombinators/HuttonMeijer.o 
depends/filepath/System/FilePath.o -o inst/bin/yhc
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot 
> find -lgmp
> collect2: ld returned 1 exit status
> scons: *** [inst/bin/yhc] Error 1
> scons: building terminated because of errors.
> [EMAIL PROTECTED]:~/yhc-devel>                 

My config is:
OS: Linux, OpenSuSE 10.2
GCC 4.1.2
Scons: script: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca
       engine: v0.96.1.D001, 2004/08/23 09:55:29, by knight on casablanca


This is a modified version of yhc that has not been sync'ed with the
repository for several months, but it used to build fine on my previous
Linux installation (Ubuntu 6.10).

Looks like another libgmp-related issue... Any suggestions on what to
do? Thanks.

-- 
Blogs: http://kartik-log.blogspot.com, http://randomkart.blogspot.com


Any opinions expressed here are mine and not necessarily those of
Starfleet Command.
begin:vcard
fn:Kartik Vaddadi
n:Vaddadi;Kartik
org:IIT-Bombay;CSE
adr:;;IIT, Powai;Mumbai;Maharastra;400076;India
email;internet:[EMAIL PROTECTED]
title:Graduate Student
tel;cell:+91-9833003598
x-mozilla-html:TRUE
url:http://www.cse.iitb.ac.in/~kart
version:2.1
end:vcard

_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

Reply via email to