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

Ouverte
#121 18 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
C
Étoiles
4.3k
Forks
602
Merge moyen
1 j 10 h
PR mergées (30 j)
1

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.