The Samba-Bugzilla – Bug 7248
"tdbtorture" doesn't build
Last modified: 2010-03-22 15:31:14 UTC
"tdbtorture" doesn't build on Solaris since it uses "nanosleep". I checked the dependency and in our case we really rely on it (we need it to wait for 1/10 sec - so with "sleep" it's undoable).
To make this work also on Solaris we need to link against "librt" (-lrt).
Add also Jelmer since he is a build system expert
Created attachment 5496 [details]
Does that fix it?
Yeah, I tested this on OpenSolaris and it worked. vl, feel free to push it!
It's up to the tdb maintainers to push this. You might want to re-assign this bug to tridge or Rusty Russel.
Rusty, would you like to push this fix (remove dependency on "nanosleep" in tdbtorture)?
Did push it to master, closing the bug.
If someone complains, we can always revert it.