Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 824
    • Issues 824
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • 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
  • #14134
Closed
Open
Created Jan 08, 2015 by Anthony Basile@blueness

tor-0.2.6.2_alpha and git/HEAD fail to build with ./configure --enable-bufferevents

When tor is configured with ./configure --enable-bufferevent, the build fails with:

In file included from src/common/tortls.c:44:0: src/common/compat_libevent.h:75:32: error: unknown type name ‘tor_libevent_get_base’ MOCK_DECL(struct event_base *, tor_libevent_get_base, (void)); ^ src/common/compat_libevent.h:75:55: error: expected declaration specifiers or ‘...’ before ‘(’ token MOCK_DECL(struct event_base *, tor_libevent_get_base, (void)); ^ CC src/common/src_common_libor_event_testing_a-procmon.o

This happens because MOCK_DECL is defined in src/common/testsupport.h and yet testsupport.h is not included in src/common/compat_libevent.h.

This is fixed by just including testsupport.h.

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