-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
driver插件编译有报错 #22
Comments
尝试git clone --recursive https://github.com/bytedance/AgentSmith-HIDS |
或者git submodule update --init |
如果遇到上述错误,请检查自己的GitHub身份配置: |
另一种简单粗暴的办法: |
yes,thx. |
root@st-arch-sec-tool-1 (14:30:24) driver # pwd
/tmp/AgentSmith-HIDS-main/agent/driver
root@st-arch-sec-tool-1 (14:37:41) driver # ls
build.rs Cargo.toml LICENSE Makefile README.md README-zh_CN.md src template.toml
root@st-arch-sec-tool-1 (14:39:55) .cargo # pwd //cargo build 等待并巨慢的问题,改了源
/root/.cargo
root@st-arch-sec-tool-1 (14:39:51) .cargo # cat config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
root@st-arch-sec-tool-1 (14:30:09) driver # make build
cargo build --release
Updating
git://mirrors.ustc.edu.cn/crates.io-index
indexerror: failed to get
flexi_logger
as a dependency of packageplugin_builder v0.1.0 (/tmp/AgentSmith-HIDS-main/agent/support/rust/plugin_builder)
... which is depended on by
driver v0.1.0 (/tmp/AgentSmith-HIDS-main/agent/driver)
Caused by:
failed to load source for dependency
flexi_logger
Caused by:
Unable to update /tmp/AgentSmith-HIDS-main/agent/support/rust/flexi_logger
Caused by:
failed to read
/tmp/AgentSmith-HIDS-main/agent/support/rust/flexi_logger/Cargo.toml
Caused by:
No such file or directory (os error 2)
make: *** [build] Error 101
The text was updated successfully, but these errors were encountered: