sebastien@slaunay.fr wrote:
Full_Name: Sebastien Launay Version: LMDB 0.9.17 OS: Ubuntu 10.04.4 LTS x86_64 URL: https://gist.githubusercontent.com/slaunay/3252415fad66d641e5b1/raw/356a57a7... Submission from: (NULL) (104.36.15.110)
I am having trouble compiling version 0.9.17 as well as the master branch of LMDB with Ubuntu Lucid.
When compiling the project under Ubuntu Lucid x86_64 (glibc 2.11), I get the following errors:
Thanks, fixed in git mdb.master
The exact version of the glibc is the following:
$ ldd --version ldd (Ubuntu EGLIBC 2.11.1-0ubuntu7.21) 2.11.1 Copyright (C) 2009 Free Stwtware Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. $ lsb_release -a No LSB modules are available. Distribut I ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid
I noticed that pthread_mutexattr_setrobust and pthread_mutex_consistent are provided since 2.12 not 2.10: https://github.molgen.mpg.de/git-mirror/glibc/commit/402cd98775db1478f64c9b0... https://github.molgen.mpg.de/git-mirror/glibc/commit/78ee21859939ff75ccf8bbe...
After applying the provided fix against master (see attached patch URL), the compilation and runtime are working properly.