From: Johannes Sixt Date: Tue, 03 Nov 2009 07:21:06 GMT Subject: Re: [PATCH 1/4] MSVC: Fix an "unresolved symbol" linker error on cygwin Message-ID: <4AEFD9E2.6060004@viscovery.net> In-Reply-To: <4AE74408.7080103@ramsay1.demon.co.uk> Ramsay Jones schrieb: > When the NO_MMAP build variable is set, which is the case by > default on cygwin, the msvc linker complains: > > error LNK2001: unresolved external symbol _getpagesize Make up your mind: use the cygwin configuration or use the MSVC configuration. MSVC doesn't define NO_MMAP for a reason. Where is the problem? I understand that you run into this error if you define NO_MMAP in your config.mak. I don't know whether we support NO_MMAP as a knob for to tweak the builds on all platforms. If this is the case (Junio?), then your justification must be updated. -- Hannes