[asterisk-bugs] [JIRA] (ASTERISK-20681) Unable to compile pjproject in Asterisk 11
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Jan 18 08:34:22 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-20681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201803#comment-201803 ]
Matt Jordan commented on ASTERISK-20681:
----------------------------------------
I've reopened this; however, I don't think the solution is going to be putting the original cc-auto.mak back into the build system. As it is, pjproject's cc-auto.mak caused more problems for more people than it's removal - that is, if it's a choice between pjproject building reliably in 99% of situations and not supporting cross compiling, OR having it fail randomly on people but support cross-compiling, I'm going to choose the former over the latter.
If you'd like cross-compiling to be supported, a patch that restores cc-auto.mak AND fixes it such that it doesn't screw up the build system when {{make}} is run before {{configure}} will be needed.
> 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
> Assignee: Kinsey Moore
> Target Release: 11.2.0
>
> Attachments: 20121208__ccar_solved.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