1 |
What's your glibc? If it is version 2.24 or 2.25 you probably need the |
2 |
following patch |
3 |
|
4 |
|
5 |
|
6 |
--- a/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp.ORIG |
7 |
2017-02-01 20:00:25.000000000 +0100 |
8 |
+++ b/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp 2017-02-09 |
9 |
17:14:07.153905985 +0100 |
10 |
@@ -50,6 +50,8 @@ |
11 |
#include "mongo/db/storage/storage_options.h" |
12 |
#include "mongo/util/clock_source.h" |
13 |
#include "mongo/util/log.h" |
14 |
+#define __USE_EXTERN_INLINES |
15 |
+#include <sys/sysmacros.h> |
16 |
|
17 |
|
18 |
namespace mongo { |
19 |
|
20 |
|
21 |
|
22 |
|
23 |
I have compiled it with gcc-5.4.0 as well as with gcc-6.3.0 |