Compiling HDirect from CVS

Simon Peyton-Jones simonpj@microsoft.com
Wed, 28 Mar 2001 01:33:11 -0800


Reuben is on the job.  Stay tuned.

Simon

| -----Original Message-----
| From: Mike Thomas [mailto:miketh@brisbane.paradigmgeo.com]
| Sent: 27 March 2001 08:00
| To: glasgow-haskell-users@haskell.org
| Subject: Compiling HDirect from CVS
|=20
|=20
| Hi all.
|=20
| I'm having a lot of trouble building the latest version of=20
| HDirect from CVS.
|=20
| After setting up per the instructions, adjusting "mk/config.mk" to
| substitute mingw for cygwin (avoids problems about the Posix=20
| library) and
| then typing make at the top level of fptools I get the link=20
| error below.
|=20
| If I go to the hdirect directory and type "make boot"=20
| followed by "make" the
| same problem occurs.
|=20
| I am using ghc 4.08.2 under Windows NT4 with the latest Cygwin setup.
|=20
| Is "_imp___timezone_dll" a Haskell DLL, a missing Mingw lib,=20
| or some kind of
| foot and mouth virus passed from the pure Scottish air to Australia's
| unseasonally warm shores via cvs?
|=20
| Cheers
|=20
| Mike Thomas.
|=20
| --------------------------------------------------------------
| ----------
| =3D=3Dfptools=3D=3D make boot - --unix - --no-print-directory -r;
|  in file://d/public/cvsroot/fpt/ghc/utils/hsc2hs
| --------------------------------------------------------------
| ----------
| Creating Config.hs ... done.
| make INSTALLING=3D0 BIN_DIST=3D0 - --unix - --no-print-directory -r =
all
| /cygdrive/c/ghc/ghc-4.08.2/bin/ghc -package util -O    -c Config.hs -o
| Config.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=20
| 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
| Config.o
|  KludgedSystem.o Main.o
| C:/ghc/ghc-4.08.2/lib/libHSstd.a(Time.o)(.text+0x1c42c):ghc136
| 0.c: undefined
| ref
| erence to `_imp___timezone_dll'
| collect2: ld returned 1 exit status
|=20
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
|=20