[Asterisk-Users] spandsp compile error: PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here

Stephen Davies steve at daviesfam.org
Thu Apr 29 12:39:14 MST 2004


On Fri, 30 Apr 2004, Darryl Ross wrote:

> Hey All,
> 
> I'm having a bit of a problem trying to get spandsp working on my 
> asterisk machine. The machine is a Redhat 9.0 install with the latest 
> version of libtiff and libtiff-devel (according to freshrpms.net).
> 
> I manaaged to download, compile and successfully install the actual 
> spandsp package with no errors. The problem comes when I try to compile 
> the rxfax and txfax asterisk applications. The compile fails with the 
> following error message:

Hi,

IIRC, I had to add "#define _GNU_SOURCE" in Asterisk's lock.h before
the includes at the top.

Steve





More information about the asterisk-users mailing list