git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/4] MSVC: Fix an "unresolved symbol" linker error on cygwin

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 3, 2009, 07:21 UTC
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
Previous: Ramsay JonesNext: Junio C Hamano
Message 2 of 8 in “MSVC: Fix an "unresolved symbol" linker error on cygwin”
  1. 1/4 MSVC: Fix an "unresolved symbol" linker error on cygwinRamsay Jones, Oct 27, 2009
  2. Johannes SixtNov 3, 2009
  3. Junio C HamanoNov 3, 2009
  4. Ramsay JonesNov 4, 2009
  5. Johannes SixtNov 5, 2009
  6. Junio C HamanoNov 5, 2009
  7. Ramsay JonesNov 4, 2009
  8. Johannes SixtNov 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.