stable test failures

Ian Lynagh igloo at earth.li
Sun Jun 8 18:18:52 EDT 2008


On Sun, Jun 08, 2008 at 11:14:28PM +0200, Thorkil Naur wrote:
> 
> >       warning: passing argument 2 of 'gettimeofday' from incompatible
> >                pointer type
> >       error: 'RTLD_DEFAULT' undeclared (first use in this function)

I suspect that one of these is the problem:

> > > # define _ISOC99_SOURCE
> > > # define _BSD_SOURCE
> > > # ifndef _POSIX_C_SOURCE
> > > #  define _POSIX_C_SOURCE 200112L
> > > # endif
> > > #define _XOPEN_SOURCE 500

(by the way, I at least find "diff -u" format more readable)

If you send us the your /usr/include/dlfcn.h (which should #define
RTLD_DEFAULT), /usr/include/time.h and /usr/include/sys/time.h (one of
which should give a prototype for gettimeofday) then hopefully we can
see a way around it.

If you have a /usr/include/features.h then that might be useful too.


Thanks
Ian



More information about the Cvs-ghc mailing list