Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-426518-72790/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2409be73951477093a7989dbc24e17a', '-D', '/var/lib/mock/dist-an7-els-build-426518-72790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/iperf3-3.1.7-3.an7.1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-426518-72790/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55981095c61f4a45a7b08538db368192', '-D', '/var/lib/mock/dist-an7-els-build-426518-72790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ul6TCO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iperf-3.1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/iperf-3.1.7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd iperf-3.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-cve-2023-38403.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-fix-cve-CVE-2024-53580.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-fix-cve-CVE-2024-53580.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O2vzM7 + umask 022 + cd /builddir/build/BUILD + cd iperf-3.1.7 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking for x86_64-Anolis-linux-gcc... no checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 ANSI C header files... (cached) yes checking for library containing floor... -lm checking for library containing nanosleep... none required checking for library containing hstrerror... none required checking for library containing socket... none required checking for library containing inet_ntop... none required checking for an ANSI C-conforming const... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for netinet/sctp.h... no checking TCP_CONGESTION socket option... yes checking IPv6 flowlabel support... yes checking for cpuset_setaffinity... no checking for sched_setaffinity... yes checking for sendfile... yes checking SO_MAX_PACING_RATE socket option... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/version.h config.status: creating examples/Makefile config.status: creating iperf3.spec config.status: creating src/iperf_config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j80 Making all in src make[1]: Entering directory `/builddir/build/BUILD/iperf-3.1.7/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/iperf-3.1.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o cjson.lo cjson.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_api.lo iperf_api.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_error.lo iperf_error.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_client_api.lo iperf_client_api.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_locale.lo iperf_locale.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_server_api.lo iperf_server_api.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_tcp.lo iperf_tcp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_udp.lo iperf_udp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_sctp.lo iperf_sctp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf_util.lo iperf_util.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o net.lo net.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o tcp_info.lo tcp_info.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o tcp_window_size.lo tcp_window_size.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o timer.lo timer.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o units.lo units.c gcc -DHAVE_CONFIG_H -I. -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o t_timer-t_timer.o `test -f 't_timer.c' || echo './'`t_timer.c gcc -DHAVE_CONFIG_H -I. -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o t_units-t_units.o `test -f 't_units.c' || echo './'`t_units.c gcc -DHAVE_CONFIG_H -I. -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o t_uuid-t_uuid.o `test -f 't_uuid.c' || echo './'`t_uuid.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-cjson.o `test -f 'cjson.c' || echo './'`cjson.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_api.o `test -f 'iperf_api.c' || echo './'`iperf_api.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_error.o `test -f 'iperf_error.c' || echo './'`iperf_error.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_client_api.o `test -f 'iperf_client_api.c' || echo './'`iperf_client_api.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_locale.o `test -f 'iperf_locale.c' || echo './'`iperf_locale.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_server_api.o `test -f 'iperf_server_api.c' || echo './'`iperf_server_api.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_tcp.o `test -f 'iperf_tcp.c' || echo './'`iperf_tcp.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_udp.o `test -f 'iperf_udp.c' || echo './'`iperf_udp.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_sctp.o `test -f 'iperf_sctp.c' || echo './'`iperf_sctp.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-iperf_util.o `test -f 'iperf_util.c' || echo './'`iperf_util.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-net.o `test -f 'net.c' || echo './'`net.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-tcp_info.o `test -f 'tcp_info.c' || echo './'`tcp_info.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-tcp_window_size.o `test -f 'tcp_window_size.c' || echo './'`tcp_window_size.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-timer.o `test -f 'timer.c' || echo './'`timer.c gcc -DHAVE_CONFIG_H -I. -pg -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c -o iperf3_profile-units.o `test -f 'units.c' || echo './'`units.c In file included from iperf.h:48:0, from units.c:66: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from t_units.c:34: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [iperf3_profile-units.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from iperf.h:48:0, from iperf_error.c:33: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf_util.h:30:0, from t_uuid.c:32: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from tcp_info.c:56: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [t_units-t_units.o] Error 1 cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_udp.c:42: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ In file included from iperf.h:48:0, from main.c:49: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_sctp.c:46: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ In file included from cjson.c:37:0: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ In file included from iperf.h:48:0, from iperf_tcp.c:42: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [t_uuid-t_uuid.o] Error 1 In file included from iperf.h:48:0, from iperf_client_api.c:40: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from main.c:49: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ In file included from iperf.h:48:0, from iperf_server_api.c:53: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [iperf3_profile-iperf_error.o] Error 1 cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [iperf3_profile-tcp_info.o] Error 1 make[2]: *** [iperf3_profile-iperf_sctp.o] Error 1 cjson.c:777:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsNumber': make[2]: *** [iperf3-main.o] Error 1 In file included from iperf_util.c:47:0: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.c:781:16: error: 'false' undeclared (first use in this function) return false; ^ cjson.c:781:16: note: each undeclared identifier is reported only once for each function it appears in cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ In file included from cjson.c:37:0: cjson.c: At top level: cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.c:787:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.c: In function 'cJSON_IsBool': cjson.c:791:16: error: 'false' undeclared (first use in this function) return false; ^ In file included from cjson.c:37:0: cjson.c: At top level: iperf_server_api.c: In function 'iperf_run_server': cjson.c:797:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsArray': iperf_server_api.c:531:8: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(s, IPPROTO_TCP, TCP_CONGESTION, ca, &len) < 0) { ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf_server_api.c:38:0: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ cjson.c:801:16: error: 'false' undeclared (first use in this function) return false; ^ make[2]: *** [iperf3_profile-iperf_udp.o] Error 1 In file included from cjson.c:37:0: cjson.c: At top level: cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c:807:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsString': cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c:811:16: error: 'false' undeclared (first use in this function) return false; ^ make[2]: *** [iperf3_profile-main.o] Error 1 iperf_util.c: In function 'iperf_cJSON_GetObjectItemType': iperf_util.c:390:17: warning: implicit declaration of function 'iperf_err' [-Wimplicit-function-declaration] iperf_err(NULL, "iperf_cJSON_GetObjectItemType mismatch %s", item_string); ^ In file included from iperf.h:48:0, from iperf_api.c:65: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ In file included from iperf_util.h:30:0, from net.c:59: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ make[2]: *** [iperf3_profile-iperf_tcp.o] Error 1 cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [iperf3_profile-iperf_client_api.o] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_tcp.c -fPIC -DPIC -o .libs/iperf_tcp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_api.c -fPIC -DPIC -o .libs/iperf_api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_error.c -fPIC -DPIC -o .libs/iperf_error.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_util.c -fPIC -DPIC -o .libs/iperf_util.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_locale.c -fPIC -DPIC -o .libs/iperf_locale.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c timer.c -fPIC -DPIC -o .libs/timer.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c tcp_info.c -fPIC -DPIC -o .libs/tcp_info.o make[2]: *** [iperf3_profile-iperf_server_api.o] Error 1 make[2]: *** [iperf3_profile-iperf_util.o] Error 1 make[2]: *** [iperf3_profile-cjson.o] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c tcp_window_size.c -fPIC -DPIC -o .libs/tcp_window_size.o make[2]: *** [iperf3_profile-net.o] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_server_api.c -fPIC -DPIC -o .libs/iperf_server_api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_client_api.c -fPIC -DPIC -o .libs/iperf_client_api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c units.c -fPIC -DPIC -o .libs/units.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_locale.c -o iperf_locale.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cjson.c -fPIC -DPIC -o .libs/cjson.o iperf_api.c: In function 'diskfile_recv': iperf_api.c:2936:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(sp->diskfile_fd, sp->buffer, r); ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_udp.c -fPIC -DPIC -o .libs/iperf_udp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c net.c -fPIC -DPIC -o .libs/net.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c iperf_sctp.c -fPIC -DPIC -o .libs/iperf_sctp.o make[2]: *** [iperf3_profile-iperf_api.o] Error 1 In file included from iperf.h:48:0, from iperf_error.c:33: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_tcp.c:42: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ In file included from iperf_util.c:47:0: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ iperf_util.c: In function 'iperf_cJSON_GetObjectItemType': iperf_util.c:390:17: warning: implicit declaration of function 'iperf_err' [-Wimplicit-function-declaration] iperf_err(NULL, "iperf_cJSON_GetObjectItemType mismatch %s", item_string); ^ In file included from iperf.h:48:0, from tcp_info.c:56: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c tcp_window_size.c -o tcp_window_size.o >/dev/null 2>&1 cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from units.c:66: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ make[2]: *** [iperf_error.lo] Error 1 make[2]: *** [iperf_util.lo] Error 1 make[2]: *** [tcp_info.lo] Error 1 make[2]: *** [iperf_tcp.lo] Error 1 make[2]: *** [units.lo] Error 1 In file included from iperf.h:48:0, from iperf_api.c:65: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_server_api.c:53: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_client_api.c:40: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ iperf_server_api.c: In function 'iperf_run_server': iperf_server_api.c:531:8: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(s, IPPROTO_TCP, TCP_CONGESTION, ca, &len) < 0) { ^ In file included from iperf_server_api.c:38:0: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ In file included from cjson.c:37:0: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf_util.h:30:0, from net.c:59: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ In file included from iperf.h:48:0, from iperf_udp.c:42: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ In file included from iperf.h:48:0, from iperf_sctp.c:46: cjson.h:44:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:43:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) type CJSON_STDCALL ^ cjson.h:45:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:44:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL ^ cjson.h:46:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:45:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL ^ cjson.h:47:0: warning: "CJSON_PUBLIC" redefined [enabled by default] #define CJSON_PUBLIC(type) type ^ cjson.h:46:0: note: this is the location of the previous definition #define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type ^ cjson.h:138:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:139:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:140:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.h:141:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c:777:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsNumber': cjson.c:781:16: error: 'false' undeclared (first use in this function) return false; ^ cjson.c:781:16: note: each undeclared identifier is reported only once for each function it appears in In file included from cjson.c:37:0: cjson.c: At top level: cjson.c:787:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsBool': cjson.c:791:16: error: 'false' undeclared (first use in this function) return false; ^ In file included from cjson.c:37:0: cjson.c: At top level: cjson.c:797:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsArray': cjson.c:801:16: error: 'false' undeclared (first use in this function) return false; ^ In file included from cjson.c:37:0: cjson.c: At top level: make[2]: *** [iperf_server_api.lo] Error 1 cjson.c:807:14: error: unknown type name 'cJSON_bool' CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item) ^ cjson.h:47:28: note: in definition of macro 'CJSON_PUBLIC' #define CJSON_PUBLIC(type) type ^ cjson.c: In function 'cJSON_IsString': cjson.c:811:16: error: 'false' undeclared (first use in this function) return false; ^ make[2]: *** [iperf_client_api.lo] Error 1 make[2]: *** [net.lo] Error 1 make[2]: *** [iperf_sctp.lo] Error 1 make[2]: *** [iperf_udp.lo] Error 1 make[2]: *** [cjson.lo] Error 1 iperf_api.c: In function 'diskfile_recv': iperf_api.c:2936:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(sp->diskfile_fd, sp->buffer, r); ^ make[2]: *** [iperf_api.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c timer.c -o timer.o >/dev/null 2>&1 make[2]: Leaving directory `/builddir/build/BUILD/iperf-3.1.7/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/iperf-3.1.7/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.O2vzM7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.O2vzM7 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 55981095c61f4a45a7b08538db368192 -D /var/lib/mock/dist-an7-els-build-426518-72790/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 55981095c61f4a45a7b08538db368192 -D /var/lib/mock/dist-an7-els-build-426518-72790/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qfclrea7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/iperf3.spec'