make[4]: Entering directory '/build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/build_dir/target-mipsel_mips32_musl-1.1.16/ffmpeg-audio-dec/ffmpeg-3.2.2' CC libavdevice/alldevices.o In file included from /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/fortify/stdlib.h:20:0, from ./libavutil/common.h:39, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./config.h:17:19: error: expected identifier or '(' before 'void' #define getenv(x) NULL ^ ./config.h:17:19: error: expected ')' before numeric constant #define getenv(x) NULL ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:54:32: error: static declaration of 'cbrt' follows non-static declaration static av_always_inline double cbrt(double x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:151:13: note: previous declaration of 'cbrt' was here double cbrt(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:61:31: error: static declaration of 'cbrtf' follows non-static declaration static av_always_inline float cbrtf(float x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:152:13: note: previous declaration of 'cbrtf' was here float cbrtf(float); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:68:32: error: static declaration of 'copysign' follows non-static declaration static av_always_inline double copysign(double x, double y) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:159:13: note: previous declaration of 'copysign' was here double copysign(double, double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:121:22: error: static declaration of 'erf' follows non-static declaration static inline double erf(double z) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:171:13: note: previous declaration of 'erf' was here double erf(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:340:0: warning: "isnan" redefined #define isnan(x) \ ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:66:0: note: this is the location of the previous definition #define isnan(x) ( \ ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:359:0: warning: "isfinite" redefined #define isfinite(x) \ ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:76:0: note: this is the location of the previous definition #define isfinite(x) ( \ ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:366:31: error: static declaration of 'hypot' follows non-static declaration static inline av_const double hypot(double x, double y) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:223:13: note: previous declaration of 'hypot' was here double hypot(double, double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h: In function 'hypot': ./libavutil/libm.h:368:12: warning: unused variable 'ret' [-Wunused-variable] double ret, temp; ^ ./libavutil/libm.h: At top level: ./libavutil/libm.h:423:22: error: static declaration of 'rint' follows non-static declaration static inline double rint(double x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:307:13: note: previous declaration of 'rint' was here double rint(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:430:43: error: static declaration of 'lrint' follows non-static declaration static av_always_inline av_const long int lrint(double x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:267:13: note: previous declaration of 'lrint' was here long lrint(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:437:43: error: static declaration of 'lrintf' follows non-static declaration static av_always_inline av_const long int lrintf(float x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:268:13: note: previous declaration of 'lrintf' was here long lrintf(float); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:444:41: error: static declaration of 'round' follows non-static declaration static av_always_inline av_const double round(double x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:311:13: note: previous declaration of 'round' was here double round(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:451:40: error: static declaration of 'roundf' follows non-static declaration static av_always_inline av_const float roundf(float x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:312:13: note: previous declaration of 'roundf' was here float roundf(float); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:458:41: error: static declaration of 'trunc' follows non-static declaration static av_always_inline av_const double trunc(double x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:347:13: note: previous declaration of 'trunc' was here double trunc(double); ^ In file included from ./libavutil/internal.h:166:0, from ./libavutil/common.h:467, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: ./libavutil/libm.h:465:40: error: static declaration of 'truncf' follows non-static declaration static av_always_inline av_const float truncf(float x) ^ In file included from ./libavutil/common.h:36:0, from ./libavutil/avutil.h:290, from ./libavutil/log.h:25, from libavdevice/avdevice.h:48, from libavdevice/alldevices.c:22: /build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/math.h:348:13: note: previous declaration of 'truncf' was here float truncf(float); ^ common.mak:60: recipe for target 'libavdevice/alldevices.o' failed make[4]: *** [libavdevice/alldevices.o] Error 1 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/build_dir/target-mipsel_mips32_musl-1.1.16/ffmpeg-audio-dec/ffmpeg-3.2.2' Makefile:637: recipe for target '/build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/build_dir/target-mipsel_mips32_musl-1.1.16/ffmpeg-audio-dec/ffmpeg-3.2.2/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/mipsel_mips32/build/sdk/build_dir/target-mipsel_mips32_musl-1.1.16/ffmpeg-audio-dec/ffmpeg-3.2.2/.built] Error 2