[Asterisk-Users] Errors when compiling app_radius
Oleg A. Arkhangelsky
sysoleg at progtech.ru
Mon Jul 12 22:50:27 MST 2004
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 at progtech.ru
More information about the asterisk-users
mailing list