[tor-bugs] #20530 [Core Tor/Tor]: undefined reference to 'munmap' and 'mmap' building tor on Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 2 05:12:47 UTC 2016


#20530: undefined reference to 'munmap' and 'mmap' building tor on Windows
----------------------------+---------------------
 Reporter:  ice             |          Owner:
     Type:  defect          |         Status:  new
 Priority:  Medium          |      Milestone:
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  windows, mingw  |  Actual Points:
Parent ID:                  |         Points:
 Reviewer:                  |        Sponsor:
----------------------------+---------------------
Changes (by teor):

 * keywords:   => windows, mingw


Comment:

 configure might be setting HAVE_SYS_MMAN_H incorrectly.

 When you run configure, do you have any configure lines that mention
 mman.h, mmap, munmap, or getpagesize?

 Clearly you have some header than mentions mmap and munmap.
 Do you need to link to a special library to get access to mmap and munmap?

 Do any of your headers mention getpagesize?

 What happens when you disable HAVE_SYS_MMAN_H in orconfig.h?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20530#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list