-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.4.6
-
Sprint 62 (Mar 2020)
-
0.25
./configure --enable-agent2
Try make install and observe error:
Checking the make code, it seems I have some go errors as well # zabbix.com/pkg/tls pkg/tls/tls.go:867:52: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in assignment pkg/tls/tls.go:877:31: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_ready pkg/tls/tls.go:883:33: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_recv pkg/tls/tls.go:907:23: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_send pkg/tls/tls.go:932:30: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_close pkg/tls/tls.go:951:55: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_validate_issuer_and_subject pkg/tls/tls.go:960:15: cannot use Ctype_tls_lp_t(c.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in assignment pkg/tls/tls.go:972:31: cannot use Ctype_tls_lp_t(c.tlsConn.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_connected pkg/tls/tls.go:975:32: cannot use Ctype_tls_lp_t(c.tlsConn.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_connected pkg/tls/tls.go:976:37: cannot use Ctype_tls_lp_t(c.tlsConn.tls) (type Ctype_tls_lp_t) as type *_Ctype_struct___0 in argument to _Cfunc_tls_handshake pkg/tls/tls.go:976:37: too many errors
Expected:
Event if ssl library is mandatory there should have been error about it missing, but it's better to make it not mandatory when compiling without openssl.