[Openal-devel] OpenAL compilation under Linux Ubuntu desctop/server 32/64-bit

Dmitry Kostjuchenko dmitrykos at inbox.lv
Tue Jul 1 04:01:14 PDT 2008


Hi!

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 and  I
propose to include following lines in 'config.ac':

# Somehow, even with the above flags, struct timespec is still not
found on
# some systems, so ask for it directly
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?

Best regards,
Dmitry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal-devel/attachments/20080701/a0c9ba68/attachment.html


More information about the Openal-devel mailing list