Cygwin-i686 compile error

I am brand new to Asterisk and am receiving this error from make, after a successful ‘configure’:

In file included from /home/WCARDWEL/asterisk-1.4.15/include/asterisk/utils.h:37,
from ael.flex:71:
/home/WCARDWEL/asterisk-1.4.15/include/asterisk/lock.h: In function ast_mutex_init': /home/WCARDWEL/asterisk-1.4.15/include/asterisk/lock.h:679: error:PTHREAD_MUTEX_RECURSIVE_NP’ undeclared (first use in this function)
/home/WCARDWEL/asterisk-1.4.15/include/asterisk/lock.h:679: error: (Each undeclared identifier is reported only once
/home/WCARDWEL/asterisk-1.4.15/include/asterisk/lock.h:679: error: for each function it appears in.)
make[1]: *** [aelparse.o] Error 1
make: *** [utils] Error 2

My system is:

uname -m = i686
uname -r = 1.5.24(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2007-01-31 10:57

Thanks in advance for your help!