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

Closed (moved)
(moved)
Open
Created Jul 31, 2018 by Trac@tracbot

Solaris 10: test_bwmgt.c compile error with tor-0.3.4.5-rc

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

Trac:
Username: Knut

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