[Yhc] -package cpphs ? (build problem)
Greg Buchholz
haskell at sleepingsquirrel.org
Thu Oct 12 13:57:36 EDT 2006
When I try the build process with scons, I get a failure when it
tries to link the object files together to produce executables. The
command...
ghc src/compiler98/FixSyntax.o ...(etc)... -o inst/bin/yhc
...complains about...
src/compiler98/Front.o(.text+0x155d): In function `s3My_1_alt':
: undefined reference to `LanguageziPreprocessorziUnlit_unlit_closure'
src/compiler98/Front.o(.text+0x1a56): In function `s3pb_info':
: undefined reference to `LanguageziPreprocessorziCpphsziOptions_CpphsMacro_closure'
src/compiler98/Front.o(.text+0x1ab1): In function `s3OV_1_alt':
...etc. If I try the command by hand, and add "-package cpphs", I can
get a yhc executable. I'm wondering if there is something strange about
my setup (Linux, ghc-6.4.2, scons v0.96.1.D001) which would cause this
problem, or is there something I can change in the configuration files
to get things to build properly?
Thanks,
Greg Buchholz
More information about the Yhc
mailing list