>
> 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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to