Closed trippleflux closed 9 months ago
Turns out it seems not related with cbindgen directly :
gen/rust-bindings.h: $(RUST_SURICATA_LIB)
PATH=$(CARGO_HOME)/bin:$(PATH) \
cbindgen --config $(abs_top_srcdir)/rust/cbindgen.toml \
--quiet --verify --output $(abs_top_builddir)/rust/gen/rust-bindings.h || true
Hello,
I am a rust newbie, honestly I am coming here asking for help regarding suricata 7.0.2-DEV compilation in which involving RUST, CARGO, cbindgen. My platform is OpenWrt running on x86-64 hardware.
Here are the errors log :
I have come quite far enough by patching the suricata 7.0.2-DEV ./rust/Makefile.am :
Now let's going directly at the issues :
I am curious whether No such file or directory is about rust dependencies or just cbindgen runtime libraries is not found. My Env :
I have tried the following : By appending the LD_LIBRARY_PATH before the $(CBINDGEN) in ./rust/Makefile.am
But still getting the same errors.