[tor-bugs] #26460 [Core Tor/Tor]: Some? autoconf tests that include stdio.h fail with a missing ssp.h on cygwin

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 2 11:50:49 UTC 2019


#26460: Some? autoconf tests that include stdio.h fail with a missing ssp.h on
cygwin
--------------------------------------+------------------------------------
 Reporter:  teor                      |          Owner:  (none)
     Type:  defect                    |         Status:  closed
 Priority:  Medium                    |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor              |        Version:  Tor: 0.3.3.1-alpha
 Severity:  Normal                    |     Resolution:  user disappeared
 Keywords:  regression, 033-backport  |  Actual Points:
Parent ID:  #26356                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+------------------------------------

Comment (by rolex0815):

 I just tried now with 0.3.5.8, it still fails. Here are the last snippets:


 {{{
 make  all-am
 make[1]: Entering directory '/cygdrive/f/tor-0.3.5.8'
   CC       src/app/main/main.o
 In file included from ./src/core/or/or.h:16,
                  from src/app/main/main.c:12:
 ./src/lib/cc/torint.h:44:2: error: #error "Can't define ssize_t."
  #error "Can't define ssize_t."
   ^~~~~
 In file included from /usr/include/strings.h:77,
                  from /usr/include/string.h:24,
                  from ./src/lib/arch/bytes.h:16,
                  from ./src/core/or/or.h:25,
                  from src/app/main/main.c:12:
 /usr/include/ssp/strings.h:50:23: error: expected declaration specifiers
 or '...' before 'explicit_bzero'
  __ssp_redirect0(void, explicit_bzero, (void *__buf, size_t __len), \
                        ^~~~~~~~~~~~~~
 /usr/include/ssp/strings.h:50:39: error: expected declaration specifiers
 or '...' before '(' token
  __ssp_redirect0(void, explicit_bzero, (void *__buf, size_t __len), \
                                        ^
 /usr/include/ssp/strings.h:51:5: error: expected declaration specifiers or
 '...' before '(' token
      (__buf, __len));
      ^
 In file included from /usr/include/string.h:180,
                  from ./src/lib/arch/bytes.h:16,
                  from ./src/core/or/or.h:25,
                  from src/app/main/main.c:12:
 /usr/local/lib/gcc/x86_64-unknown-cygwin/8.3.0/include/ssp/string.h:38:10:
 fatal error: ssp.h: No such file or directory
  #include <ssp.h>
           ^~~~~~~
 compilation terminated.
 make[1]: *** [Makefile:9877: src/app/main/main.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory '/cygdrive/f/tor-0.3.5.8'
 make: *** [Makefile:5788: all] Error 2
 }}}

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


More information about the tor-bugs mailing list