Hello @miconda ,
I am sorry for my english isnt enough for explain it.
if i set "export FREERADIUS=1" Makefile.radius selecting
"freeradius-client.h" but radius.h selects radiusclient-ng.h .
if i dont set FREERADIUS Makefile.radius selects "radiusclient-ng.h" but
radius.h selects ""freeradius-client.h"
Here is results,
`
export FREERADIUS=1
make all
make -C src/ all
make[1]: Entering directory `/usr/src/kamailio-5.0.2/src'
make[3]: `libsrdb2.so.1.0' is up to date.
make[3]: `libsrdb1.so.1.0' is up to date.
CC (gcc) [M acc_radius.so] acc_radius_mod.o
In file included from acc_radius_mod.c:44:
../misc_radius/radius.h:43:30: warning: radiusclient-ng.h: No such file or directory
acc_radius_mod.c: In function ‘init_acc_rad’:
`
`
make clean
make -C src/ clean
make[1]: Entering directory `/usr/src/kamailio-5.0.2/src'
make[2]: *** No rule to make target `clean'. Stop.
make --no-print-directory -C lib clean
Making clean in binrpc
Making clean in cds
Making clean in ims
Making clean in presence
Making clean in print
Making clean in shm_regex
Making clean in srdb1
Making clean in srdb2
Making clean in srutils
Making clean in trie
Making clean in xcap
make[1]: Leaving directory `/usr/src/kamailio-5.0.2/src'
make include_modules="db_mysql acc_radius auth_radius misc_radius carrierroute utils
" cfg
make -C src/ cfg
target architecture <x86_64>, host architecture <x86_64>
make[1]: Entering directory `/usr/src/kamailio-5.0.2/src'
making config...
rm -f modules.lst
make --no-print-directory modules.lst
saving modules list...
make[1]: Leaving directory `/usr/src/kamailio-5.0.2/src'
make all
make -C src/ all
make[1]: Entering directory `/usr/src/kamailio-5.0.2/src'
CC (gcc) [kamailio] main.o
....
LD (gcc) [M db_mysql.so] db_mysql.so
CC (gcc) [M acc_radius.so] acc_radius_mod.o
In file included from acc_radius_mod.c:44:
../misc_radius/radius.h:43:30: warning: radiusclient-ng.h: No such file or directory
acc_radius_mod.c: In function ‘init_acc_rad’:
`
--
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-311873404