mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
kernel: Use elfutils-dev instead of libelf-dev
With kernel 5.0.6 we start seeing compile errors such as: HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o In file included from <stdin>:1: /usr/include/libelf/libelf.h:28:5: error: "__LIBELF_INTERNAL__" is not defined, evaluates to 0 [-Werror=undef] #if __LIBELF_INTERNAL__ ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors elutils-dev installs a different version of libelf. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
658da5b94a
commit
250b14661b
@ -15,7 +15,7 @@ RUN apk add \
|
||||
gnupg \
|
||||
installkernel \
|
||||
kmod \
|
||||
libelf-dev \
|
||||
elfutils-dev \
|
||||
linux-headers \
|
||||
mpc1-dev \
|
||||
mpfr-dev \
|
||||
|
@ -16,7 +16,7 @@ RUN apk add \
|
||||
gmp-dev \
|
||||
installkernel \
|
||||
kmod \
|
||||
libelf-dev \
|
||||
elfutils-dev \
|
||||
mpc1-dev \
|
||||
mpfr-dev \
|
||||
sed \
|
||||
|
Loading…
Reference in New Issue
Block a user