
I'm trying to build GHC HEAD on Mac OS 10.4.8 (PowerPC), but end up
with a linker error:
../compiler/stage1/ghc-inplace -o stage2/ghc-6.7.20070228 -H16m -O
-package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -
I. -IcodeGen -InativeGen -Iparser -Rghc-timing -DGHCI -DDEBUGGER -
threaded -fforce-recomp stage2/main/Main.o
/usr/bin/ld: warning multiple definitions of symbol _UP
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib
(terminal.so) definition of _UP
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
(lib_termcap.o) definition of _UP
/usr/bin/ld: warning multiple definitions of symbol _BC
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib
(terminal.so) definition of _BC
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
(lib_termcap.o) definition of _BC
/usr/bin/ld: warning multiple definitions of symbol _PC
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libreadline.dylib
(terminal.so) definition of _PC
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
(lib_tputs.o) definition of _PC
/usr/bin/ld: Undefined symbols:
_stg_interp_constr1_entry
_stg_interp_constr2_entry
_stg_interp_constr3_entry
_stg_interp_constr4_entry
_stg_interp_constr5_entry
_stg_interp_constr6_entry
_stg_interp_constr7_entry
_stg_interp_constr8_entry
collect2: ld returned 1 exit status
<