[LEDE-DEV] latest git compile error trying to compile at

Denis Periša darkman.hr at gmail.com
Thu Jun 15 10:25:24 PDT 2017


If I select utils>at
it depends on libelf which fails to compile.

If anyone can fix it. thank you!


Making all in lib
mips-openwrt-linux-musl-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
-DLOCALEDIR='"/usr/share/locale"' -I. -I..  -I. -I. -I../lib -I..
-I./../libelf -I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/usr/include
-I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/include
-I/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/include
-I/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify
-I/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include
-I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include
-I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include
 -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wlogical-op    -Werror -Wunused -Wextra
-Wstack-usage=262144  -fPIC -D_FORTIFY_SOURCE=2 -Os -pipe
-mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves
-fhonour-copts -Wno-error=unused-but-set-variable
-Wno-error=unused-result -msoft-float
-iremap/DISK2/LEDE/rb435g/build_dir/target-mips_24kc_musl/elfutils-0.169:elfutils-0.169
-I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/usr/lib/libiconv-stub/include
-I/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/usr/lib/libintl-stub/include
-D_GNU_SOURCE -Wno-unused-result  -DBAD_FTS=1 -MT xstrndup.o -MD -MP
-MF .deps/xstrndup.Tpo -c -o xstrndup.o xstrndup.c
In file included from system.h:37:0,
                 from xstrndup.c:36:
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:
In function 'snprintf':
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:99:2:
error: format not a string literal, argument types not checked
[-Werror=format-nonliteral]
  return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
  ^
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:99:2:
error: format not a string literal, argument types not checked
[-Werror=format-nonliteral]
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:
In function 'sprintf':
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:108:3:
error: format not a string literal, argument types not checked
[-Werror=format-nonliteral]
   __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack());
   ^
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:108:3:
error: format not a string literal, argument types not checked
[-Werror=format-nonliteral]
/DISK2/LEDE/rb435g/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/include/fortify/stdio.h:112:3:
error: format not a string literal, argument types not checked
[-Werror=format-nonliteral]
   __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack());
   ^
cc1: all warnings being treated as errors
make[6]: *** [Makefile:410: xstrndup.o] Error 1
make[5]: *** [Makefile:480: all-recursive] Error 1
make[4]: *** [Makefile:396: all] Error 2
make[4]: Leaving directory
'/DISK2/LEDE/rb435g/build_dir/target-mips_24kc_musl/elfutils-0.169'
make[3]: *** [Makefile:100:
/DISK2/LEDE/rb435g/build_dir/target-mips_24kc_musl/elfutils-0.169/.built]
Error 2
make[3]: Leaving directory '/DISK2/LEDE/rb435g/package/libs/elfutils'
make[2]: *** [package/Makefile:111: package/libs/elfutils/compile] Error 2
make[2]: Leaving directory '/DISK2/LEDE/rb435g'
make[1]: *** [package/Makefile:105:
/DISK2/LEDE/rb435g/staging_dir/target-mips_24kc_musl/stamp/.package_compile]
Error 2
make[1]: Leaving directory '/DISK2/LEDE/rb435g'
make: *** [/DISK2/LEDE/rb435g/include/toplevel.mk:209: world] Error 2



More information about the Lede-dev mailing list