[Asterisk-Users] astman make error

Fred Blaise fblaise at jaolin.net
Wed Nov 23 16:00:18 MST 2005


On Wed, 2005-11-23 at 19:58 +0100, Fred Blaise wrote:
> Hi all
> 
> I am having an issue when trying to 'make astman'. Asterisk 1.2.0 here,
> from source, on debian sarge. Everything else working fine (only SIP
> setup anyway)
> 
> deafneuron:/opt/asterisk-1.2.0/utils# make astman
> cc -DNO_AST_MM   -c -o astman.o astman.c
> In file included from /usr/include/asterisk/manager.h:28,
>                  from astman.c:41:
> /usr/include/asterisk/lock.h: In function `ast_mutex_init':
> /usr/include/asterisk/lock.h:517: error: `PTHREAD_MUTEX_RECURSIVE'
> undeclared (first use in this function)
> /usr/include/asterisk/lock.h:517: error: (Each undeclared identifier is
> reported only once
> /usr/include/asterisk/lock.h:517: error: for each function it appears
> in.)
> make: *** [astman.o] Error 1
I added -D_GNU_SOURCE to the CFLAGS.. did the trick.

> 
> thanks for any input
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051123/3e6e1e61/attachment.pgp


More information about the asterisk-users mailing list