
2 Dec
2008
2 Dec
'08
12:55 a.m.
On 2008 Dec 2, at 0:38, Ben George wrote:
$ghc file.hs compilation IS NOT required byteindex.o: In function `sKE_info': (.text+0x8bf): undefined reference to `__stginit_utf8zmstringzm0zi3zi3_SystemziIOziUTF8_' collect2: ld returned 1 exit status
Use ghc --make so it looks up the dependencies for System.IO.UTF8 automatically. Otherwise you need to add them explicitly with - package arguments. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH