[Haskell] Odd link error
Thomas Davie
tom.davie at gmail.com
Wed May 11 09:52:02 EDT 2005
Hi,
I'm getting an odd link error trying to build with ghc 6.2.2 on OS
X, and can't figure out what's going on. From it's form, I assume
that the symbol is part of the runtime, but greping the files in /usr/
local/lib/ghc-6.2.2 returns no results.
dhcp2934:~/Documents/hat tatd2$ make
cd src/hattools; make HC=ghc install
hmake -hc=ghc -I. -I/Users/tatd2/Documents/hat/include -fglasgow-exts
-package lang -package util -DUSE_READLINE=1 HatStack /Users/tatd2/
Documents/hat/targets/powerpc-Darwin8/obj/hattools/pathutils.o /Users/
tatd2/Documents/hat/targets/powerpc-Darwin8/obj/hattools/artutils.o /
Users/tatd2/Documents/hat/targets/powerpc-Darwin8/obj/hattools/
finitemap.o \
-d/Users/tatd2/Documents/hat/targets/powerpc-Darwin8/obj/
hattools
cd /Users/tatd2/Documents/hat/targets/powerpc-Darwin8/obj/hattools &&
ghc -fglasgow-exts -package lang -package util -I. -I/Users/tatd2/
Documents/hat/include -i. -i/Users/tatd2/Documents/hat/include -o
HatStack Run.o CommonUI.o Ident.o FFIExtensions.o HighlightStyle.o
PrettyLibHighlight.o SExp.o SrcRef.o LowLevel.o HatStack.o /Users/
tatd2/Documents/hat/targets/powerpc-Darwin8/obj/hattools/pathutils.o /
Users/tatd2/Documents/hat/targets/powerpc-Darwin8/obj/hattools/
artutils.o /Users/tatd2/Documents/hat/targets/powerpc-Darwin8/obj/
hattools/finitemap.o
/usr/bin/ld: Undefined symbols:
_GHCziTopHandler_runMainIO_closure
collect2: ld returned 1 exit status
make[1]: *** [/Users/tatd2/Documents/hat/lib/powerpc-Darwin8/hat-
stack] Error 1
make: *** [targets/powerpc-Darwin8/hat-tools-ghc] Error 2
Has anyone got any idea what's going on?
Bob
More information about the Haskell
mailing list