On fedora after installing libdwarf-devel (and other from family), libdwarf.h and dwarf.h are located in /usr/include/libdwarf not in /usr/include/, so the installation crashes:
src/hotpatch/elf.c:9:19: fatal error: dwarf.h: No such file or directory
After copying both files level up, then it crashes:
src/hotpatch/elf.c:15:25: fatal error: libelf/gelf.h: No such file or directorygelf.h is NOT in subdirectory, copying file to libelf subdir solves the problem.
On fedora after installing libdwarf-devel (and other from family), libdwarf.h and dwarf.h are located in
/usr/include/libdwarf
not in/usr/include/
, so the installation crashes:src/hotpatch/elf.c:9:19: fatal error: dwarf.h: No such file or directory
After copying both files level up, then it crashes:
src/hotpatch/elf.c:15:25: fatal error: libelf/gelf.h: No such file or directory
gelf.h
is NOT in subdirectory, copying file tolibelf
subdir solves the problem.below are packages contents