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

未關閉
#121 18 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
C
星號
4.3k
分支
602
平均合併
1 天 10 小時
30 天內合併 PR
1

描述

**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
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。