pmem / pmemfile

Userspace implementation of file APIs using persistent memory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make - error when trying to build pmem file

mramotowski opened this issue · comments

Found on 0ed593b

cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDEVELOPER_MODE=1 -DTEST_DIR=/mnt/pmem -DTRACE_TESTS=1 -DLONG_TESTS=1 -DTESTS_USE_FORCED_PMEM=1

/home/mramotow/repos/pmemfile/pmemfile/src/libpmemfile/preload.c: In function ‘pmemfile_preload_constructor’:
/home/mramotow/repos/pmemfile/pmemfile/src/libpmemfile/preload.c:263:7: error: implicit declaration of function ‘syscall_hook_in_process_allowed’ [-Werror=implicit-function-declaration]
if (!syscall_hook_in_process_allowed())
^
cc1: all warnings being treated as errors
src/libpmemfile/CMakeFiles/pmemfile_o.dir/build.make:86: recipe for target 'src/libpmemfile/CMakeFiles/pmemfile_o.dir/preload.c.o' failed
make[2]: *** [src/libpmemfile/CMakeFiles/pmemfile_o.dir/preload.c.o] Error 1
CMakeFiles/Makefile2:813: recipe for target 'src/libpmemfile/CMakeFiles/pmemfile_o.dir/all' failed
make[1]: *** [src/libpmemfile/CMakeFiles/pmemfile_o.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2