dekess.asterisk@free.fr
2004-Jul-12 13:54 UTC
[Asterisk-Users] Errors when compiling app_radius
Hi, Just to know if somebody had succesfully compile app_radius from http://appradius.minitelecom.org ? Here below my configuration : -> asterisk runing -> mysql running -> freeradius running -> Compiling cpprad : OK -> Compiling app_radius : not OK, here below my error message : "" make[1]: Quitte le r?pertoire `/home/grd/appradius/inc' make[1]: Entre dans le r?pertoire `/home/grd/appradius/src' gcc -c -I../inc -O -Wall -I/usr/local/include -g -O2 app_radius.c In file included from app_radius.c:17: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:173: warning: implicit declaration of function `pthread_mutexattr_settype' app_radius.c: At top level: app_radius.c:48: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function) make[1]: *** [app_radius.o] Erreur 1 """ Thanks in advance for youy help.
Oleg A. Arkhangelsky
2004-Jul-12 22:50 UTC
[Asterisk-Users] Errors when compiling app_radius
Hello dekess, Tuesday, July 13, 2004, 12:54:37 AM, you wrote: daff> "" daff> make[1]: Quitte le r?pertoire `/home/grd/appradius/inc' daff> make[1]: Entre dans le r?pertoire `/home/grd/appradius/src' daff> gcc -c -I../inc -O -Wall -I/usr/local/include -g -O2 app_radius.c daff> In file included from app_radius.c:17: daff> /usr/include/asterisk/lock.h: In function `ast_mutex_init': daff> /usr/include/asterisk/lock.h:173: warning: implicit declaration of function daff> `pthread_mutexattr_settype' daff> app_radius.c: At top level: daff> app_radius.c:48: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not daff> in a function) daff> make[1]: *** [app_radius.o] Erreur 1 Add -D_GNU_SOURCE to CFLAGS variable in src/Makefile. -- Best regards, Oleg mailto:sysoleg@progtech.ru