<p>Kamailio 5 did not compile on solaris 11 anymore due to a missing ast/endian.h included from app_jsdt/duk_config.h. The solution is:</p>
<p>--- kamailio-5.0.1~/src/modules/app_jsdt/duk_config.h   2017-04-05 15:32:38.000000000 +0000<br>
+++ kamailio-5.0.1/src/modules/app_jsdt/duk_config.h    2017-04-15 09:27:14.335213048 +0000<br>
@@ -607,7 +607,7 @@<br>
#define DUK_USE_DATE_FMT_STRFTIME</p>
<p>#include <sys/types.h><br>
-#include <ast/endian.h><br>
+#include <sys/byteorder.h><br>
#include <sys/param.h><br>
#include <sys/time.h><br>
#include <time.h></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1072">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZT7i4xz15qWMoVfaLazXg9Gh-Ppgks5rwHNHgaJpZM4M-R7g">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZZE6YJ2gTfyLiAJZfYmhn287jsljks5rwHNHgaJpZM4M-R7g.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1072"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Compile problem+fix on solaris in app_jsdt (#1072)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1072"}}}</script>