Not finding __USE_UNIX98 definitions or pthread_mutexattr_settype()

Khem Raj raj.khem at gmail.com
Thu Jan 14 20:22:50 UTC 2010


On (14/01/10 09:04), Philip A. Prindeville wrote:
> No one has an idea?
> 
> 
> On 01/10/2010 02:50 PM, Philip A. Prindeville wrote:
> > Hi.
> >
> > We're using uClibc 0.9.28 (patched) for the Astlinux project (and yes, we intend to update... after we get this release out).
> >
> > We're trying to compile spandsp and app_rxfax (an app for Asterisk that's part of spandsp) and getting:
> >
> > In file included from app_rxfax.c:29:
> > /home/philipp/kernel/build_i586/asterisk-1.6.2.0/include/asterisk/lock.h: In function 'ast_mutex_init':
> > /home/philipp/kernel/build_i586/asterisk-1.6.2.0/include/asterisk/lock.h:1698: warning: implicit declaration of function 'pthread_mutexattr_settype'


use -D_XOPEN_SOURCE=500 or -D_GNU_SOURCE on the commandline.

Thanks

-Khem


More information about the uClibc mailing list