[Openal-devel] OpenAL compilation under Linux Ubuntu
jdaly at ist.ucf.edu
Tue Jul 1 07:13:33 PDT 2008
Dmitry Kostjuchenko wrote:
> Sorry for double posting, my first experience with mailing lists :)
> While porting my library from Windows to Linux platform and using
> Ubuntu distribution compilation fails with error that
> PTHREAD_MUTEX_RECURSIVE is not existing. To combat this issue I
> propose to include following lines in 'config.ac':
> # To combat an issue with PTHREAD_MUTEX_RECURSIVE not included on some
> platforms we shall
> # explicitly define _GNU_SOURCE.
> AC_DEFINE([_GNU_SOURCE], , [Define to 1 to explicitly include
> PTHREAD_MUTEX_RECURSIVE on some gcc versions.])
> As a result all compiles out from the box without error. Or are there
> any settings that I missed to triger and not to do these steps?
The code base you're using is deprecated. We're now encouraging Linux
users to use OpenAL-Soft, which you can get at:
You'll need CMake to compile it. Most likely, you won't encounter this
issue with OpenAL-Soft (let us know if you do).
More information about the Openal-devel