You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 48%] Building CXX object CMakeFiles/procmon.dir/src/procmon.cpp.o
In file included from /home/writeback/ProcMon-for-Linux-main/src/configuration/../tracer/ebpf/ebpf_tracer_engine.h:25,
from /home/writeback/ProcMon-for-Linux-main/src/configuration/procmon_configuration.h:34,
from /home/writeback/ProcMon-for-Linux-main/src/procmon.cpp:21:
/home/writeback/ProcMon-for-Linux-main/src/configuration/../tracer/ebpf/syscall_schema.h: In static member function ‘static std::vector<SyscallSchema> Utils::CollectSyscallSchema()’:
/home/writeback/ProcMon-for-Linux-main/src/configuration/../tracer/ebpf/syscall_schema.h:85:26: error: ‘strcpy’ is not a member of ‘std’; did you mean ‘strcpy’?
85 | std::strcpy(schema.syscallName, syscall.name.c_str());
| ^~~~~~
In file included from /home/writeback/ProcMon-for-Linux-main/src/configuration/../storage/../common/telemetry.h:21,
from /home/writeback/ProcMon-for-Linux-main/src/configuration/../storage/storage_engine.h:24,
from /home/writeback/ProcMon-for-Linux-main/src/configuration/../storage/mock_storage_engine.h:25,
from /home/writeback/ProcMon-for-Linux-main/src/configuration/procmon_configuration.h:29:
/usr/include/string.h:141:14: note: ‘strcpy’ declared here
141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
| ^~~~~~
/home/writeback/ProcMon-for-Linux-main/src/configuration/../tracer/ebpf/syscall_schema.h:109:34: error: ‘strcpy’ is not a member of ‘std’; did you mean ‘strcpy’?
109 | std::strcpy(schema.argNames[argCount], argName.c_str());
| ^~~~~~
/usr/include/string.h:141:14: note: ‘strcpy’ declared here
141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
| ^~~~~~
make[2]: *** [CMakeFiles/procmon.dir/build.make:156: CMakeFiles/procmon.dir/src/procmon.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:225: CMakeFiles/procmon.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered:
After install apt-get install SysinternalsEBPF
The text was updated successfully, but these errors were encountered: