Skip to content

Compilation fails for javagc.bpf.o #5494

@quatrox

Description

@quatrox

$ make -k
BPF javagc.bpf.o
In file included from javagc.bpf.c:6:
In file included from /home/user/emlogic/ebpf/bcc/libbpf-tools/.output/bpf/usdt.bpf.h:6:
/usr/include/linux/errno.h:1:10: fatal error: 'asm/errno.h' file not found
1 | #include <asm/errno.h>
| ^~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:210: /home/user/emlogic/ebpf/bcc/libbpf-tools/.output/javagc.bpf.o] Error 1
make: Target 'all' not remade because of errors.

System information:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux forky/sid
Release: n/a
Codename: forky
$ uname -a
Linux e14-debian 7.0.0-rc4 #5 SMP PREEMPT_DYNAMIC Tue Mar 17 15:43:18 CET 2026 x86_64 GNU/Linux
$ ls -l /usr/local/bin/
total 0
lrwxrwxrwx 1 root root 17 Mar 18 12:59 clang -> /usr/bin/clang-23
lrwxrwxrwx 1 root root 22 Mar 18 12:59 llvm-strip -> /usr/bin/llvm-strip-23
$ gcc --version
gcc (Debian 15.2.0-14) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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