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 decided that this is the way to go. While playing with the build system to implement this (and naturally, breaking stuff as I go along), I noticed that I got a broken .depends file. Here is a short partial snippet: if eval $dep | sed '/^#/d' >> .pjmedia-x86_64-pc-linux-gnu.depend; then \ true; \ else \ echo 'err:' >> .pjmedia-x86_64-pc-linux-gnu.depend; \ rm -f .pjmedia-x86_64-pc-linux-gnu.depend; \ exit 1; \ fi; \ fi; \ done; ../src/pjmedia/videodev_util.c:20:18: fatal error: util.h: No such file or direc tory compilation terminated. [ And much later on ] make[4]: Entering directory '/home/tzafrir/Proj/Alioth/pkg-voip-git/pjproject/pjproject/pjmedia/build' .pjmedia-x86_64-pc-linux-gnu.depend:4807: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. make[4]: Leaving directory '/home/tzafrir/Proj/Alioth/pkg-voip-git/pjproject/pjp As you can see, the if statement fails to test the eval. Rather, it tests the sed statement. This is in the depend: target in build/rules.mak. I'll now go back to breaking stuff in my private copy. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com