[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27470 [Core Tor/Tor]: tor nightly build fails for Windows 64 bit with "error: conflicting types for 'tor_tls_new'"



#27470: tor nightly build fails for Windows 64 bit with "error: conflicting types
for 'tor_tls_new'"
------------------------------+--------------------
     Reporter:  gk            |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Starting with today's nightly build `tor` compilation fails for Windows
 x86_64:
 {{{
 src/lib/tls/tortls_openssl.c:1010:1: error: conflicting types for
 'tor_tls_new'
  tor_tls_new(int sock, int isServer)
  ^~~~~~~~~~~
 In file included from src/lib/tls/tortls_openssl.c:59:0:
 ./src/lib/tls/tortls.h:91:12: note: previous declaration of 'tor_tls_new'
 was here
  tor_tls_t *tor_tls_new(tor_socket_t sock, int is_server);
             ^~~~~~~~~~~
   CC       src/trunnel/hs/src_trunnel_libor_trunnel_a-cell_common.o
 Makefile:12587: recipe for target 'src/lib/tls/src_lib_libtor_tls_a-
 tortls_openssl.o' failed
 make[1]: *** [src/lib/tls/src_lib_libtor_tls_a-tortls_openssl.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 src/lib/tls/tortls_openssl.c:1010:1: error: conflicting types for
 'tor_tls_new'
  tor_tls_new(int sock, int isServer)
  ^~~~~~~~~~~
 In file included from src/lib/tls/tortls_openssl.c:59:0:
 ./src/lib/tls/tortls.h:91:12: note: previous declaration of 'tor_tls_new'
 was here
  tor_tls_t *tor_tls_new(tor_socket_t sock, int is_server);
             ^~~~~~~~~~~
 make[1]: *** [src/lib/tls/src_lib_libtor_tls_testing_a-tortls_openssl.o]
 Error 1
 Makefile:12489: recipe for target 'src/lib/tls
 /src_lib_libtor_tls_testing_a-tortls_openssl.o' failed
 make[1]: Leaving directory '/var/tmp/build/tor-79a7fbb79b7f'
 Makefile:4731: recipe for target 'all' failed
 make: *** [all] Error 2
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27470>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs