Re: [yocto] build kernel libelf.h error

2023-05-02 Thread Bruce Ashfield
On Tue, May 2, 2023 at 3:01 AM abbas ali chezgi wrote: > > hello everybody, > i want to compile kernel with `CONFIG_DEBUG_INFO_BTF=y` > it has errors: > ``` > | linker.c:17:10: fatal error: libelf.h: No such file or directory > |17 | #include > | | ^~ > | compilation te

Re: [yocto] build kernel libelf.h error

2023-05-02 Thread Khem Raj
On Tue, May 2, 2023 at 12:01 AM abbas ali chezgi wrote: > > hello everybody, > i want to compile kernel with `CONFIG_DEBUG_INFO_BTF=y` > it has errors: > ``` > | linker.c:17:10: fatal error: libelf.h: No such file or directory > |17 | #include > | | ^~ > | compilation t

[yocto] build kernel libelf.h error

2023-05-02 Thread abbas ali chezgi
hello everybody, i want to compile kernel with `CONFIG_DEBUG_INFO_BTF=y` it has errors: ``` | linker.c:17:10: fatal error: libelf.h: No such file or directory |17 | #include | | ^~ | compilation terminated. | btf.c:18:10: fatal error: gelf.h: No such file or directory |