Open suhho1993 opened 1 year ago
I could reproduce the problem and solve it by following the steps. Docs should be fixed!
This bit:
RUN sed -i 's/error.h/err.h/' bcc/examples/cpp/KModRetExample.cc | cat -n
is obsolete and actually wrong by now since neither error()
(glibc) nor err()
(musl variant) are used in KModRetExample.cc
. The #include
statement can simply be removed.
First, I tried to build a docker container with bcc using Alpine linux image (tag: Latest). But it showed some errors and seems it needs some updates. Here's my Dockerfile
There are three things to do in order to make things work.
These steps will solve things for now I guess. Any comments?