[asterisk-bugs] [JIRA] (ASTERISK-23711) Asterisk does not compile when HAVE_PJ_TRANSACTION_GRP_LOCK is not defined

Marcello Ceschia (JIRA) noreply at issues.asterisk.org
Sat Aug 16 12:57:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221719#comment-221719 ] 

Marcello Ceschia commented on ASTERISK-23711:
---------------------------------------------

This issue always happens when pjproject is compiled with the default ssl support. 

{code}
configure:23677: checking for PJPROJECT
configure:23684: $PKG_CONFIG --exists --print-errors "libpjproject"
configure:23687: $? = 0
configure:23701: $PKG_CONFIG --exists --print-errors "libpjproject"
configure:23704: $? = 0
configure:23748: result: yes
configure:23780: checking for pjsip_tsx_create_uac2 in -lpjsip
configure:23805: gcc -o conftest -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DPJ_AUTOCONF=1 -DPJ_HAS_IPV6=1 -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -fPIC    conftest.c -lpjsip  -lpjsua -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util -lsrtp -lgsm -lspeex -lspeexdsp -lpj -lm -lrt -lpthread -lcrypto -lssl  -lm  >&5
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libpj.so: undefined reference to `SSLv2_method'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libpj.so: undefined reference to `SSLv2_server_method'
collect2: error: ld returned 1 exit status
configure:23805: $? = 1
{code}

With --disable-ssl as configure option in pjproject, the build will be fine.
openssl version: 1.0.1h

> Asterisk does not compile when HAVE_PJ_TRANSACTION_GRP_LOCK is not defined
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-23711
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23711
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 12.2.0
>         Environment: gcc (SUSE Linux) 4.8.1 20130909 
> pjsip 2.2.1
>            Reporter: Marcello Ceschia
>            Assignee: Matt Jordan
>            Severity: Critical
>         Attachments: autoconfig.h, config.log, configure, PJSIP_config.log
>
>
> {code}
> res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
> res_pjsip/pjsip_distributor.c:141:21: error: ‘pjsip_transaction’ has no member named ‘mutex’
>   pj_mutex_unlock(tsx->mutex);
>                      ^
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list