[asterisk-bugs] [JIRA] (ASTERISK-20681) Unable to compile pjproject in Asterisk 11
abelbeck (JIRA)
noreply at issues.asterisk.org
Fri Jan 18 12:27:22 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-20681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201845#comment-201845 ]
abelbeck commented on ASTERISK-20681:
-------------------------------------
I agree the patch is somewhat hacky :-) , but it works.
We can't make changes to res/pjproject/aconfigure to solve this since it fails with different --build and --host options.
Please note that commit 378582 did not need to change res/pjproject/build/common.mak, the leading '-' to the include ignores the file if it is missing.
Given the sequencing when pjproject's configure is called by make, without rewriting pjproject's aconfigure, it seems to me build/cc-auto.mak must be created, then either deleted or ignored by build/common.mak.
> Unable to compile pjproject in Asterisk 11
> ------------------------------------------
>
> Key: ASTERISK-20681
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20681
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/General
> Affects Versions: 11.0.0, 11.0.1
> Environment: Centos 6.3 x86_64
> Reporter: Dinesh Ramjuttun
> Target Release: 11.2.0
>
> Attachments: 20121208__ccar_solved.diff.txt, 20130118-res-Makeifle.diff.txt, cc-auto.mak.txt, config.log, config.log
>
>
> Cannot compile. I am stuck with the error below.
> FYI Asterisk 1.8.x compiles with no problem on same system/server.
> {noformat}
> ../src/pj/ssl_sock_ossl.c: In function âcreate_sslâ:
> ../src/pj/ssl_sock_ossl.c:605: warning: value computed is not used
> ../src/pj/ssl_sock_ossl.c:606: warning: value computed is not used
> ../src/pj/ssl_sock_ossl.c: In function âflush_write_bioâ:
> ../src/pj/ssl_sock_ossl.c:1148: warning: value computed is not used
> make[5]: ccar: Command not found
> make[5]: *** [../lib/libpj-x86_64-unknown-linux-gnu.a] Error 127
> make[4]: *** [pjlib] Error 2
> make[3]: *** [all] Error 1
> make[2]: *** [pjproject] Error 2
> make[1]: *** [res] Error 2
> make[1]: Leaving directory `/usr/src/install/asterisk-11.0.1'
> make: *** [_cleantest_all] Error 2
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list