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
  • #7021

Closed (moved)
(moved)
Open
Created Oct 03, 2012 by Roger Dingledine@arma

compile error, tor_addr_parse(&addr, options->OutboundBindAddress)

src/or/dns.c: In function 'configure_nameservers':
src/or/dns.c:1215: error: passing argument 2 of 'tor_addr_parse' from incompatible pointer type
./src/common/address.h:187: note: expected 'const char *' but argument is of type 'struct config_line_t * const'
src/or/dns.c:1216: error: format '%s' expects type 'char *', but argument 5 has type 'struct config_line_t * const'
make[1]: *** [src/or/dns.o] Error 1
make[1]: Leaving directory `/home/tord/git'
make: *** [all] Error 2

The line is

   if (tor_addr_parse(&addr, options->OutboundBindAddress) < 0) {

Sounds like commit 1cbf45bed1 was incomplete?

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