[tor-bugs] #26994 [Core Tor]: test_bwmgt.c compile error with tor-0.3.4.5-rc

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 31 07:07:04 UTC 2018


#26994: test_bwmgt.c compile error with tor-0.3.4.5-rc
--------------------------+-----------------------------
     Reporter:  Knut      |      Owner:  (none)
         Type:  defect    |     Status:  new
     Priority:  Medium    |  Milestone:
    Component:  Core Tor  |    Version:  Tor: 0.3.4.5-rc
     Severity:  Normal    |   Keywords:  test_bwmgt.c
Actual Points:            |  Parent ID:
       Points:            |   Reviewer:
      Sponsor:            |
--------------------------+-----------------------------
 I'm running in the same compile error on all tor-0.3.4.* versions
 when trying to build tor on Solaris 10
 tor-0.3.3.9 builds and works without any issue.

 The error looks like:

 In file included from /usr/include/sys/select.h:23:0,
                  from /usr/include/sys/types.h:616,
                  from /usr/include/unistd.h:20,
                  from ./src/or/or.h:18,
                  from src/test/test_bwmgt.c:11:
 src/test/test_bwmgt.c: In function ‘test_bwmgt_token_buf_refill’:
 src/test/test_bwmgt.c:127:18: error: expected identifier or ‘(’ before
 numeric constant
    const uint32_t SEC =
                   ^
 gmake[1]: *** [src/test/src_test_test-test_bwmgt.o] Error 1
 gmake[1]: Leaving directory `/usr/local/lib/tor-0.3.4.5-rc'
 gmake: *** [all] Error 2

 Any help is appreciated.

 Thanks.

 Knut

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26994>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list