Skip to content

Instantly share code, notes, and snippets.

@neheb
Created June 14, 2018 20:48
Show Gist options
  • Save neheb/2c0e413f0cdbf4c7c7f502b5bf25892e to your computer and use it in GitHub Desktop.
Save neheb/2c0e413f0cdbf4c7c7f502b5bf25892e to your computer and use it in GitHub Desktop.
make[6]: Entering directory '/home/mangix/devstuff/openwrt/build_dir/hostpkg/json-c-0.12.1'
/usr/bin/env bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/mangix/devstuff/openwrt/staging_dir/host/include -I/home/mangix/devstuff/openwrt/staging_dir/hostpkg/include -I/home/mangix/devstuff/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -I/home/mangix/devstuff/openwrt/staging_dir/host/include -I/home/mangix/devstuff/openwrt/staging_dir/hostpkg/include -I/home/mangix/devstuff/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c -o json_object.lo json_object.c
OpenWrt-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/mangix/devstuff/openwrt/staging_dir/host/include -I/home/mangix/devstuff/openwrt/staging_dir/hostpkg/include -I/home/mangix/devstuff/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -I/home/mangix/devstuff/openwrt/staging_dir/host/include -I/home/mangix/devstuff/openwrt/staging_dir/hostpkg/include -I/home/mangix/devstuff/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host/include -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c json_object.c -fPIC -DPIC -o .libs/json_object.o
json_object.c: In function 'json_object_get_int64':
json_object.c:554:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
if (json_parse_int64(jso->o.c_string.str, &cint) == 0) return cint;
^
json_object.c:555:3: note: here
default:
^~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [Makefile:573: json_object.lo] Error 1
make[6]: Leaving directory '/home/mangix/devstuff/openwrt/build_dir/hostpkg/json-c-0.12.1'
make[5]: *** [Makefile:637: all-recursive] Error 1
make[5]: Leaving directory '/home/mangix/devstuff/openwrt/build_dir/hostpkg/json-c-0.12.1'
make[4]: *** [Makefile:437: all] Error 2
make[4]: Leaving directory '/home/mangix/devstuff/openwrt/build_dir/hostpkg/json-c-0.12.1'
make[3]: *** [Makefile:61: /home/mangix/devstuff/openwrt/build_dir/hostpkg/json-c-0.12.1/.built] Error 2
make[3]: Leaving directory '/home/mangix/devstuff/openwrt/package/libs/libjson-c'
Command exited with non-zero status 2
time: package/libs/libjson-c/host-compile#0.57#0.16#0.74
make[2]: *** [package/Makefile:107: package/libs/libjson-c/host/compile] Error 2
make[2]: Leaving directory '/home/mangix/devstuff/openwrt'
make[1]: *** [package/Makefile:103: /home/mangix/devstuff/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/mangix/devstuff/openwrt'
make: *** [/home/mangix/devstuff/openwrt/include/toplevel.mk:218: world] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment