Opened 9 months ago

Closed 9 months ago

#27470 closed defect (fixed)

tor nightly build fails for Windows 64 bit with "error: conflicting types for 'tor_tls_new'"

Reported by: gk Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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

Child Tickets

Change History (2)

comment:1 Changed 9 months ago by gk

Cc: boklm added

comment:2 Changed 9 months ago by nickm

Resolution: fixed
Status: newclosed

824160fd827dda should fix this; please reopen if it doesn't.

Note: See TracTickets for help on using tickets.