You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prepare compilation environment with docker: docker run -it --rm --privileged multiarch/qemu-user-static --credential yes --persistent yes
Use the Dockerfile in builder directory to build an image of the build environment
Run builder container with BPFroid sources mounted and kernel headers as well, e.g: docker run -it --rm -v /path/to/tracee:/tracee -v /path/to/android-kernel:/headers bpfroid_builder
Set KERN_HEADERS variable in the Makefile to point to the correct location, then make, e.g: KERN_HEADERS=/headers make
My Movements:
The third step I modified was: In the Makefile, I modified "#KERN_HEADERS := /home/yaniv/src/thesis/pixel3a/android-kernel/headers/kernel-headers" according to the original comment to "KERN_HEADERS:=/home/BPFroid/android-kernel/headers/kernel-headers"
Upload the bpfroid source code to the container's /home directory
Press step 4 to compile in the container. steps is:
Make in the /home root directory. or use KERN_HEADERS=/headers make make
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Following your documentation, I generated the docker image.
https://github.com/yanivagman/BPFroid
It is the following four steps:
My Movements:
The following error is reported:
I think there is a mistake in the steps of the operation, but I don't know which step is wrong.
Please answer.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions