Thank you very much, I have applied that patch.

Robert Jongbloed
OPAL/OpenH323/PTLib Architect and Co-founder.
Commercial support at http://www.voxlucida.com.au
Travelling, so email responses may be slow!


      On 23/07/2014 1:31 am, Alexander Sbitnev wrote:
   I've checked for problems inside PTLib's building makefile.
Find what by default make invocation this rule get in charge:

# Default goal
default_goal : internal_depend internal_build

And "internal_build" doesn't build plugins. Looks like it using another 
approach for building than rule "opt".
"make -j 5" works quite fine with multiple cores, while "make -j 5 opt" 
gives us next:

make[1]: Entering directory '/root/Lacaille/ptlib'
make[2]: Entering directory '/root/Lacaille/ptlib'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent 
make rule.

At least with that I've found solution. As "make" suggested I've put 
plus symbol to a right place inside ptlib/make/post.mak:

optshared debugshared optstatic debugstatic optclean debugclean 
optdepend debugdepend optlibs debuglibs ::
         +$(Q_MAKE) --file="$(firstword $(MAKEFILE_LIST))" 
DEBUG_BUILD=$(INTERNAL_DEBUG_BUILD) 
STATIC_BUILD=$(INTERNAL_STATIC_BUILD) internal_$(subst opt,,$(subst 
debug,,$@))


Now "make -j 5 opt" working in parallel.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Opalvoip-devel mailing list
Opalvoip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opalvoip-devel