#19187: json-c-0.12 compilation error
-------------------------------+----------------------------------
 Reporter:  Damian Kaczkowski  |      Owner:  developers
     Type:  defect             |     Status:  new
 Priority:  high               |  Milestone:  Chaos Calmer (trunk)
Component:  packages           |    Version:  Trunk
 Keywords:                     |
-------------------------------+----------------------------------
 using openwrt external toolchain

 btw. also I spot this: configure: WARNING: unrecognized options:
 --disable-nls, --disable-ipv6


 {{{
 :~/owrt/150315b/openwrt$ make package/libjson-c/compile V=s
 make[1]: Entering directory `/home/dk3/owrt/150315b/openwrt'
 make[2]: Entering directory
 `/home/dk3/owrt/150315b/openwrt/package/libs/toolchain'
 if [ -f /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libc" >>
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 if [ -f /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >>
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 if [ -f /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/pkginfo/toolchain.default.install.clean ]; then rm -f
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >>
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/pkginfo/toolchain.default.install
 make[2]: Leaving directory
 `/home/dk3/owrt/150315b/openwrt/package/libs/toolchain'
 make[2]: Entering directory
 `/home/dk3/owrt/150315b/openwrt/package/libs/libjson-c'
 mkdir -p /opt/cross/openwrt/dl
 /home/dk3/owrt/150315b/openwrt/scripts/download.pl "/opt/cross/openwrt/dl"
 "json-c-0.12.tar.gz" "3ca4bbb881dfc4017e8021b5e0a8c491"
 "https://s3.amazonaws.com/json-c_releases/releases/";
 --2015-03-15 18:55:22--  https://s3.amazonaws.com/json-
 c_releases/releases/json-c-0.12.tar.gz
 Resolving s3.amazonaws.com (s3.amazonaws.com)... 54.231.18.224
 Connecting to s3.amazonaws.com (s3.amazonaws.com)|54.231.18.224|:443...
 connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 501419 (490K) [application/x-gzip]
 Saving to: `STDOUT'

      0K .......... .......... .......... .......... .......... 10%  190K
 2s
     50K .......... .......... .......... .......... .......... 20%  364K
 2s
    100K .......... .......... .......... .......... .......... 30%  380K
 1s
    150K .......... .......... .......... .......... .......... 40%  362K
 1s
    200K .......... .......... .......... .......... .......... 51% 5.22M
 1s
    250K .......... .......... .......... .......... .......... 61%  378K
 1s
    300K .......... .......... .......... .......... .......... 71%  394K
 0s
    350K .......... .......... .......... .......... .......... 81% 4.80M
 0s
    400K .......... .......... .......... .......... .......... 91% 6.23M
 0s
    450K .......... .......... .......... .........            100%
 6.76M=1.0s

 2015-03-15 18:55:24 (509 KB/s) - written to stdout [501419/501419]

 . /home/dk3/owrt/150315b/openwrt/include/shell.sh; gzip -dc
 /opt/cross/openwrt/dl/json-c-0.12.tar.gz | tar -C
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/.. -xf -

 Applying ./patches/000-libm.patch using plaintext:
 patching file configure.ac
 patching file math_compat.h
 touch /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/.prepared_037d02634dce31315d059908b4f084bd
 (cd /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f
 ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; [
 -e ./config.rpath ] || ln -s
 /home/dk3/owrt/150315b/openwrt/scripts/config.rpath ./config.rpath; touch
 NEWS AUTHORS COPYING ABOUT-NLS ChangeLog;
 AUTOM4TE=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autom4te
 AUTOCONF=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autoconf
 AUTOMAKE=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/automake
 ACLOCAL=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/aclocal
 AUTOHEADER=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autoheader
 LIBTOOLIZE=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/libtoolize
 LIBTOOL=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/libtool
 M4=/home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s
 -B /home/dk3/owrt/150315b/openwrt/staging_dir/host/share/aclocal -I
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/host/share/aclocal -I /home/dk3/owrt/150315b/openwrt/staging_dir
 /target-mips-openwrt-linux-uclibc/usr/share/aclocal -I m4 -I . . || true;
 fi; );
 autoreconf: Entering directory `.'
 autoreconf: configure.ac: not using Gettext
 autoreconf: running:
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/aclocal -I
 /home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/host/share/aclocal -I /home/dk3/owrt/150315b/openwrt/staging_dir
 /target-mips-openwrt-linux-uclibc/usr/share/aclocal -I m4 -I . --force
 autoreconf: configure.ac: tracing
 autoreconf: running:
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/libtoolize --force
 OpenWrt-libtoolize: putting auxiliary files in `.'.
 OpenWrt-libtoolize: linking file `./ltmain.sh'
 OpenWrt-libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
 configure.ac and
 OpenWrt-libtoolize: rerunning libtoolize, to keep the correct libtool
 macros in-tree.
 OpenWrt-libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in
 Makefile.am.
 autoreconf: running:
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autoconf
 --include=/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/host/share/aclocal
 --include=/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/usr/share/aclocal --include=m4 --include=. --prepend-
 include=/home/dk3/owrt/150315b/openwrt/staging_dir/host/share/aclocal
 --force
 autoreconf: running:
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/autoheader
 --include=/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/host/share/aclocal
 --include=/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-
 linux-uclibc/usr/share/aclocal --include=m4 --include=. --prepend-
 include=/home/dk3/owrt/150315b/openwrt/staging_dir/host/share/aclocal
 --force
 autoreconf: running:
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/automake --add-missing
 --force-missing
 autoreconf: Leaving directory `.'
 (cd /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/./; if [ -x ./configure ]; then find
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/ -name config.guess | xargs -r chmod u+w; find
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/ -name config.guess | xargs -r -n1 cp --remove-
 destination /home/dk3/owrt/150315b/openwrt/scripts/config.guess; find
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/ -name config.sub | xargs -r chmod u+w; find
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/ -name config.sub | xargs -r -n1 cp --remove-
 destination /home/dk3/owrt/150315b/openwrt/scripts/config.sub; AR="mips-
 openwrt-linux-ar" AS="mips-openwrt-linux-gcc -c -Os -pipe -mno-branch-
 likely -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -fpic" LD
 =mips-openwrt-linux-ld NM="mips-openwrt-linux-nm" CC="mips-openwrt-linux-
 gcc" GCC="mips-openwrt-linux-gcc" CXX="mips-openwrt-linux-g++" RANLIB
 ="mips-openwrt-linux-ranlib" STRIP=mips-openwrt-linux-strip OBJCOPY=mips-
 openwrt-linux-objcopy OBJDUMP=mips-openwrt-linux-objdump SIZE=mips-
 openwrt-linux-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic "
 CPPFLAGS="-I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-
 openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include " LDFLAGS="-L/home/dk3/owrt/150315b/openwrt/staging_dir
 /target-mips-openwrt-linux-uclibc/usr/lib
 -L/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib
 -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib "   ./configure
 --target=mips-openwrt-linux-uclibc --host=mips-openwrt-linux-uclibc
 --build=x86_64-linux-gnu --program-prefix="" --program-suffix=""
 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
 --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
 --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls
 --disable-ipv6 ; fi; )
 configure: WARNING: unrecognized options: --disable-nls, --disable-ipv6
 configure: loading site script /home/dk3/owrt/150315b/openwrt/include/site
 /mips-openwrt-linux-uclibc
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for mips-openwrt-linux-uclibc-strip... mips-openwrt-linux-strip
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether make sets $(MAKE)... (cached) yes
 RDRAND Hardware RNG Hash Seed disabled. Use --enable-rdrand to enable
 checking for style of include used by make... GNU
 checking for mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... yes
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether mips-openwrt-linux-gcc accepts -g... yes
 checking for mips-openwrt-linux-gcc option to accept ISO C89... none
 needed
 checking whether mips-openwrt-linux-gcc understands -c and -o together...
 yes
 checking dependency style of mips-openwrt-linux-gcc... gcc3
 checking how to run the C preprocessor... mips-openwrt-linux-gcc -E
 checking for grep that handles long lines and -e...
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/grep
 checking for egrep...
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking fcntl.h usability... yes
 checking fcntl.h presence... yes
 checking for fcntl.h... yes
 checking limits.h usability... yes
 checking limits.h presence... yes
 checking for limits.h... yes
 checking for strings.h... (cached) yes
 checking syslog.h usability... yes
 checking syslog.h presence... yes
 checking for syslog.h... yes
 checking for unistd.h... (cached) yes
 checking sys/cdefs.h usability... yes
 checking sys/cdefs.h presence... yes
 checking for sys/cdefs.h... yes
 checking sys/param.h usability... yes
 checking sys/param.h presence... yes
 checking for sys/param.h... yes
 checking stdarg.h usability... yes
 checking stdarg.h presence... yes
 checking for stdarg.h... yes
 checking locale.h usability... yes
 checking locale.h presence... yes
 checking for locale.h... yes
 checking endian.h usability... yes
 checking endian.h presence... yes
 checking for endian.h... yes
 checking for inttypes.h... (cached) yes
 checking for an ANSI C-conforming const... yes
 checking for size_t... yes
 checking for vprintf... yes
 checking for _doprnt... no
 checking for working memcmp... (cached) yes
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible malloc... (cached) yes
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible realloc... (cached) yes
 checking for strcasecmp... yes
 checking for strdup... yes
 checking for strerror... (cached) yes
 checking for snprintf... yes
 checking for vsnprintf... (cached) yes
 checking for vasprintf... yes
 checking for open... yes
 checking for vsyslog... yes
 checking for strncasecmp... yes
 checking for setlocale... (cached) yes
 checking if .gnu.warning accepts long strings... no
 checking build system type... x86_64-pc-linux-gnu
 checking host system type... mips-openwrt-linux-uclibc
 checking how to print strings... printf
 checking for a sed that does not truncate output...
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/sed
 checking for fgrep...
 /home/dk3/owrt/150315b/openwrt/staging_dir/host/bin/grep -F
 checking for ld used by mips-openwrt-linux-gcc... mips-openwrt-linux-ld
 checking if the linker (mips-openwrt-linux-ld) is GNU ld... yes
 checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-
 nm
 checking the name lister (mips-openwrt-linux-nm) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments...
 3458764513820540925
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... yes
 checking how to convert x86_64-pc-linux-gnu file names to mips-openwrt-
 linux-uclibc format... func_convert_file_noop
 checking how to convert x86_64-pc-linux-gnu file names to toolchain
 format... func_convert_file_noop
 checking for mips-openwrt-linux-ld option to reload object files... -r
 checking for mips-openwrt-linux-uclibc-objdump... mips-openwrt-linux-
 objdump
 checking how to recognize dependent libraries... pass_all
 checking for mips-openwrt-linux-uclibc-dlltool... no
 checking for dlltool... no
 checking how to associate runtime and link libraries... printf %s\n
 checking for mips-openwrt-linux-uclibc-ar... mips-openwrt-linux-ar
 checking for archiver @FILE support... @
 checking for mips-openwrt-linux-uclibc-strip... (cached) mips-openwrt-
 linux-strip
 checking for mips-openwrt-linux-uclibc-ranlib... mips-openwrt-linux-ranlib
 checking command to parse mips-openwrt-linux-nm output from mips-openwrt-
 linux-gcc object... ok
 checking for sysroot... no
 checking for mips-openwrt-linux-uclibc-mt... no
 checking for mt... mt
 configure: WARNING: using cross tools not prefixed with host triplet
 checking if mt is a manifest tool... no
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if mips-openwrt-linux-gcc supports -fno-rtti -fno-exceptions...
 no
 checking for mips-openwrt-linux-gcc option to produce PIC... -fPIC -DPIC
 checking if mips-openwrt-linux-gcc PIC flag -fPIC -DPIC works... yes
 checking if mips-openwrt-linux-gcc static flag -static works... yes
 checking if mips-openwrt-linux-gcc supports -c -o file.o... yes
 checking if mips-openwrt-linux-gcc supports -c -o file.o... (cached) yes
 checking whether the mips-openwrt-linux-gcc linker (mips-openwrt-linux-ld)
 supports shared libraries... yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for -Bsymbolic-functions linker flag... yes
 checking that generated files are newer than configure... done
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating json-c.pc
 config.status: creating tests/Makefile
 config.status: creating json-c-uninstalled.pc
 config.status: creating config.h
 config.status: creating json_config.h
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --disable-nls, --disable-ipv6
 rm -f /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/.configured_
 touch /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/.configured_
 CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-
 saves -msoft-float -mips16 -minterlink-mips16 -fpic
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include " CXXFLAGS="-Os -pipe -mno-branch-likely
 -mips32r2 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-
 mips16 -fpic  -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-
 openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include " LDFLAGS="-L/home/dk3/owrt/150315b/openwrt/staging_dir
 /target-mips-openwrt-linux-uclibc/usr/lib
 -L/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/lib -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/usr/lib
 -L/opt/cross/openwrt/toolchains/toolchain-mips_34kc/lib " make -j1 -C
 /home/dk3/owrt/150315b/openwrt/build_dir/target-mips-openwrt-linux-
 uclibc/json-c-0.12/. AR="mips-openwrt-linux-ar" AS="mips-openwrt-linux-gcc
 -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
 -msoft-float -fpic" LD=mips-openwrt-linux-ld NM="mips-openwrt-linux-nm" CC
 ="mips-openwrt-linux-gcc" GCC="mips-openwrt-linux-gcc" CXX="mips-openwrt-
 linux-g++" RANLIB="mips-openwrt-linux-ranlib" STRIP=mips-openwrt-linux-
 strip OBJCOPY=mips-openwrt-linux-objcopy OBJDUMP=mips-openwrt-linux-
 objdump SIZE=mips-openwrt-linux-size CROSS="mips-openwrt-linux-"
 ARCH="mips" ;
 make[3]: Entering directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 make  all-recursive
 make[4]: Entering directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 Making all in .
 make[5]: Entering directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT
 arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c -o arraylist.lo
 arraylist.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c
 -fPIC -DPIC -o .libs/arraylist.o
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c -o
 arraylist.o >/dev/null 2>&1
 mv -f .deps/arraylist.Tpo .deps/arraylist.Plo
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT debug.lo
 -MD -MP -MF .deps/debug.Tpo -c -o debug.lo debug.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c  -fPIC -DPIC -o
 .libs/debug.o
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -o debug.o
 >/dev/null 2>&1
 mv -f .deps/debug.Tpo .deps/debug.Plo
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT
 json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c -o
 json_c_version.lo json_c_version.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c
 json_c_version.c  -fPIC -DPIC -o .libs/json_c_version.o
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c
 json_c_version.c -o json_c_version.o >/dev/null 2>&1
 mv -f .deps/json_c_version.Tpo .deps/json_c_version.Plo
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT
 json_object.lo -MD -MP -MF .deps/json_object.Tpo -c -o json_object.lo
 json_object.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c
 json_object.c  -fPIC -DPIC -o .libs/json_object.o
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c
 json_object.c -o json_object.o >/dev/null 2>&1
 mv -f .deps/json_object.Tpo .deps/json_object.Plo
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT
 json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c -o
 json_object_iterator.lo json_object_iterator.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_object_iterator.lo -MD -MP -MF
 .deps/json_object_iterator.Tpo -c json_object_iterator.c  -fPIC -DPIC -o
 .libs/json_object_iterator.o
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_object_iterator.lo -MD -MP -MF
 .deps/json_object_iterator.Tpo -c json_object_iterator.c -o
 json_object_iterator.o >/dev/null 2>&1
 mv -f .deps/json_object_iterator.Tpo .deps/json_object_iterator.Plo
 /bin/bash ./libtool  --tag=CC   --mode=compile mips-openwrt-linux-gcc
 -DHAVE_CONFIG_H -I.   -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/usr/include
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/usr/include -I/opt/cross/openwrt/toolchains/toolchain-
 mips_34kc/include  -Wall -Werror -Wno-error=deprecated-declarations
 -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE
 -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-
 caller-saves -msoft-float -mips16 -minterlink-mips16 -fpic  -MT
 json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c -o json_tokener.lo
 json_tokener.c
 OpenWrt-libtool: compile:  mips-openwrt-linux-gcc -DHAVE_CONFIG_H -I.
 -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-mips-openwrt-linux-
 uclibc/usr/include -I/home/dk3/owrt/150315b/openwrt/staging_dir/target-
 mips-openwrt-linux-uclibc/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/usr/include -I/opt/cross/openwrt/toolchains
 /toolchain-mips_34kc/include -Wall -Werror -Wno-error=deprecated-
 declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99
 -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2
 -mtune=34kc -fno-caller-saves -msoft-float -mips16 -minterlink-mips16
 -fpic -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c
 json_tokener.c  -fPIC -DPIC -o .libs/json_tokener.o
 json_tokener.c: In function 'json_tokener_parse_ex':
 json_tokener.c:355:6: error: variable 'size' set but not used [-Werror
 =unused-but-set-variable]
   int size;
       ^
 cc1: all warnings being treated as errors
 make[5]: *** [json_tokener.lo] Error 1
 make[5]: Leaving directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory `/home/dk3/owrt/150315b/openwrt/build_dir
 /target-mips-openwrt-linux-uclibc/json-c-0.12'
 make[2]: *** [/home/dk3/owrt/150315b/openwrt/build_dir/target-mips-
 openwrt-linux-uclibc/json-c-0.12/.built] Error 2
 make[2]: Leaving directory
 `/home/dk3/owrt/150315b/openwrt/package/libs/libjson-c'
 make[1]: *** [package/libs/libjson-c/compile] Error 2
 make[1]: Leaving directory `/home/dk3/owrt/150315b/openwrt'
 make: *** [package/libjson-c/compile] Error 2
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19187>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to