Dnia 11-03-2010 o 14:51:39 H.J. Lu <[email protected]> napisał(a):
checking for libelf/gelf.h... no
checking for the correct version of libelf... yes
I am using elfutils-libelf 0.145.
ahh, right. i've accidentally used an older version 0.142
which libelf.h contains only:
extern int elf_getshstrndx (Elf *__elf, size_t *__dst);
the latest 0.145 have both signatures:
extern int elf_getshdrstrndx (Elf *__elf, size_t *__dst);
^^^^^^^^^^^^^ lto requires exactly this one.
extern int elf_getshstrndx (Elf *__elf, size_t *__dst)
__attribute__ ((__deprecated__));
sorry for the noise :)