Compiling HDirect from CVS

Mike Thomas
Tue, 27 Mar 2001 16:59:49 +1000

Hi all.

I'm having a lot of trouble building the latest version of HDirect from CVS.

After setting up per the instructions, adjusting "mk/" to
substitute mingw for cygwin (avoids problems about the Posix library) and
then typing make at the top level of fptools I get the link error below.

If I go to the hdirect directory and type "make boot" followed by "make" the
same problem occurs.

I am using ghc 4.08.2 under Windows NT4 with the latest Cygwin setup.

Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib, or some kind of
foot and mouth virus passed from the pure Scottish air to Australia's
unseasonally warm shores via cvs?


Mike Thomas.

==fptools== make boot - --unix - --no-print-directory -r;
 in file://d/public/cvsroot/fpt/ghc/utils/hsc2hs
Creating Config.hs ... done.
make INSTALLING=0 BIN_DIST=0 - --unix - --no-print-directory -r all
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O    -c Config.hs -o
-osuf o
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O    -c
KludgedSystem.hs -o Kl
udgedSystem.o -osuf o
C:/TEMP/ghc218.hc:297: warning: implicit declaration of function `_getpid'
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O    -c Main.hs -o
Main.o -osu
f o
/cygdrive/c/ghc/ghc-4.08.2/bin/ghc -o hsc2hs-bin -package util -O
 KludgedSystem.o Main.o
C:/ghc/ghc-4.08.2/lib/libHSstd.a(Time.o)(.text+0x1c42c):ghc1360.c: undefined
erence to `_imp___timezone_dll'
collect2: ld returned 1 exit status