elf_scncnt was never implemented. It was probably an old name for elf_getshnum (which was the deprecated name of the elf_getshdrnum alias). Just remove it from the map file
* libelf/libelf.map (ELFUTILS_1.0): Remove elf_scncnt. https://sourceware.org/bugzilla/show_bug.cgi?id=30729 Reported-by: Kostadin Shishmanov <koce...@tutanota.com> Signed-off-by: Mark Wielaard <m...@klomp.org> --- libelf/libelf.map | 1 - 1 file changed, 1 deletion(-) diff --git a/libelf/libelf.map b/libelf/libelf.map index 10dc5059..25760bc4 100644 --- a/libelf/libelf.map +++ b/libelf/libelf.map @@ -50,7 +50,6 @@ ELFUTILS_1.0 { elf_rand; elf_rawdata; elf_rawfile; - elf_scncnt; elf_strptr; elf_update; elf_version; -- 2.39.3