Closed Erreur32 closed 3 years ago
I believe this should fix it https://github.com/wheybags/wcp/commit/dbe26be3ac0c8f74136bed63bcd51baa6659e320 Let me know if it's still not working for you.
With the latest version i still have some issue.
/wcp/build (master)# make
[ 26%] Built target Uring
Scanning dependencies of target wcp_lib
[ 31%] Building CXX object CMakeFiles/wcp_lib.dir/src/CopyRunner.cpp.o
[ 36%] Building CXX object CMakeFiles/wcp_lib.dir/src/CopyQueue.cpp.o
[ 42%] Building CXX object CMakeFiles/wcp_lib.dir/src/Util.cpp.o
/home/tools/Bash_Source/wcp/src/Util.cpp: In lambda function:
/home/tools/Bash_Source/wcp/src/Util.cpp:101:18: error: ‘getdents64’ was not declared in this scope
retval = getdents64(dfd, buffer, bufferSize);
^~~~~~~~~~
/home/tools/Bash_Source/wcp/src/Util.cpp:101:18: note: suggested alternative: ‘getdirentries64’
retval = getdents64(dfd, buffer, bufferSize);
^~~~~~~~~~
getdirentries64
make[2]: *** [CMakeFiles/wcp_lib.dir/build.make:115: CMakeFiles/wcp_lib.dir/src/Util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/wcp_lib.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Do i need to reopen a Ticket ?
i'm on Debian 4.19.171-2
i've follow your build information:
Build instructions
And i have this error on MAKE :
What can i do or i missed something ?