Open yasin-cs-ko-ak opened 2 years ago
The problem still occurs. I could not figure out. The header file is there but still no luck. If anyone know, kindly comment here.
Not sure what's the right fix here, the machine I'm testing this on doesn't even support control flow extensions. It seems that the current Arch build is failing for the same reason.
diff --git a/cargo-bpf/src/build_constants.rs b/cargo-bpf/src/build_constants.rs
index 36a68dd..b2890e4 100644
--- a/cargo-bpf/src/build_constants.rs
+++ b/cargo-bpf/src/build_constants.rs
@@ -31,6 +31,7 @@ lazy_static! {
"-D__KERNEL__",
"-Wall",
"-Werror",
+ "-Wno-error=ignored-attributes",
"-Wunused",
"-Wno-unknown-warning-option",
"-Wno-frame-address",
I was trying to install redbpf from this source. This was the output I got.