Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile.radius : about radius library selection #354

Closed
ycaner06 opened this issue Oct 5, 2015 · 3 comments
Closed

Makefile.radius : about radius library selection #354

ycaner06 opened this issue Oct 5, 2015 · 3 comments

Comments

@ycaner06
Copy link
Contributor

ycaner06 commented Oct 5, 2015

Hello;
Makefile selects wrong radius library on make and then gives error. Makefile always select radiusclient-ng even if freeradius-client has been installed.i am not good at Makefile s so could you check Makefile.radius .

---------------- ERROR -------------
CC (gcc) [M acc_radius.so] acc_radius_mod.o
In file included from acc_radius_mod.c:44:
../../lib/kcore/radius.h:35:30: warning: radiusclient-ng.h: No such file or directory
acc_radius_mod.c: In function âinit_acc_radâ:
acc_radius_mod.c:264: warning: implicit declaration of function â-rc_read_configâ-


@miconda
Copy link
Member

miconda commented Oct 5, 2015

You have to set the variable FREERADIUS=1 before compiling the module:

FREEEADIUS=1 make modules modules=modules/auth_radius

Or:

export FREERADIUS=1

then the usual make commands.

I guess that is missing in the documentation, if you like to do a patch, I will merge it, I am traveling these days.

@ycaner06
Copy link
Contributor Author

ycaner06 commented Oct 6, 2015

it is ok after set FREERADIUS . i changed documentations and added info about freeradius-client. But there is problem about radiusclients. if radius server delay to reply , that means kamailio's childs waits to response. after 1 minute , kamailio cannot response and all calls get 408 timeout. i am trying to solve this problem. radiusclient can cut kamailio's legs :)

@ycaner06
Copy link
Contributor Author

ycaner06 commented Oct 6, 2015

Closing the issue. Thanks

@ycaner06 ycaner06 closed this as completed Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants