Mark, Thanks that got me further. I had to as you hinted - also remove the gettimeofday function from the timeval.h file to get it to completely compile. Without removing that I was getting an ambiguous function call error.
Thanks, Regina ---Original Message ---- Hi Regina, It looks as if the MingW guys have finally added an in-built "struct timezone" to the latest version of their runtime here which is causing the problem: http://sourceforge.net/project/shownotes.php?group_id=2435&release_id=15 8845 (as a side note, it also looks as if they have added in their own version of gettimeofday() at the same time). The reason this hasn't shown up in my builds is that I'm currently still using the older version of MingW (4.1.0) which doesn't have this change. The solution here should be to remove the "struct timezone { ... }" from timeval.h and then trying "make" again to see if it allows the build to get any further. Kind regards, Mark. -----Original Message----- From: Obe, Regina Sent: Monday, January 22, 2007 10:16 AM To: geos-devel@geos.refractions.net Subject: [geos-devel] Trouble compiling Geos 2.2.3 I'm getting an error when trying to compile Geos 2.2.3 on a Windows XP box. I'm using MinGW-5.1.2, Msys-1.0.11. The error I get is below. In file included from ../../source/headers/geos/profiler.h:27, from ../geomgraph/EdgeList.cpp:19: .../../source/headers/geos/timeval.h:25: error: redefinition of `struct timezone' C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/sys/time.h:27: error: previous definition of `struct timezone' Thanks, Regina ----------------------------------------- The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel