Hi Tzafrir, We decide to remove circular deps of pjmedia* libraries in ticket #1907 ( https://trac.pjsip.org/repos/ticket/1907). Although this does not directly solve the original problem of too many runtime dependencies, hopefully it can give more flexibility towards what you can do. Please let us know if you have any feedbacks or suggestions. Thanks. Best regards, Ming On Mon, Jan 11, 2016 at 11:24 AM, Nanang Izzuddin <nanang at pjsip.org> wrote: > Hi Tzafrir, > > I am afraid that we can't proceed the proposal of merging pjmedia > modules at least for now. It seems to introduce quite major changes for > allowing '--as-needed' linker option while there are already options in > configure scripts to strip the unnecessary dependency libs (which is > originally introduced by the configure script itself). > > BR, > nanang > > > On Thu, Dec 31, 2015 at 9:30 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> > wrote: > >> On Sun, Dec 27, 2015 at 10:00:31AM +0200, Tzafrir Cohen wrote: >> >> > Sadly I failed to make pjmedia and the rest of the pjmedia* libraries >> > link. It seems pjpedia needs symbols from pjmedia-audiodev and >> > pjmedia-videodev and vice-versa (See traces below). So I guess this >> > means the three libraries cannot be separated and need to be merged to a >> > single shared library. >> >> I now have a rough copy of the changes. >> >> >> http://anonscm.debian.org/cgit/pkg-voip/pjproject.git/log/?h=master-mergelibs >> >> This is a branch with a messed history that includes those changes, but >> the tree (and specifically debian/patches and debian/rules) should be >> OK. >> >> I added an extra patch to remove -lpjmedia-audiodev and >> -lpjmedia-videodev and disable building them. >> >> I wanted to avoid a big intrusive renaming patch, and thus I "copied" >> them into pjmedia/src/pjmedia/ using symlinks (adding a prefix to the .c >> files to avoid collision of errno.c). >> >> This symlinking is not done in a patch. Rather, it is done in the build >> rules, in debian/rules. >> >> Any comments? >> >> -- >> Tzafrir Cohen >> icq#16849755 jabber:tzafrir.cohen at xorcom.com >> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com >> http://www.xorcom.com >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160311/ccaeb01d/attachment.html>