Search results

  1. N

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

    So how can I get all the CentOS 8 Stream packages? On my CentOS 8 Linux?
  2. N

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

    https://www.centos.org/cl-vs-cs/ Read this.
  3. N

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

    CentOS Stream is not the same as CentOS Linux.
  4. N

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

    @f33dm3bits I don't want to manually download the binary package. Because it then becomes a tiresome loop of dependency. Rather I want to add repo. Currently my OS is CentOS Linux not CentOS Stream
  5. 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...
  6. 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...
  7. 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++...
  8. 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...
  9. 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...
  10. N

    go install shows permission denied

    I'm new to Go. How can I find cmd? what is the <PATH_TO> here? How to set GOPATH? pegasus@pegasus:~$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/pegasus/.cache/go-build" GOENV="/home/pegasus/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux"...
  11. 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 ...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. N

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

    I solved the issue. It was an issue with libelf. I downloaded a latest libelf version. Then Configured and installed it. libelf also had some dependency missing like specific versions of sqlite, libcurl, libarchive.
  17. N

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

    I have uninstalled libelf-dev and now I found this pegasus@pegasus:~/Documents/eBPF/libbpf/src$ sudo apt search libelf Sorting... Done Full Text Search... Done libdwarf++0/lunar 0.3-3 amd64 C++11 DWARF parser libelf++0/lunar 0.3-3 amd64 C++11 ELF parser libelf-dev/lunar 0.188-2.1 amd64...
  18. N

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

    You could also refer to here. Where I had a small chat about this issue. https://github.com/libbpf/libbpf/issues/784
Top