<p>There is not enough add arch to Makefile.defs, because build aborts with error:</p>
<pre><code>gmake[2]: Entering directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'
CC (gcc) [kamailio]             nonsip_hooks.o
In file included from parser/../mem/../lock_ops.h:92:0,
                 from parser/../mem/shm.h:39,
                 from parser/../mem/shm_mem.h:34,
                 from parser/../ut.h:45,
                 from parser/../ip_addr.h:40,
                 from parser/msg_parser.h:37,
                 from nonsip_hooks.h:35,
                 from nonsip_hooks.c:31:
parser/../mem/../fastlock.h:112:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
parser/../mem/../fastlock.h: In function 'tsl':
parser/../mem/../fastlock.h:260:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
parser/../mem/../fastlock.h: In function 'get_lock':
parser/../mem/../fastlock.h:282:2: warning: implicit declaration of function 'membar_getlock' [-Wimplicit-function-declaration]
  membar_getlock();
  ^
parser/../mem/../fastlock.h: In function 'release_lock':
parser/../mem/../fastlock.h:379:2: error: #error "unknown architecture"
 #error "unknown architecture"
  ^
gmake[2]: *** [Makefile.rules:97: nonsip_hooks.o] Error 1
gmake[2]: Leaving directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'
</code></pre>

<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/1035#issuecomment-286718462">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZT7iYXwIuGyomGi2PvSPv7vk4Kbkks5rl899gaJpZM4MdzEB">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZcRY0hevU8QSuuK0eDYFShSpIcMFks5rl899gaJpZM4MdzEB.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/1035#issuecomment-286718462"></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":"PERSON","message":"@subnetsRU in #1035: There is not enough add arch to Makefile.defs, because build aborts with error:\r\n```\r\ngmake[2]: Entering directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'\r\nCC (gcc) [kamailio]             nonsip_hooks.o\r\nIn file included from parser/../mem/../lock_ops.h:92:0,\r\n                 from parser/../mem/shm.h:39,\r\n                 from parser/../mem/shm_mem.h:34,\r\n                 from parser/../ut.h:45,\r\n                 from parser/../ip_addr.h:40,\r\n                 from parser/msg_parser.h:37,\r\n                 from nonsip_hooks.h:35,\r\n                 from nonsip_hooks.c:31:\r\nparser/../mem/../fastlock.h:112:2: error: #error \"unknown architecture\"\r\n #error \"unknown architecture\"\r\n  ^\r\nparser/../mem/../fastlock.h: In function 'tsl':\r\nparser/../mem/../fastlock.h:260:2: error: #error \"unknown architecture\"\r\n #error \"unknown architecture\"\r\n  ^\r\nparser/../mem/../fastlock.h: In function 'get_lock':\r\nparser/../mem/../fastlock.h:282:2: warning: implicit declaration of function 'membar_getlock' [-Wimplicit-function-declaration]\r\n  membar_getlock();\r\n  ^\r\nparser/../mem/../fastlock.h: In function 'release_lock':\r\nparser/../mem/../fastlock.h:379:2: error: #error \"unknown architecture\"\r\n #error \"unknown architecture\"\r\n  ^\r\ngmake[2]: *** [Makefile.rules:97: nonsip_hooks.o] Error 1\r\ngmake[2]: Leaving directory '/usr/ports/net/kamailio/work/kamailio-4.4.5'\r\n```\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1035#issuecomment-286718462"}}}</script>