Skip to content

error: unknown target triple 'bpf', please use -triple or -arch #71

@gpt8763

Description

@gpt8763

[root@VM-16-11-centos coolbpf]# ./install.sh -arch
Found libelf library: /usr/lib64/libelf.so
-- ARCH: x86
-- Found bpftool: /usr/sbin/bpftool
-- Found clang: /usr/bin/clang
-- Archicture: x86_64
-- Include Directories: -I/root/coolbpf/third;-I/root/coolbpf/arch/x86_64;-I/root/coolbpf/third/libbpf/include;-I/root/coolbpf/third/libbpf/include/uapi
-- Configuring done
-- Generating done
-- Build files have been written to: /root/coolbpf/build
[ 2%] Generating BPF object: /root/coolbpf/build/src/bpf/net.bpf.o
error: unknown target triple 'bpf', please use -triple or -arch
make[2]: *** [src/bpf/net.bpf.o] Error 1
make[1]: *** [src/bpf/CMakeFiles/net_skel.dir/all] Error 2
make: *** [all] Error 2

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