Skip to content

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

@Jun10ng

Description

@Jun10ng

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions