mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +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 \
|
gnupg \
|
||||||
installkernel \
|
installkernel \
|
||||||
kmod \
|
kmod \
|
||||||
libelf-dev \
|
elfutils-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
mpc1-dev \
|
mpc1-dev \
|
||||||
mpfr-dev \
|
mpfr-dev \
|
||||||
|
@ -16,7 +16,7 @@ RUN apk add \
|
|||||||
gmp-dev \
|
gmp-dev \
|
||||||
installkernel \
|
installkernel \
|
||||||
kmod \
|
kmod \
|
||||||
libelf-dev \
|
elfutils-dev \
|
||||||
mpc1-dev \
|
mpc1-dev \
|
||||||
mpfr-dev \
|
mpfr-dev \
|
||||||
sed \
|
sed \
|
||||||
|
Loading…
Reference in New Issue
Block a user