[Haskell-cafe] Compiling GHC

Ian Lynagh igloo at earth.li
Fri Mar 30 09:34:56 EDT 2007

On Fri, Mar 30, 2007 at 04:36:32PM +1000, Chris Witte wrote:
> I'm tying to compile GHC under mingw (winxp with mingw no cygwin),
> Loading package base ... linking ... ghc.exe: unable to load package `base'
> ghc.exe:
> C:/msys/1.0/local/HSbase.o: unknown symbol `_gettimeofday'
> any ideas on what could be causing this.

What does

    grep -i gettimeofday mk/config.h


If HAVE_GETTIMEOFDAY is defined then either comment it out (between
running configure and running make), or work out why the configure test
is succeeding but it doesn't work when GHC tries to use it.


More information about the Haskell-Cafe mailing list