This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libelf: Add ELF compression types and defines to libelf.h for older glibc.
- From: Kurt Roeckx <kurt at roeckx dot be>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 13 Jan 2016 18:01:40 +0100
- Subject: Re: [PATCH] libelf: Add ELF compression types and defines to libelf.h for older glibc.
On Wed, Jan 13, 2016 at 05:22:35PM +0100, Mark Wielaard wrote:
> Older glibc elf.h might not define the new ELF compression defines and
> types. If not just define them in libelf.h directly to make the libelf
> headers work on older glibc systems.
>
> Also include a testcase to check the libelf headers build against the
> system elf.h.
That seems to fail with:
CC system_elf_libelf_test-system-elf-libelf-test.o
In file included from system-elf-libelf-test.c:22:0:
../libelf/gelf.h:32:20: fatal error: libelf.h: No such file or directory
compilation terminated.
Kurt