
2 Mar
2004
2 Mar
'04
9:36 a.m.
This program does not compile using GHC 6.2 on winXP.
import Network.Socket main = do putStr ""
The error is:
conc.o(.text+0x22):fake: undefined reference to `__stginit_NetworkziSocket_'
What am I doing wrong?
You need to add '-package network' to the command line when linking, or compile the program with --make. Cheers, Simon