eunomia-bpf / eunomia-bpf/bpf-developer-tutorial

[BUG] 30-sslsniff: make: *** [Makefile:86: /home/pegasus/Documents/bpf-developer-tutorial/src/30-sslsniff/.output/libbpf.a] Error 2

Đang mở
#121 18 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
C
Star
4.3k
Fork
602
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
1

Mô tả

**Describe the bug**
When I'm trying to build the sslsniff tool from lesson 30 I face the following error: make: *** [Makefile:86: /home/pegasus/Documents/bpf-developer-tutorial/src/30-sslsniff/.output/libbpf.a] Error 2

**To Reproduce**

use make from the 30-sslsniff directory.
```
pegasus@pegasus:~/Documents/bpf-developer-tutorial/src/30-sslsniff$ make
MKDIR .output
MKDIR .output/libbpf
LIB libbpf.a
make[1]: *** /home/pegasus/Documents/bpf-developer-tutorial/src/third_party/libbpf/src: No such file or directory. Stop.
make: *** [Makefile:86: /home/pegasus/Documents/bpf-developer-tutorial/src/30-sslsniff/.output/libbpf.a] Error 2
```
**Expected behavior**
It should build the tool properly

**Screenshots**
![image](https://github.com/eunomia-bpf/bpf-developer-tutorial/assets/56520367/956a9792-5ad4-49d1-bedd-eff168be7bb2)

**Desktop (please complete the following information):**

```
pegasus@pegasus:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
pegasus@pegasus:~$ uname -a
Linux pegasus 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.