Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 339
    • Issues 339
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #7313
Closed
Open
Issue 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