nccgroup/ebpf

Problem on Ubuntu 24.04 LTS

Opened this issue · 0 comments

It does not seem to work on top of bcc 0.30.0 on Ubuntu 24.04 LTS and Python 3.12.3.
It would be very kind, if you could give me a hint, where should have to look for.

When starting unixdump, the following error is displayed:

b"/virtual/main.c:403:15: error: no member named 'hash' in 'struct unix_address'\n 403 | if (addr->hash < UNIX_HASH_SIZE) {\n | ~~~~ ^\n/virtual/main.c:506:30: error: no member named 'iov' in 'struct iov_iter'\n 506 | size_t len = msg->msg_iter.iov->iov_len;\n | ~~~~~~~~~~~~~ ^\n/virtual/main.c:507:30: error: no member named 'iov' in 'struct iov_iter'\n 507 | void* base = msg->msg_iter.iov->iov_base;\n | ~~~~~~~~~~~~~ ^\n/virtual/main.c:1051:30: error: no member named 'iov' in 'struct iov_iter'\n 1051 | size_t len = msg->msg_iter.iov->iov_len;\n | ~~~~~~~~~~~~~ ^\n/virtual/main.c:1052:30: error: no member named 'iov' in 'struct iov_iter'\n 1052 | void* base = msg->msg_iter.iov->iov_base;\n | ~~~~~~~~~~~~~ ^\n5 errors generated.\n"
Failed to compile BPF module