Re: Kernelnewbies help

Erick Karanja <[email protected]> Thu, 18 Sep 2025 06:54:17 +0300
Newsgroups dev.linux.lists.outreachy
Message-ID <[email protected]>
On Wed, 2025-09-17 at 18:25 -0700, Miguel Rodr=C3=ADguez wrote:
> Hi there, I am following=C2=A0this tutorial
> https://kernelnewbies.org/OutreachyfirstpatchSetup
>=20
> When running the step=C2=A0 "Building the kernel", I am getting the error=
:
>=20
> HOSTCC =C2=A0scripts/gendwarfksyms/gendwarfksyms.o
> In file included from scripts/gendwarfksyms/gendwarfksyms.c:12:
> scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: dwarf.h: No
> such file or directory
> =C2=A0 =C2=A0 6 | #include <dwarf.h>
> =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Mak
>=20
>=20
> Can anyone help me know why it is failing?
Hello, have you installed this libraries=20
libdwarf-dev and libelf-dev?
> I am using Ubuntu:
> $ uname -a
> Linux miguel-linux 6.14.0-29-generic #29~24.04.1-Ubuntu SMP
> PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64
> GNU/Linux
>=20
>=20
>=20
> Thank you,
> Miguel
>=20
>=20