[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs