[asterisk-bugs] [JIRA] (ASTERISK-20681) Unable to compile pjproject in Asterisk 11

abelbeck (JIRA) noreply at issues.asterisk.org
Wed Jan 16 18:36:46 CST 2013


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

abelbeck commented on ASTERISK-20681:
-------------------------------------

This fix is causing 11.2.0 to fail building while cross-compiling:
--
   [LD] func_volume.o -> func_volume.so
../src/pj/guid_uuid.c:26:23: error: uuid/uuid.h: No such file or directory
../src/pj/guid_uuid.c:26:23: error: uuid/uuid.h: No such file or directory
../src/pj/guid_uuid.c: In function ‘pj_generate_unique_string’:
--etc--
make[6]: *** [output/pjlib-i686-pc-linux-gnu/guid_uuid.o] Error 1
make[5]: *** [pjlib] Error 2
make[4]: *** [all] Error 1
make[3]: *** [pjproject] Error 2
make[2]: *** [res] Error 2
make[2]: Leaving directory `/home/user/astlinux/1.0/output/build/asterisk-11.2.0'
--

Reverting 378582 solves the problem.

I have attached the generated "res/pjproject/build/cc-auto.mak" file that is needed for cross compiling.

                
> 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