[tor-bugs] #17832 [Tor]: tor (dev) build failure on NetBSD built against bleeding edge OpenSSL

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 8 10:42:34 UTC 2016


#17832: tor (dev) build failure on NetBSD built against bleeding edge OpenSSL
--------------------+----------------------------------
 Reporter:  yancm   |          Owner:
     Type:  defect  |         Status:  closed
 Priority:  Medium  |      Milestone:  Tor: unspecified
Component:  Tor     |        Version:  Tor: unspecified
 Severity:  Normal  |     Resolution:  fixed
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+----------------------------------

Comment (by yancm):

 I'm not sure if I should include this report here or in a new ticket.

 I am unable to build against OpenSSL 1.1.0-pre3-dev.

 We fail at:
   CC       src/common/tortls.o
 In file included from src/common/tortls.c:72:0:
 src/common/tortls.h:140:15: error: conflicting types for
 'SSL_SESSION_get_master_key'
 /usr/local/include/openssl/ssl.h:1725:15: note: previous declaration of
 'SSL_SESSION_get_master_key' was here
 src/common/tortls.c: In function 'tor_tls_client_is_using_v2_ciphers':
 src/common/tortls.c:1488:20: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c: At top level:
 src/common/tortls.c:2348:1: error: conflicting types for
 'SSL_get_client_random'
 /usr/local/include/openssl/ssl.h:1721:15: note: previous declaration of
 'SSL_get_client_random' was here
 src/common/tortls.c: In function 'SSL_get_client_random':
 src/common/tortls.c:2353:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2354:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2354:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c: At top level:
 src/common/tortls.c:2361:1: error: conflicting types for
 'SSL_get_server_random'
 /usr/local/include/openssl/ssl.h:1723:15: note: previous declaration of
 'SSL_get_server_random' was here
 src/common/tortls.c: In function 'SSL_get_server_random':
 src/common/tortls.c:2366:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2367:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2367:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c: In function 'SSL_SESSION_get_master_key':
 src/common/tortls.c:2378:13: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2379:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2381:3: error: dereferencing pointer to incomplete
 type
 src/common/tortls.c:2381:3: error: dereferencing pointer to incomplete
 type
 Makefile:3341: recipe for target 'src/common/tortls.o' failed
 gmake[1]: *** [src/common/tortls.o] Error 1
 gmake[1]: Leaving directory '/usr/local/src/tor'
 Makefile:1930: recipe for target 'all' failed
 gmake: *** [all] Error 2

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


More information about the tor-bugs mailing list