<div dir="ltr"><div><div><div><div><div><div>Hello<br><br></div>I've managed (with the help of tzafir and a good amount of other ppl) to build working packages for asterisk.<br><br></div>I just ran ./configure inside the res/pjproject and then svn-build ran flawlessly.<br>


<br></div>When getting that into the debian/rules file I found three issues (i've managed to get by two of them):<br><br></div>1) There was a missing build-dep (libgtk2.0-dev), this one was an easy fix :)<br></div><div>


2) running make distclean was failing to find res/pjproject/build.mak.  But since its cleaning, it should be ok and not die.<br></div>3) For some reason I'm getting these errors...<br></div><ul><li>The result of svn-buildpackage <a href="http://pastebin.com/ZZwKjahx">http://pastebin.com/ZZwKjahx</a><a href="http://paste.debian.net/220386/" target="_blank"></a></li>


<li>The contents of res/pjproject/configure.log  <a href="http://pastebin.com/EJSP7zin">http://pastebin.com/EJSP7zin</a></li><li>The contents of the debian/rules file <a href="http://pastebin.com/wrtfjuFt">http://pastebin.com/wrtfjuFt</a></li>

<li>The output of dpkg-buildflags --get LDFLAGS: -Wl,-z,relro<br></li></ul><p>I'm building it in a sid chroot.</p><p><br></p><p>From what I've gathered, there seems to be an issue with the variable expansion of LDFLAGS in this line</p>

<p>i486-linux-gnu-gcc -fPIC  `dpkg-buildflags --get LDFLAGS` conftest.c  >&5 (#79 in the second pastebin), but for me the thing could be that in line 68  gcc is not understanding the -V flag...</p><p>To be perfectly honest I'm kinda lost in here, so any help would be appretiated.<br>

</p></div>