Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7313

Closed (moved)
(moved)
Open
Created Nov 04, 2012 by Trac@tracbot

msvc compilation error for libevent2, missing HAVE_EVENT2_DNS_H

If we assume MSVC builds have to use the latest available libevent version (no reason not to since it has to be built from source anyway), then src/win32/orconfig.h requires an additional line:

#define HAVE_EVENT2_DNS_H

otherwise mixing of old and new version code happens, and

3>libtor.lib(dns.obj) : error LNK2019: unresolved external symbol _evdns_set_default_outgoing_bind_address referenced in function _configure_nameservers
3>libtor.lib(dns.obj) : error LNK2019: unresolved external symbol _evtimer_add referenced in function _dns_launch_correctness_checks
3>libtor.lib(dns.obj) : error LNK2019: unresolved external symbol _evtimer_new referenced in function _dns_launch_correctness_checks

Trac:
Username: ultramage

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking