[Xapian-discuss] Compiling Omega 1.2.9 on Windows 7 64-Bit

Olly Betts olly at survex.com
Wed Mar 28 04:42:00 BST 2012


On Tue, Mar 27, 2012 at 09:54:00PM -0400, Noel Huebers wrote:
> I 'm trying to build Omega 1.2.9, configure ran through, but when I do
> make I get error below.

> freemem.cc: ?$B4X?t 'long int get_free_physical_memory()' ?$BFb:
> freemem.cc:111:5: ?$B%(%i!<: 'MEMORYSTATUSEX' was not declared in this scope
> freemem.cc:111:20: ?$B%(%i!<: expected ';' before 'statex'
> freemem.cc:112:5: ?$B%(%i!<: 'statex' was not declared in this scope
> freemem.cc:113:33: ?$B%(%i!<: 'GlobalMemoryStatusEx' was not declared in this scope

Hmm, can you find GlobalMemoryStatusEx in your compiler headers?  It is
declared in winbase.h in the Debian mingw-w64-dev cross-compiler package.

Cheers,
    Olly



More information about the Xapian-discuss mailing list