Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

error: failed to compile the `openminotor' program: #366

Open
Dududyude opened this issue Feb 24, 2023 · 0 comments
Open

error: failed to compile the `openminotor' program: #366

Dududyude opened this issue Feb 24, 2023 · 0 comments

Comments

@Dududyude
Copy link

Hello, I'm trying to make this tutorial
After compiling, I have this return

Compiling probes v0.1.0 (/home/ubuntu/Bureau/redbpf/red/probes)
warning: due to multiple output types requested, the explicitly specified output file name will be adapted for each output type

warning: ignoring --out-dir flag due to -o flag

warning: probes (bin "openminotor") generated 2 warnings
Finished release [optimized] target(s) in 0.49s
error: failed to compile the `openminotor' program: couldn't process IR file: LLVMParseIRInContext failed: /home/ubuntu/Bureau/redbpf/red/target/bpf/programs/openminotor/openminotor-2e6cdb1a047af44c.bc: error: Invalid record

I See one other post here https://bytemeta.vip/index.php/repo/foniod/redbpf/issues/315 , he change this rustc version in 1.59 for working

We can have a feature for this make in 1.67.0 or we need to switch in 1.59?

Thanks for your help (and sorry for my english is not very good xD)
Good days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant