Closed tacerus closed 2 years ago
Hi! Thanks for reporting the error and sorry for late response!
I'm going to merge this pull request as soon as it's green: #199. That PR removes the depdencency of libbpf entirely, all eBPF programs are written in Rust in Aya, so I guess also your problems with compiling C code will be gone. :wink:
It happened, so I'm closing. I will update docs how to build lockc after full migration to Rust.
Hi @vadorovsky, that's great news! Thank you very much for the update!
@tacerus I will make sure to update docs (about building everything with cargo/rust) till Tuesday at latest.
No hurry! I tried it on my own but encountered some errors, I'll try it again whenever the documentation is there. :-)
Hi,
I was able to compile this successfully on openSUSE Tumbleweed, however on Leap 15.3
cargo build
fails:I tried the packaged
bpftool
as well as the one built from source, as per the instructions.I too run
cargo install libbpf-cargo --force
after switching my installations ofbpftool
.My build environment on Leap consists of the following:
Would appreciate any ideas! Thanks for the cool project!