[tor-bugs] #11605 [Tor]: Tor doesn't compile with --with-dmalloc
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Apr 25 17:42:17 UTC 2014
#11605: Tor doesn't compile with --with-dmalloc
-----------------------+------------------------------------
Reporter: alphawolf | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version: Tor: 0.2.5.3-alpha
Keywords: dmalloc | Actual Points:
Parent ID: | Points:
-----------------------+------------------------------------
System is Debian Jessie w/ libdmalloc-dev 5.5.2-6. Tor version should
actually be 0.2.5.4-alpha, but was not an option in the select box.
After `./configure --with-dmalloc`, tor will not compile:
{{{
user at dev:~/Projects/tpo/tor$ make
make all-am
make[1]: Entering directory `/home/user/Projects/tpo/tor'
CC src/common/util.o
In file included from src/common/util.h:16:0,
from src/common/util.c:21:
src/common/compat.h:350:22: error: expected declaration specifiers or
‘...’ before ‘(’ token
#define SHORT_FILE__ (__FILE__)
^
src/common/util.h:66:24: note: in expansion of macro ‘SHORT_FILE__’
#define DMALLOC_ARGS , SHORT_FILE__, __LINE__
^
src/common/util.h:122:65: note: in expansion of macro ‘DMALLOC_ARGS’
#define tor_memdup_nulterm(s, n) tor_memdup_nulterm_(s, n
DMALLOC_ARGS)
^
src/common/util.c:306:1: note: in expansion of macro ‘tor_memdup_nulterm’
tor_memdup_nulterm(const void *mem, size_t len DMALLOC_PARAMS)
^
src/common/util.c:306:1: error: expected declaration specifiers or ‘...’
before numeric constant
make[1]: *** [src/common/util.o] Error 1
make[1]: Leaving directory `/home/user/Projects/tpo/tor'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11605>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list