<br><div><span class="gmail_quote">2006/9/8, Kevin P. Fleming &lt;<a href="mailto:kpfleming@digium.com">kpfleming@digium.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
----- Maxi Belino &lt;<a href="mailto:maxi.belino@gmail.com">maxi.belino@gmail.com</a>&gt; wrote:<br>&gt; When recompiling asterisk it removes the .h file from asterisk headers<br>&gt; dir.<br><br>This
is not correct. When _installing_ Asterisk it does this. This is
because the Makefile rightly assumes that it _owns_ the
/usr/include/asterisk directory, so that it can ensure that old headers
are not left around to cause problems.</blockquote><div><br>
Yes, your are right, i should have said &quot;recompiling asterisk and installing it again&quot; (make; make install)<br>
&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I believe the solution might be to modify the * Makefile since the<br>&gt; Makefile removes the new headers.
<br>&gt; We would like to include our header file as an &quot;old&quot; header so it<br>&gt; won't be deleted when recompiling *<br><br>If
you are distributing your application as a patch against an Asterisk
source tree, then you don't need to do anything special at all. If you
are not, then why do you need to install a header into
/usr/include/asterisk?</blockquote><div><br>
Our app uses functions already defined in an * app<br>

Therefore we modified also the * app<br>

Then we created a .h file so our app can use these functions from * app<br>

We placed this header file in * headers dir because we thought is the right way to do it&nbsp; (...no?)</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; (working with asterisk 1.2.4)<br><br>You
are seven releases behind, and sometime today you will eight releases
behind. Not that it has any impact on this issue, but there have been
probably more than 200 bugs fixed since 1.2.4.</blockquote><div><br>
yes, i'm aware<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>Kevin P. Fleming<br>Senior Software Engineer<br>Digium, Inc.<br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">
http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>
thks for your help<br>
<br>