Search results

  1. N

    fatal error: include/chrono: No such file or directory 14 | #include <chrono>

    I'm trying to build https://github.com/eunomia-bpf/bpftime/ When I use #include <chrono>, It gives the following error fatal error: include/chrono: No such file or directory 14 | #include <chrono> pegasus@pegasus:~$ clang --version clang version 19.0.0git...
  2. N

    How to add pkgs.org and other mirrors in centOS 8?

    https://centos.pkgs.org/8-stream/centos-appstream-x86_64/ http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ I am new to centOS. I want to add these two repositories so that whenver I use yum install I get the latest packages from them. For example I want to install clang...
  3. N

    /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 on centos

    [nobin@CentOS9 tc-dump]$ CGO_ENABLED=1 go build # github.com/Asphaltt/tc-dump /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lresolv /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status...
  4. N

    No rule to make target '/home/pegasus/Documents/bpftime/third_party/bpftool/include/linux/err.h', needed by 'prog.o'. Stop

    I'm building a Docker image. docker build . Here's the Dockerfile FROM ubuntu:23.10 WORKDIR /bpftime RUN apt-get update && apt-get install -y --no-install-recommends \ libelf1 libelf-dev zlib1g-dev make cmake git libboost1.74-all-dev \ binutils-dev libyaml-cpp-dev gcc g++...
  5. N

    Detect and capture openconnect traffic using eBPF/XDP

    I'm new to networking. I'm also learning the usage of eBPF. Currently I'm working on a project where I've to capture the inner packet of a openconnect traffic. This is my code: https://github.com/inspektors-io/xdp-tutorial/tree/nobin/xdp_dump_with_grpc xdp_dump.c // Copyright (c) 2019 Dropbox...
  6. N

    invalid access to map value, value_size=128 off=0 size=0; libbpf: prog 'xdp_parser_func': failed to load: -13

    I've completed the assignment as mentioned in the solutions. Here's the repo I'm trying to test on my local machine: https://github.com/xdp-project/xdp-tutorial/blob/master/packet01-parsing/README.org Here's my C code: /* SPDX-License-Identifier: GPL-2.0 */ #include <stddef.h> #include...
  7. N

    protoc-gen-go: program not found or is not executable

    I have installed the go plugins. Still when I try to run events.proto code it shows error: sudo go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest sudo go install google.golang.org/protobuf/cmd/protoc-gen-go@latest pegasus@pegasus:~/Documents/eBPF/go-xdp-examples/gRPC_test$ tree ...
  8. N

    go install shows permission denied

    Whenever I try to install any package in go. using go install it says permission denied. Then I have to do sudo go install. Is it normal? Or do I have to change some permissions? How can I fix it? pegasus@pegasus:~$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest...
  9. N

    Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-UFOYK2/org.freedesktop.Platform-FJ9MK2

    When I try to install using flatpak install I get this error. How can I fix it? Warning: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-UFOYK2/org.freedesktop.Platform.Locale-LEOYK2: Child process exited with code 1 Warning: Could not unmount revokefs-fuse filesystem at...
  10. N

    No openjdk development package found, please install JDK package,

    I have my java installed and linked. Still when I run another config it shows no openjdk development package found. pegasus@pegasus:~/Documents/perf-6.4.0$ make -C tools/perf/ make: Entering directory '/home/pegasus/Documents/perf-6.4.0/tools/perf' BUILD: Doing 'make -j16' parallel build...
  11. N

    Failing to build linux perf

    I have a custom built kernel. I want to build and install perf. How can I do it? pegasus@pegasus:/usr/src/linux-headers-6.4.0-060400-generic/tools/perf$ make BUILD: Doing 'make -j16' parallel build Makefile.perf:8: ../scripts/utilities.mak: No such file or directory make[1]: *** No rule to...
  12. N

    unknown type name ‘GElf_Nhdr’; did you mean ‘GElf_Shdr’? while building libbpf

    Whenever I'm trying to build libbpf. I'm facing the following error. When I try to build tools related libbpf I also face the same errors. pegasus@pegasus:~/Documents/eBPF/libbpf/src$ make MKDIR staticobjs CC staticobjs/bpf.o CC staticobjs/btf.o CC...
  13. N

    Baobab (Disk Usage Analyzer) not fully showing usage?

    Here's the output of Baobab. It shows that I have 750 GB total. But when I press on it I could only find 566.7 GB. Where is the rest of the 124 GB? Why is it not showing? pegasus@pegasus:~$ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.6G 3.9M 1.5G 1% /run...
  14. N

    make[1]: *** [/linux_work/linux_latest_bootable/Makefile:801: include/config/auto.conf] Error 1

    I'm trying to direct the kselftest output from kselftest. But It works fine with sudo make kselftest but it gives error with O= option and I had tried KBUILD_OUTPUT=/tmp/kselftest. It doesn't show any output report on /tmp/kselftest. sudo make O=/tmp/kselftest kselftest-install gives the...
  15. N

    crash: invalid structure member offset: kmem_cache_s_num FILE: memory.c LINE: 9619 FUNCTION: kmem_cache_init()

    I'm learning linux kernel dev. Very new to it. I'm playing around with kernel panic. my os version: pegasus@pegasusv:~$ uname -a Linux pegasusv 5.19.0-41-generic #42-Ubuntu SMP PREEMPT_DYNAMIC Mon Apr 17 19:17:03 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux I'm on QEMU/KVM. Command I've run to...
  16. N

    Unable to launch any app installed using dpkg -i

    I'm using firefox to download the .deb file. When I install it using sudo dpkg - app_name.deb pegasus@pegasus:~$ uname -a Linux pegasus 5.19.0-1007-nvidia-lowlatency #7-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 25 00:08:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux But I can't run it normally. I need to...
  17. N

    fatal: unable to auto-detect email address (got 'root@pegasusv.(none)')?

    pegasus@pegasusv:/linux_work/linux_stable$ sudo git commit -a [sudo] password for pegasus: Author identity unknown *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit...
  18. N

    Sub-process /usr/bin/dpkg returned an error code (1)

    After typing the following command: sudo apt install mainline -y I'm getting the following error: After this operation, 0 B of additional disk space will be used. Setting up rtl8822ce-dkms (5.7.3~jammy5) ... Removing old rtl8822ce-5.7.3~ppa DKMS files... Deleting module rtl8822ce-5.7.3~ppa...
  19. N

    I accidentally messed up the networking service, network manager in ubuntu 22.04 for rtw_8822ce

    I accidentally messed up the networkin service, network manager. The driver rtw_8822ce is problematic in dual boot. So I somehow broke the thing. And now in the start up the wifi isn't getting enabled. Somehow I messed stuff that made my bootup very very long. So I undid everything erased and...
  20. N

    bash: ./<filename> No such file or directory

    I'm trying to run a binary. But when I'm trying to run the file I'm facing the following error. pegasus@pegasus:~/Documents/Courses/heaplab-main/house_of_force$ ./house_of_force bash: ./house_of_force: No such file or directory...
Top