[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #14134 [- Select a component]: tor-0.2.6.2_alpha and git/HEAD fail to build with ./configure --enable-bufferevents
#14134: tor-0.2.6.2_alpha and git/HEAD fail to build with ./configure --enable-
bufferevents
----------------------------------+---------------------
Reporter: blueness | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: - Select a component | Version:
Keywords: | Actual Points:
Parent ID: | Points:
----------------------------------+---------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14134>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs