Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #14134

Closed (moved)
Open
Opened 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 admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.6.x-final
Milestone
Tor: 0.2.6.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#14134