Skip to contentSkip to conversation

Kernelnewbies help

DISCUSSION Your Name 2 participants 2 messages Sep 18, 2025

lore
Share & tools
lore

Your Name

author
#0 lore raw

Hi,
I am resending it in plain text.

miguel@miguel-linux:~/git/kernels/staging$ apt list --installed | grep libdwarf-dev

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libdwarf-dev/noble-apps-security,now 20210528-1ubuntu0.24.04.1~esm1 amd64 [installed]

miguel@miguel-linux:~/git/kernels/staging$ apt list --installed | grep libelf-dev

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libelf-dev/noble-updates,noble-security,now 0.190-1.1ubuntu0.1 amd64 [installed] miguel@miguel-linux:~/git/kernels/staging$

Thanks,
Miguel

El mié, 17 sept 2025 a las 20:54, Erick Karanja (<[email protected]>) escribió:

On Wed, 2025-09-17 at 18:25 -0700, Miguel Rodríguez wrote:
> Hi there, I am following this tutorial
> https://kernelnewbies.org/OutreachyfirstpatchSetup
>
> When running the step "Building the kernel", I am getting the error:
>
> HOSTCC scripts/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
> 6 | #include <dwarf.h>
> | ^~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Mak
>
>
> Can anyone help me know why it is failing?
Hello, have you installed this libraries
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
>
>
>
> Thank you,
> Miguel
>
>

#1 lore raw
Quoted 8 lines · Your Name

Hi,
I am resending it in plain text.

miguel@miguel-linux:~/git/kernels/staging$ apt list --installed |
grep libdwarf-dev

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hello, I would recommend your configure your email correctly, It seems not ok. place you actual name
Regards.

Quoted 62 lines

libdwarf-dev/noble-apps-security,now 20210528-1ubuntu0.24.04.1~esm1 amd64 [installed]

miguel@miguel-linux:~/git/kernels/staging$ apt list --installed |
grep libelf-dev

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libelf-dev/noble-updates,noble-security,now 0.190-1.1ubuntu0.1 amd64 [installed]
miguel@miguel-linux:~/git/kernels/staging$

Thanks,
Miguel

    El mié, 17 sept 2025 a las 20:54, Erick Karanja (<[email protected]>) escribió:

        On Wed, 2025-09-17 at 18:25 -0700, Miguel Rodríguez wrote:
        > Hi there, I am following this tutorial
        > https://kernelnewbies.org/OutreachyfirstpatchSetup
        >
        > When running the step  "Building the kernel", I am getting the error:
        >
        > HOSTCC  scripts/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
        >     6 | #include <dwarf.h>
        >       |          ^~~~~~~~~
        > compilation terminated.
        > make[3]: *** [scripts/Mak
        >
        >
        > Can anyone help me know why it is failing? Hello, have you installed this libraries 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
        >
        >
        >
        > Thank you,
        > Miguel
        >
        >