iovisor / iovisor/bcc

How to run TCPSYNBL giving Exception: Failed to compile BPF text

Open
#4,181 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

I"m able to run other tools like TCPLIFE but i didn't have TCPSYNBL available when i cloned the repo , so i tried to create a file and copy the code from the repo but when i try to run it using
`./tcpsynbl` it shows:
`/virtual/main.c:17:10: error: no member named 'atomic_increment' in 'struct dist_table_t'
dist.atomic_increment(key);
~~~~ ^
1 error generated.
Traceback (most recent call last):
File "./tcpsynbl", line 60, in
b = BPF(text=bpf_text)
File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 325, in __init__
raise Exception("Failed to compile BPF text")
Exception: Failed to compile BPF text
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.