[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #11605 [Tor]: Tor doesn't compile with --with-dmalloc
#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@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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs