Opened 12 months ago

#57406 assigned defect

varnish: error: use of undeclared identifier 'MAP_ANONYMOUS'

Reported by: ryandesign (Ryan Schmidt) Owned by: Gminfly
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: varnish


varnish fails to build:

mgt/mgt_child.c:408:26: error: use of undeclared identifier 'MAP_ANONYMOUS'
                                              MAP_PRIVATE | MAP_ANONYMOUS,
1 error generated.
make[3]: *** [varnishd-mgt_child.o] Error 1

MAP_ANONYMOUS is only available since OS X 10.11. Prior to that, it was called MAP_ANON, and you can still use that old name today, so that would be the simplest fix.

Change History (0)

Note: See TracTickets for help on using tickets.