<h3>Description</h3>
<p>The version of yacc on Solaris is ancient and fails to process cfg.lex.</p>
<h4>Reproduction</h4>
<p>Run gmake</p>
<h3>Possible Solutions</h3>
<p>Based on kamailio-4.4.5, change Makefiles.defs to comment out "YACC=yacc" on line 1838 for the block beginning "ifeq  ($(OS), solaris)" on line 1804.</p>
<p>$ diff -c Makefile.defs~ Makefile.defs<br>
*** Makefile.defs~      Wed Jan 18 07:00:21 2017<br>
--- Makefile.defs       Wed Feb  1 07:58:49 2017</p>
<hr>
<p>*** 1835,1841 ****<br>
#LDFLAGS=-g $(PROFILE)<br>
#MOD_LDFLAGS=-g -G<br>
endif<br>
!       YACC=yacc</p>
<p>ifeq ($(CC_NAME), suncc)<br>
LIBS= -ldl -lresolv<br>
--- 1835,1841 ----<br>
#LDFLAGS=-g $(PROFILE)<br>
#MOD_LDFLAGS=-g -G<br>
endif<br>
! #     YACC=yacc</p>
<p>ifeq ($(CC_NAME), suncc)<br>
LIBS= -ldl -lresolv</p>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<p>Solaris 11.3</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/963">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZTHvedpqu4Qy9MaNzdHEPkH4IPcJks5rYLcPgaJpZM4L0GXx">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVnqBX6MeZfqGlmrpyWiDlc1Vi85ks5rYLcPgaJpZM4L0GXx.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/963"></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":"Change to Makefiles.def to support building on recent versions of Solaris (#963)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/963"}}}</script>