Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #11605

Closed (moved)
(moved)
Open
Created Apr 25, 2014 by Trac@tracbot

Tor doesn't compile with --with-dmalloc

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

Trac:
Username: alphawolf

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