GHC Command Line Help

Steinitz, Dominic J Dominic.J.Steinitz@BritishAirways.com
21 Dec 2000 16:30:55 Z


I was experimenting with using FiniteMap. The program compiled ok but the linker gave me the following error. What do I need to include on the command line or have I not installed ghc correctly?

[dom@lhrtba8fd85 FiniteMap]$ /usr/bin/ghc -o main test.o -L/usr/lib/ghc-4.08.1 -
lHSlang -lHSdata
/usr/lib/ghc-4.08.1/libHSdata.a(FiniteMap__1.o): In function `__init_FiniteMap':
FiniteMap__1.o(.text+0x16): undefined reference to `__init_GlaExts'
collect2: ld returned 1 exit status                                            

-------------------------------------------------------------------------------------------------
21st century air travel     http://www.britishairways.com