1 Nov 2009 01:27
Re: demo compilation problem in mingw
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 `timeBeginPeriod <at> 4'| > C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\libag_core.a(time_win32.o):time_win32.c:(.text+0x16)||undefined reference to `timeGetTime <at> 0'| > C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\libag_core.a(time_win32.o):time_win32.c:(.text+0x28)||undefined reference to `timeGetTime <at> 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.
RSS Feed