[MacPorts] #58987: elinks build fails: incomplete definition of type 'struct ssl_st

MacPorts noreply at macports.org
Sun Sep 8 18:32:13 UTC 2019


#58987: elinks build fails: incomplete definition of type 'struct ssl_st
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.5.4
 Keywords:                |       Port:  elinks
--------------------------+--------------------
 This seems to be the critical portion of the log:
 {{{
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_elinks/elinks/work/elinks-0.11.7/src/network/ssl'
 :info:build       [CC]   src/network/ssl/socket.o
 :info:build socket.c:70:25: error: incomplete definition of type 'struct
 ssl_st'
 :info:build         ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
 :info:build         ~~~~~~~~~~~~~~~~~~~~~~~^
 :info:build /opt/local/include/openssl/ossl_typ.h:147:16: note: forward
 declaration of 'struct ssl_st'
 :info:build typedef struct ssl_st SSL;
 :info:build                ^
 :info:build socket.c:148:40: error: incomplete definition of type 'struct
 ssl_st'
 :info:build                         SSL_CTX *ctx = ((SSL *)
 socket->ssl)->ctx;
 :info:build                                        ~~~~~~~~~~~~~~~~~~~~~^
 :info:build /opt/local/include/openssl/ossl_typ.h:147:16: note: forward
 declaration of 'struct ssl_st'
 :info:build typedef struct ssl_st SSL;
 :info:build                ^
 :info:build 2 errors generated.
 :info:build make[3]: *** [socket.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58987>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list