Code: Select all
make -C /home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138 KCFLAGS="-fmacro-prefix-map=/home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/torrouter/OpenWrt/vmware/v19.07.7/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Sat Sep 3 02:55:34 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/torrouter/OpenWrt/vmware/v19.07.7/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/torrouter/OpenWrt/vmware/v19.07.7/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.10.138 CC="x86_64-openwrt-linux-musl-gcc" bzImage modules
make[5]: Entering directory '/home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138'
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CC /home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138/tools/objtool/elf.o
elf.c: In function 'read_symbols':
elf.c:409:8: error: implicit declaration of function 'gelf_getsymshndx'; did you mean 'gelf_getsym'? [-Werror=implicit-function-declaration]
if (!gelf_getsymshndx(symtab->data, shndx_data, i, &sym->sym,
^~~~~~~~~~~~~~~~
gelf_getsym
elf.c: In function 'elf_update_symbol':
elf.c:678:7: error: implicit declaration of function 'gelf_update_symshndx'; did you mean 'gelf_update_sym'? [-Werror=implicit-function-declaration]
if (!gelf_update_symshndx(symtab_data, shndx_data, idx, &sym->sym, shndx)) {
^~~~~~~~~~~~~~~~~~~~
gelf_update_sym
cc1: all warnings being treated as errors
make[8]: *** [/home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138/tools/build/Makefile.build:97: /home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138/tools/objtool/elf.o] Error 1
make[7]: *** [Makefile:55: /home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138/tools/objtool/objtool-in.o] Error 2
make[6]: *** [Makefile:68: objtool] Error 2
make[5]: *** [Makefile:1958: tools/objtool] Error 2
make[5]: Leaving directory '/home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138'
make[4]: *** [Makefile:22: /home/torrouter/OpenWrt/vmware/v19.07.7/build_dir/target-x86_64_musl/linux-x86_64/linux-5.10.138/.modules] Error 2
make[4]: Leaving directory '/home/torrouter/OpenWrt/vmware/v19.07.7/target/linux/x86'
make[3]: *** [Makefile:11: compile] Error 2
make[3]: Leaving directory '/home/torrouter/OpenWrt/vmware/v19.07.7/target/linux'
time: target/linux/compile#1.57#0.40#1.93
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/compile] Error 1
make[2]: Leaving directory '/home/torrouter/OpenWrt/vmware/v19.07.7'
make[1]: *** [target/Makefile:23: /home/torrouter/OpenWrt/vmware/v19.07.7/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/torrouter/OpenWrt/vmware/v19.07.7'
make: *** [/home/torrouter/OpenWrt/vmware/v19.07.7/include/toplevel.mk:230: world] Error 2
DG.