[asterisk-bugs] [JIRA] Commented: (ASTERISK-20362) res_asterisk_rtp: Fix build error when using parallel make

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Thu Sep 6 09:18:07 CDT 2012


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

Shaun Ruffell commented on ASTERISK-20362:
------------------------------------------

Timo: Last night I dug into why pjproject couldn't be built in parallel and I [sent a patch to them|http://thread.gmane.org/gmane.comp.voip.pjsip/16206]. If the upstream pjproject doesn't have a problem with the patch I sent, then when this patch goes into Asterisk it can drop the '-j1' arguments to submake and eliminate a warning on the build in addition to speeding up the build further.

So these patches shouldn't quite be committed just yet.

> res_asterisk_rtp: Fix build error when using parallel make
> ----------------------------------------------------------
>
>                 Key: ASTERISK-20362
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20362
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 11.0.0-beta1
>            Reporter: Shaun Ruffell
>            Severity: Minor
>         Attachments: 0001-res_asterisk_rtp-Fix-build-error-when-using-parallel.patch, 0001-res_asterisk_rtp-Fix-build-error-when-using-parallel.patch, ASTERISK-20362.patch
>
>
> {noformat}
>    Fixes a build regression introduced in r369517 "Add support for ICE/STUN/TURN                                    
>     in res_rtp_asterisk and chan_sip." [1].                                                         
>                                                                                                               
>     [1] http://svnview.digium.com/svn/asterisk?view=revision&revision=369517
>                                                                                                                 
>     When compiling asterisk in parallel like:                                 
>         $ make -j 10                                                                                                   
>                                                                                     
>     It's possible to get errors like the following:                                   
>                                                                                           
>         .pjlib-util-test-x86_64-unknown-linux-gnu.depend:120: *** missing separator.  Stop.                 
>         make[4]: *** [depend] Error 2                                                                        
>         make[3]: *** [dep] Error 1                                                                      
>         make[2]: *** [/home/sruffell/asterisk-working/res/pjproject/pjnath/lib/libpjnath-x86_64-unknown-linux-gnu.a] Error 2
>         make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.                           
>                                                                                     
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list