On Sat, Oct 31, 2009 at 09:16:48PM +0100, Joergen Kornfeld wrote:
> Hey,
> 
> I experienced the same problem and tried an empty have_gettime.h (deleted 
> content after ./configure). Now, I'm getting different linking problems 
> (during compilation of project that uses agar, agar itself compiles fine), 
> but probably related to the fix..
> 
> C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\libag_core.a(time_win32.o):time_win32.c:(.text+0xe)||undefined
>  reference to `timebeginper...@4'|
> C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\libag_core.a(time_win32.o):time_win32.c:(.text+0x16)||undefined
>  reference to `timegett...@0'|
> C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\libag_core.a(time_win32.o):time_win32.c:(.text+0x28)||undefined
>  reference to `timegett...@0'|
> 
> Compiled Agar 1.3.4 under MSYS.

Under VS2005, timeGetTime() is linked from winmm.lib. I don't know what
is the problem with this function under MSYS, but it is not needed in
any case; you should be able to remove time_win32.c from core/Makefile
and rebuild.

I'll address this with some specific configure tests for MSYS/Cygwin in
the next release.


_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to