[nhc-users] nhc -T problem

Wojciech Moczydlowski, Jr khaliff@astercity.net
Tue, 22 May 2001 23:47:57 +0200 (CEST)


  I've just installed nhc 1.04, and tried to execute:

hmake 1 -T

in a directory containing file 1.hs:

module Main where

f = foldl (+) 0

main = print (f [1..10])

and I've got the following error message:

[khaliff@90-mia-3 khaliff]$ hmake 1 -T
nhc98  -T   -c -o 1.T.o 1.hs
nhc98  -T   -o 1 1.T.o 
1.T.o(.data+0x1a8): undefined reference to N_Prelude_46mkNTId'
1.T.o(.data+0x1b0): undefined reference to N_Prelude_46mkSR'
1.T.o(.data+0x1b8): undefined reference to N_Prelude_46mkTNm'
1.T.o(.data+0x1bc): undefined reference to F_Prelude_46mkTRoot'
1.T.o(.data+0x1e8): undefined reference to N_Prelude_46lazySat'
1.T.o(.data+0x310): undefined reference to N_Prelude_46mkNTId'
1.T.o(.data+0x318): undefined reference to N_Prelude_46mkSR'
1.T.o(.data+0x320): undefined reference to N_Prelude_46mkTNm'
1.T.o(.data+0x324): undefined reference to F_Prelude_46mkTRoot'
1.T.o(.data+0x364): undefined reference to N_Prelude_46lazySat'

Wojciech Moczydlowski, Jr