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

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

@Dududyude

Description

@Dududyude

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions