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

say?

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.


Thanks
Ian

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to