phoenix-dataplane / phoenix

Phoenix dataplane system service
https://phoenix-dataplane.github.io
Apache License 2.0
50 stars 9 forks source link

can't find " /tmp/phoenix/plugins/libphoenix_mrpc.d" #246

Open BeityLuo opened 3 months ago

BeityLuo commented 3 months ago

After copy experimental/mrpc/load-mrpc-plugins.toml to phoenix.toml and run cargo make, it will be compiled successfully. But when running, an error comes out

[2024-05-21 11:12:16.563706 DEBUG src/phoenixos/src/plugin_mgr.rs:169] loading plugin from path: lib_path: /tmp/phoenix/plugins/libphoenix_mrpc.rlib, dep_path: /tmp/phoenix/plugins/libphoenix_mrpc.d
thread 'main' panicked at src/phoenixos/src/control.rs:313:14:
failed to load preset modules: IO: No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)

I checked /tmp/phoenix/plugins/ folder and there's no file named libphoenix_mrpc.d. It seems like this file wasn't created while compiling.

[root@root phoenix]# ls /tmp/phoenix/plugins/
libphoenix_api_core.d     libphoenix_api_salloc.d        libphoenix_common.d               libphoenix_salloc.d       libphoenix_transport_rdma.d
libphoenix_api_core.rlib  libphoenix_api_salloc.rlib     libphoenix_common.rlib            libphoenix_salloc.rlib    libphoenix_transport_rdma.rlib
libphoenix_api.d          libphoenix_api_transport.d     libphoenix_common_workspace.d     libphoenix_syscalls.d     libphoenix_transport_tcp.d
libphoenix_api.rlib       libphoenix_api_transport.rlib  libphoenix_common_workspace.rlib  libphoenix_syscalls.rlib  libphoenix_transport_tcp.rlib

I can't find where this file is created in source code, please help. Thanks!