The Samba-Bugzilla – Bug 11319
Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’ undeclared"
Last modified: 2015-07-31 21:12:06 UTC
The build of Samba in Git master is failing on Solaris 11 Sparc with the following
[1141/3921] Compiling lib/tdb/common/mutex.c
../lib/tdb/common/mutex.c: In function ‘tdb_mutex_init’:
../lib/tdb/common/mutex.c:582:41: error: ‘PTHREAD_MUTEX_ROBUST’ undeclared (first use in this function)
ret = pthread_mutexattr_setrobust(&ma, PTHREAD_MUTEX_ROBUST);
Details can be seen in the log at
or the overview at
Best regards -- Dago
Please test with tdb 1.3.6 as available from https://download.samba.org/pub/tdb
Does updating tdb to version 1.3.6 fix this issue for you?
bug 11326, comment 11 I intended to reference with previous comment
This looks better now, it now also fails on Solaris 11 with #11368
Failed to link: bug#11368