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: *** [src/test/src_test_test-test_bwmgt.o] Error 1 gmake: Leaving directory `/usr/local/lib/tor-0.3.4.5-rc' gmake: *** [all] Error 2
Any help is appreciated.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information