Comments (4)
Hi there,
I'm not sure, can you post the output of make?
from rma.
After running the make in su mode, number of error decreases. Now the error is:
clang++ -std=gnu++17 -stdlib=libc++ -c -DHAVE_LIBNUMA -DHAVE_LIBPAPI -DNDEBUG -I../ -Wall -Wno-sign-compare -Wno-overloaded-virtual -O3 -march=native -mtune=native -fno-stack-protector ../pma/driver.cpp -o objects/pma/driver.o
../rewired_memory.cpp:73:91: error: use of undeclared identifier 'MFD_HUGETLB'
m_handle_physical_memory = memfd_create(id.c_str(), configuration::use_huge_pages() ? MFD_HUGETLB : 0); // miscellaneous.hpp
^
../abtree/dense_array.cpp:178:57: error: use of undeclared identifier 'MFD_HUGETLB'
int memfd_flags = configuration::use_huge_pages() ? MFD_HUGETLB : 0;
from rma.
Hi Tamal,
thanks for the response.
MFD_HUGETLB
is Linux 4.14+ and it should be defined in the file <linux/memfd.h>
, typically /usr/include/linux/memfd.h
. Can you confirm whether you are using an earlier kernel?
You can define the macro on your own just to get rid of the error:
#define MFD_HUGETLB 0x0004U
What other errors do you get outside the root environment ? :-)
from rma.
Thanks a lot. Replacing MFD_HUGETLB with 0x4 works fine.
from rma.
Related Issues (2)
- Database Locked HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rma.