[Openal-devel] OpenAL compilation under Linux Ubuntu
desctop/server32/64-bit
Jason Daly
jdaly at ist.ucf.edu
Tue Jul 1 07:13:33 PDT 2008
Dmitry Kostjuchenko wrote:
> Hi!
>
> 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], [1], [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?
Hi, Dmitry,
The code base you're using is deprecated. We're now encouraging Linux
users to use OpenAL-Soft, which you can get at:
http://connect.creativelabs.com/openal/Downloads/openal-soft-1.4.272.tar.bz2
You'll need CMake to compile it. Most likely, you won't encounter this
issue with OpenAL-Soft (let us know if you do).
--"J"
More information about the Openal-devel
mailing list