<p>Hello <a href="https://github.com/miconda" class="user-mention">@miconda</a> ,<br>
there is conflict with Makefile.radius .  this file selects freeradiusclient without settting freeradius, but makefile.radius needs to FREERADIUS  for using freeradiusclient.h . so compiling couldnt find .h file, gives error.<br>
Could you check it again , please.</p>
<p>ERROR :<br>
<code>In file included from acc_radius_mod.c:44: ../misc_radius/radius.h:38:31: warning: radiusclient-ng.h: No such file or directory</code></p>
<p>Thanks.</p>
<p>`<br>
INCLUDES+=-I$(LOCALBASE)/include</p>
<pre><code>ifeq ($(FREERADIUS),1)

# - freeradius-client library
DEFS+= -DUSE_FREERADIUS
RADIUSCLIENT_LIB=freeradius-client

else
        ifeq ($(RADCLI),1)

        # - radcli library
        DEFS+= -DUSE_RADCLI
        RADIUSCLIENT_LIB=radcli

        else
        # - radiusclient-ng v5 or v4 library
                ifneq ($(radiusclient_ng), 4)

                # radiusclient-ng 5+
                # DEFS+=-DRADIUSCLIENT_NG_5P
                RADIUSCLIENT_LIB=radiusclient-ng

                else

                DEFS+=-DRADIUSCLIENT_NG_4
                RADIUSCLIENT_LIB=radiusclient

                endif
        endif

endif
</code></pre>
<p>LIBS=-L$(LOCALBASE)/lib -l$(RADIUSCLIENT_LIB)<br>
`</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/pull/1170#issuecomment-311870676">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZX-4nK0fc5dUiua3hopfVvbdMYskks5sIz4agaJpZM4OH4JK">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zco8m5_wTfMcDZKIVOYQD-qO5YZnks5sIz4agaJpZM4OH4JK.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/pull/1170#issuecomment-311870676"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request 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":"@ycaner06 in #1170: Hello @miconda ,\r\nthere is conflict with Makefile.radius .  this file selects freeradiusclient without settting freeradius, but makefile.radius needs to FREERADIUS  for using freeradiusclient.h . so compiling couldnt find .h file, gives error.\r\nCould you check it again , please.\r\n\r\nERROR :\r\n `In file included from acc_radius_mod.c:44:\r\n../misc_radius/radius.h:38:31: warning: radiusclient-ng.h: No such file or directory\r\n`\r\n\r\nThanks.\r\n\r\n`\r\nINCLUDES+=-I$(LOCALBASE)/include\r\n\r\n\tifeq ($(FREERADIUS),1)\r\n\r\n\t# - freeradius-client library\r\n\tDEFS+= -DUSE_FREERADIUS\r\n\tRADIUSCLIENT_LIB=freeradius-client\r\n\r\n\telse\r\n\t\tifeq ($(RADCLI),1)\r\n\r\n\t\t# - radcli library\r\n\t\tDEFS+= -DUSE_RADCLI\r\n\t\tRADIUSCLIENT_LIB=radcli\r\n\r\n\t\telse\r\n\t\t# - radiusclient-ng v5 or v4 library\r\n\t\t\tifneq ($(radiusclient_ng), 4)\r\n\r\n\t\t\t# radiusclient-ng 5+\r\n\t\t\t# DEFS+=-DRADIUSCLIENT_NG_5P\r\n\t\t\tRADIUSCLIENT_LIB=radiusclient-ng\r\n\r\n\t\t\telse\r\n\r\n\t\t\tDEFS+=-DRADIUSCLIENT_NG_4\r\n\t\t\tRADIUSCLIENT_LIB=radiusclient\r\n\r\n\t\t\tendif\r\n\t\tendif\r\n\r\n\tendif\r\n\r\nLIBS=-L$(LOCALBASE)/lib -l$(RADIUSCLIENT_LIB)\r\n`\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1170#issuecomment-311870676"}}}</script>