[asterisk-users] Compiling error

Saint Michael venefax at gmail.com
Thu Jan 10 21:15:25 CST 2019


>
> when compiling the latest version, it fails here

./configure   LDFLAGS="-z muldefs" --libdir=/usr/lib64
--with-unixodbc=$(odbc_config --include-prefix)/ --disable-asteriskssl
-enable-xmldoc NOISY_BUILD=yes


> gcc -o res_pjsip/config_transport.o -c res_pjsip/config_transport.c -MD
> -MT res_pjsip/config_transport.o -MF .res_pjsip_config_transport.o.d -MP
> -pthread -I/usr/src/asterisk/include    -I/usr/include/libxml2  -pipe -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -g3  -O3
> -march=native -fPIC -DAST_MODULE=\"res_pjsip\"

res_pjsip/config_transport.c: In function ‘cipher_name_to_id’:

res_pjsip/config_transport.c:982:24: error: ‘PJ_SSL_SOCK_MAX_CIPHERS’
> undeclared (first use in this function)

  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];

                        ^

res_pjsip/config_transport.c:982:24: note: each undeclared identifier is
> reported only once for each function it appears in

res_pjsip/config_transport.c:982:16: warning: unused variable ‘ciphers’
> [-Wunused-variable]

  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];

                ^

res_pjsip/config_transport.c: In function ‘handle_pjsip_list_ciphers’:

res_pjsip/config_transport.c:1106:24: error: ‘PJ_SSL_SOCK_MAX_CIPHERS’
> undeclared (first use in this function)

  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];

                        ^

res_pjsip/config_transport.c:1106:16: warning: unused variable ‘ciphers’
> [-Wunused-variable]

  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];

                ^

make[1]: *** [res_pjsip/config_transport.o] Error 1

make[1]: Leaving directory `/usr/src/asterisk/res'

make: *** [res] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190110/4075fde1/attachment.html>


More information about the asterisk-users mailing list