Skip to content

make need latest libbpf #463

@ShiLu1211

Description

@ShiLu1211
./configure
libbpf support: submodule v1.4.0
make error like:
/usr/bin/ld: ../libbpf/src/libbpf.a(libbpf.o): warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
/usr/bin/ld: ../libbpf/src/libbpf.a(libbpf.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

replace lib/libbpf with latest version
./configure
libbpf support: submodule v1.6.0
make success

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