singe / ebpf-docker-for-mac

How to run eBPF on Docker for mac
82 stars 16 forks source link

Err: include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found #3

Open Jun10ng opened 2 years ago

Jun10ng commented 2 years ago

hi team, when I run ebpf programs on this image, there is an err:

include/linux/kconfig.h:7:10: fatal error: 'generated/autoconf.h' file not found

I thought the cause of that is short of linux-headers file, and we could solve it by re-complier it. Here is my solution: download linux-files, then write some parameters to the config file and compiler it.