HAVE_GETTIMEOFDAY is defined. I wrote a quick c program to check and I
can use gettimeofday fine. I can't work out why ghc can't find it. How
can I work out where ghc is searching to find it?
Chris.
On 3/30/07, Ian Lynagh <[EMAIL PROTECTED]> wrote:
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
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe