Hello @miconda ,
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.
Could you check it again , please.

ERROR :
 `In file included from acc_radius_mod.c:44:
../misc_radius/radius.h:38:31: warning: radiusclient-ng.h: No such file or 
directory
`

Thanks.

`
INCLUDES+=-I$(LOCALBASE)/include

        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

LIBS=-L$(LOCALBASE)/lib -l$(RADIUSCLIENT_LIB)
`


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1170#issuecomment-311870676
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to