Git Product home page Git Product logo

Comments (4)

whatsthecraic avatar whatsthecraic commented on September 26, 2024

Hi there,
I'm not sure, can you post the output of make?

from rma.

tamal001 avatar tamal001 commented on September 26, 2024

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.

whatsthecraic avatar whatsthecraic commented on September 26, 2024

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.

tamal001 avatar tamal001 commented on September 26, 2024

Thanks a lot. Replacing MFD_HUGETLB with 0x4 works fine.

from rma.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.