D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ncview-2.1.11-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l3OHgK sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P1FMyu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build + rm -rf ncview-2.1.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ncview-2.1.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ncview-2.1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ncview-2.1.2-fix-ldflag-linking.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/incompatible-pointer-types.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/format-overflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S8ssLK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ncview-2.1.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi -Im4macros autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:34: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.in:34: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.in:34: the top level configure.in:35: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:35: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:35: the top level configure.in:38: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:38: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:38: the top level autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:33: installing './compile' src/Makefile.am:21: warning: source file 'interface/interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibility. src/Makefile.am:21: warning: source file 'interface/x_interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/dataedit.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/display_info.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_xy.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/utils.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/printer_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/filesel.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/set_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/RadioWidget.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/cbar.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/colormap_funcs.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/make_tc_data.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:37: warning: variable 'AM_LIBADD' is defined but no program or src/Makefile.am:37: library has 'AM' as canonical name (possible typo) + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --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 --with-udunits2_incdir=/usr/include/udunits2 checking for nc-config... yes Netcdf library version: netCDF 4.9.2 Netcdf library has version 4 interface present: yes Netcdf library was compiled with C compiler: gcc checking for x86_64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for library containing strerror... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for the Athena widgets... checking for XtWindow in -lXt... yes checking for XawScrollbarSetThumb in -lXaw... yes checking for X11/Intrinsic.h... yes checking for X11/Xaw/Simple.h... yes X Athena widget (Xaw) libraries: -lXaw -lXt checking for X11 library... checking for XPutImage in -lX11... yes X11 libraries: -lX11 checking for /usr/include/udunits2/converter.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking for /usr/include/udunits2/udunits2.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking for ut_read_xml in -ludunits2... yes checking for expat library (required by udunits2)... checking for XML_GetBase in -lexpat... yes Expat libraries (needed by udunits2): -lexpat -L. -ludunits2 **************************************************************************** Udunits library version 2 support enabled. udunits2 dirs: include: /usr/include/udunits2 library: . libname: udunits2 **************************************************************************** checking for png.h... yes checking for png_write_png in -lpng... yes ac_computer_gnu: 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 config.h config.status: executing depfiles commands ----------- Configure Summary ---------- Compiler: CC = gcc Runtime path flags = -Wl,-rpath,/usr/lib64 UDUNITS: UDUNITS2_LIBS = -ludunits2 UDUNITS2_CPPFLAGS = -I/usr/include/udunits2 UDUNITS2_LDFLAGS = -L. -ludunits2 -lexpat -L. -ludunits2 NETCDF: VERSION = netCDF 4.9.2 COMPILER USED = gcc NETCDF_CPPFLAGS = -I/usr/include NETCDF_LDFLAGS = -L/usr/lib64 -lnetcdf NETCDF_V4 = yes X: X_CFLAGS = X11_LIBS = -lX11 XAW_LIBS = -lXaw -lXt X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = PNG: PNG_LIBS = -lpng PNG_CPPFLAGS = -I. PNG_LDFLAGS = -L. -lpng + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o geteuid.o geteuid.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o geteuid geteuid.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o set_options.o `test -f 'interface/set_options.c' || echo './'`interface/set_options.c interface/set_options.c:867:1: error: conflicting types for 'expose_cbsel_cbar'; have 'void(struct _WidgetRec *, void *, XExposeEvent *, Boolean *)' {aka 'void(struct _WidgetRec *, void *, XExposeEvent *, char *)'} 867 | expose_cbsel_cbar( Widget w, XtPointer client_data, XExposeEvent *event, Boolean *continue_to_dispatch ) | ^~~~~~~~~~~~~~~~~ interface/set_options.c:114:6: note: previous declaration of 'expose_cbsel_cbar' with type 'void(void)' 114 | void expose_cbsel_cbar (); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:637: set_options.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utils.o `test -f 'interface/utils.c' || echo './'`interface/utils.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o SciPlot.o SciPlot.c SciPlot.c:142:36: error: initialization of 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 142 | /* initialize */ Initialize, | ^~~~~~~~~~ SciPlot.c:142:36: note: (near initialization for 'sciplotClassRec.core_class.initialize') SciPlot.c:113:13: note: 'Initialize' declared here 113 | static void Initialize(); | ^~~~~~~~~~ SciPlot.c:154:36: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 154 | /* destroy */ Destroy, | ^~~~~~~ SciPlot.c:154:36: note: (near initialization for 'sciplotClassRec.core_class.destroy') SciPlot.c:114:13: note: 'Destroy' declared here 114 | static void Destroy(); | ^~~~~~~ SciPlot.c:155:36: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 155 | /* resize */ Resize, | ^~~~~~ SciPlot.c:155:36: note: (near initialization for 'sciplotClassRec.core_class.resize') SciPlot.c:111:13: note: 'Resize' declared here 111 | static void Resize(); | ^~~~~~ SciPlot.c:156:36: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, struct _XRegion *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 156 | /* expose */ Redisplay, | ^~~~~~~~~ SciPlot.c:156:36: note: (near initialization for 'sciplotClassRec.core_class.expose') SciPlot.c:110:13: note: 'Redisplay' declared here 110 | static void Redisplay(); | ^~~~~~~~~ SciPlot.c:157:36: error: initialization of 'Boolean (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'char (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'Boolean (*)(void)' {aka 'char (*)(void)'} [-Wincompatible-pointer-types] 157 | /* set_values */ SetValues, | ^~~~~~~~~ SciPlot.c:157:36: note: (near initialization for 'sciplotClassRec.core_class.set_values') SciPlot.c:112:16: note: 'SetValues' declared here 112 | static Boolean SetValues(); | ^~~~~~~~~ SciPlot.c: In function 'Initialize': SciPlot.c:207:1: warning: old-style function definition [-Wold-style-definition] 207 | Initialize(treq,tnew,args,num) | ^~~~~~~~~~ SciPlot.c:252:35: error: too many arguments to function 'ColorStore'; expected 0, have 2 252 | new->plot.BackgroundColor=ColorStore(new,values.background); | ^~~~~~~~~~ ~~~ SciPlot.c:123:12: note: declared here 123 | static int ColorStore(); | ^~~~~~~~~~ SciPlot.c:257:35: error: too many arguments to function 'ColorStore'; expected 0, have 2 257 | new->plot.ForegroundColor=ColorStore(new,values.foreground); | ^~~~~~~~~~ ~~~ SciPlot.c:123:12: note: declared here 123 | static int ColorStore(); | ^~~~~~~~~~ SciPlot.c:266:29: error: too many arguments to function 'FontStore'; expected 0, have 2 266 | new->plot.titleFont=FontStore(new,new->plot.TitleFont); | ^~~~~~~~~ ~~~ SciPlot.c:124:12: note: declared here 124 | static int FontStore(); | ^~~~~~~~~ SciPlot.c:267:29: error: too many arguments to function 'FontStore'; expected 0, have 2 267 | new->plot.labelFont=FontStore(new,new->plot.LabelFont); | ^~~~~~~~~ ~~~ SciPlot.c:124:12: note: declared here 124 | static int FontStore(); | ^~~~~~~~~ SciPlot.c:268:28: error: too many arguments to function 'FontStore'; expected 0, have 2 268 | new->plot.axisFont=FontStore(new,new->plot.AxisFont); | ^~~~~~~~~ ~~~ SciPlot.c:124:12: note: declared here 124 | static int FontStore(); | ^~~~~~~~~ SciPlot.c: In function 'Destroy': SciPlot.c:272:1: warning: old-style function definition [-Wold-style-definition] 272 | Destroy(w) | ^~~~~~~ SciPlot.c:301:9: error: too many arguments to function 'EraseAll'; expected 0, have 1 301 | EraseAll(w); | ^~~~~~~~ ~ SciPlot.c:121:13: note: declared here 121 | static void EraseAll(); | ^~~~~~~~ SciPlot.c: In function 'SetValues': SciPlot.c:306:1: warning: old-style function definition [-Wold-style-definition] 306 | SetValues(current, request, new, args, nargs) | ^~~~~~~~~ SciPlot.c:348:17: error: too many arguments to function 'FontnumReplace'; expected 0, have 3 348 | FontnumReplace(new,new->plot.axisFont,new->plot.AxisFont); | ^~~~~~~~~~~~~~ ~~~ SciPlot.c:125:12: note: declared here 125 | static int FontnumReplace(); | ^~~~~~~~~~~~~~ SciPlot.c:352:17: error: too many arguments to function 'FontnumReplace'; expected 0, have 3 352 | FontnumReplace(new,new->plot.titleFont,new->plot.TitleFont); | ^~~~~~~~~~~~~~ ~~~ SciPlot.c:125:12: note: declared here 125 | static int FontnumReplace(); | ^~~~~~~~~~~~~~ SciPlot.c:356:17: error: too many arguments to function 'FontnumReplace'; expected 0, have 3 356 | FontnumReplace(new,new->plot.labelFont,new->plot.LabelFont); | ^~~~~~~~~~~~~~ ~~~ SciPlot.c:125:12: note: declared here 125 | static int FontnumReplace(); | ^~~~~~~~~~~~~~ SciPlot.c: In function 'Redisplay': SciPlot.c:364:13: warning: old-style function definition [-Wold-style-definition] 364 | static void Redisplay(w) | ^~~~~~~~~ SciPlot.c:368:17: error: too many arguments to function 'Resize'; expected 0, have 1 368 | Resize(w); | ^~~~~~ ~ SciPlot.c:111:13: note: declared here 111 | static void Resize(); | ^~~~~~ SciPlot.c:372:17: error: too many arguments to function 'ItemDrawAll'; expected 0, have 1 372 | ItemDrawAll(w); | ^~~~~~~~~~~ ~ SciPlot.c:119:13: note: declared here 119 | static void ItemDrawAll(); | ^~~~~~~~~~~ SciPlot.c: In function 'Resize': SciPlot.c:376:13: warning: old-style function definition [-Wold-style-definition] 376 | static void Resize(w) | ^~~~~~ SciPlot.c:379:9: error: too many arguments to function 'EraseAll'; expected 0, have 1 379 | EraseAll(w); | ^~~~~~~~ ~ SciPlot.c:121:13: note: declared here 121 | static void EraseAll(); | ^~~~~~~~ SciPlot.c:380:9: error: too many arguments to function 'ComputeAll'; expected 0, have 1 380 | ComputeAll(w); | ^~~~~~~~~~ ~ SciPlot.c:116:13: note: declared here 116 | static void ComputeAll(); | ^~~~~~~~~~ SciPlot.c:381:9: error: too many arguments to function 'DrawAll'; expected 0, have 1 381 | DrawAll(w); | ^~~~~~~ ~ SciPlot.c:118:13: note: declared here 118 | static void DrawAll(); | ^~~~~~~ SciPlot.c: In function 'ColorStore': SciPlot.c:393:1: warning: old-style function definition [-Wold-style-definition] 393 | ColorStore(w,color) | ^~~~~~~~~~ SciPlot.c: In function 'FontnumStore': SciPlot.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | FontnumStore(w,fontnum,flag) | ^~~~~~~~~~~~ SciPlot.c:446:9: error: too many arguments to function 'FontInit'; expected 0, have 2 446 | FontInit(w,pf); | ^~~~~~~~ ~ SciPlot.c:122:13: note: declared here 122 | static void FontInit(); | ^~~~~~~~ SciPlot.c: In function 'FontnumReplace': SciPlot.c:450:1: warning: old-style function definition [-Wold-style-definition] 450 | FontnumReplace(w,fontnum,flag) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'FontStore': SciPlot.c:465:1: warning: old-style function definition [-Wold-style-definition] 465 | FontStore(w,flag) | ^~~~~~~~~ SciPlot.c: In function 'FontDescLookup': SciPlot.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | FontDescLookup(flag) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'FontnumPostScriptString': SciPlot.c:504:1: warning: old-style function definition [-Wold-style-definition] 504 | FontnumPostScriptString(w,fontnum,str,str_len) | ^~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'FontX11String': SciPlot.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | FontX11String(flag,str,slen) | ^~~~~~~~~~~~~ SciPlot.c: In function 'FontInit': SciPlot.c:569:1: warning: old-style function definition [-Wold-style-definition] 569 | FontInit(w,pf) | ^~~~~~~~ SciPlot.c: In function 'FontFromFontnum': SciPlot.c:644:2: warning: old-style function definition [-Wold-style-definition] 644 | *FontFromFontnum(w,fontnum) | ^~~~~~~~~~~~~~~ SciPlot.c: In function 'FontHeight': SciPlot.c:656:1: warning: old-style function definition [-Wold-style-definition] 656 | FontHeight(f) | ^~~~~~~~~~ SciPlot.c: In function 'FontnumHeight': SciPlot.c:663:1: warning: old-style function definition [-Wold-style-definition] 663 | FontnumHeight(w,fontnum) | ^~~~~~~~~~~~~ SciPlot.c: In function 'FontDescent': SciPlot.c:674:1: warning: old-style function definition [-Wold-style-definition] 674 | FontDescent(f) | ^~~~~~~~~~~ SciPlot.c: In function 'FontnumDescent': SciPlot.c:681:1: warning: old-style function definition [-Wold-style-definition] 681 | FontnumDescent(w,fontnum) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'FontAscent': SciPlot.c:692:1: warning: old-style function definition [-Wold-style-definition] 692 | FontAscent(f) | ^~~~~~~~~~ SciPlot.c: In function 'FontnumAscent': SciPlot.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | FontnumAscent(w,fontnum) | ^~~~~~~~~~~~~ SciPlot.c: In function 'FontTextWidth': SciPlot.c:710:1: warning: old-style function definition [-Wold-style-definition] 710 | FontTextWidth(f,c) | ^~~~~~~~~~~~~ SciPlot.c: In function 'FontnumTextWidth': SciPlot.c:718:1: warning: old-style function definition [-Wold-style-definition] 718 | FontnumTextWidth(w,fontnum,c) | ^~~~~~~~~~~~~~~~ SciPlot.c: In function 'ItemDrawAll': SciPlot.c:730:1: warning: old-style function definition [-Wold-style-definition] 730 | ItemDrawAll(w) | ^~~~~~~~~~~ SciPlot.c:740:17: error: too many arguments to function 'ItemDraw'; expected 0, have 2 740 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:120:13: note: declared here 120 | static void ItemDraw(); | ^~~~~~~~ SciPlot.c: In function 'XDrawVString': SciPlot.c:764:1: warning: old-style function definition [-Wold-style-definition] 764 | XDrawVString(display,win,gc,x,y,str,len,f) | ^~~~~~~~~~~~ SciPlot.c: In function 'ItemGetGC': SciPlot.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | ItemGetGC(w,item) | ^~~~~~~~~ SciPlot.c: In function 'ItemGetFontGC': SciPlot.c:903:1: warning: old-style function definition [-Wold-style-definition] 903 | ItemGetFontGC(w,item) | ^~~~~~~~~~~~~ SciPlot.c: In function 'ItemDraw': SciPlot.c:929:1: warning: old-style function definition [-Wold-style-definition] 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'ItemPSDrawAll': SciPlot.c:1087:1: warning: old-style function definition [-Wold-style-definition] 1087 | ItemPSDrawAll(w,fd,yflip) | ^~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotPSCreateFancy': SciPlot.c:1224:1: warning: old-style function definition [-Wold-style-definition] 1224 | SciPlotPSCreateFancy(w,filename,drawborder,titles) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotPSCreate': SciPlot.c:1338:1: warning: old-style function definition [-Wold-style-definition] 1338 | SciPlotPSCreate(wi,filename) | ^~~~~~~~~~~~~~~ SciPlot.c: In function 'EraseAll': SciPlot.c:1355:1: warning: old-style function definition [-Wold-style-definition] 1355 | EraseAll(w) | ^~~~~~~~ SciPlot.c: In function 'ItemGetNew': SciPlot.c:1375:1: warning: old-style function definition [-Wold-style-definition] 1375 | ItemGetNew(w) | ^~~~~~~~~~ SciPlot.c: In function 'LineSet': SciPlot.c:1400:1: warning: old-style function definition [-Wold-style-definition] 1400 | LineSet(w,x1,y1,x2,y2,color,style) | ^~~~~~~ SciPlot.c:1415:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1415 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'RectSet': SciPlot.c:1419:1: warning: old-style function definition [-Wold-style-definition] 1419 | RectSet(w,x1,y1,x2,y2,color,style) | ^~~~~~~ SciPlot.c:1440:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1440 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'FilledRectSet': SciPlot.c:1444:1: warning: old-style function definition [-Wold-style-definition] 1444 | FilledRectSet(w,x1,y1,x2,y2,color,style) | ^~~~~~~~~~~~~ SciPlot.c:1465:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1465 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'TriSet': SciPlot.c:1469:1: warning: old-style function definition [-Wold-style-definition] 1469 | TriSet(w,x1,y1,x2,y2,x3,y3,color,style) | ^~~~~~ SciPlot.c:1487:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1487 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'FilledTriSet': SciPlot.c:1491:1: warning: old-style function definition [-Wold-style-definition] 1491 | FilledTriSet(w,x1,y1,x2,y2,x3,y3,color,style) | ^~~~~~~~~~~~ SciPlot.c:1509:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1509 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'QuadSet': SciPlot.c:1513:1: warning: old-style function definition [-Wold-style-definition] 1513 | QuadSet(w,x1,y1,x2,y2,x3,y3,x4,y4,color,style) | ^~~~~~~ SciPlot.c:1533:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1533 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'FilledQuadSet': SciPlot.c:1537:1: warning: old-style function definition [-Wold-style-definition] 1537 | FilledQuadSet(w,x1,y1,x2,y2,x3,y3,x4,y4,color,style) | ^~~~~~~~~~~~~ SciPlot.c:1557:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1557 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'CircleSet': SciPlot.c:1561:1: warning: old-style function definition [-Wold-style-definition] 1561 | CircleSet(w,x,y,r,color,style) | ^~~~~~~~~ SciPlot.c:1575:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1575 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'FilledCircleSet': SciPlot.c:1579:1: warning: old-style function definition [-Wold-style-definition] 1579 | FilledCircleSet(w,x,y,r,color,style) | ^~~~~~~~~~~~~~~ SciPlot.c:1593:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1593 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'TextSet': SciPlot.c:1597:1: warning: old-style function definition [-Wold-style-definition] 1597 | TextSet(w,x,y,text,color,font) | ^~~~~~~ SciPlot.c:1615:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1615 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'TextCenter': SciPlot.c:1629:1: warning: old-style function definition [-Wold-style-definition] 1629 | TextCenter(w,x,y,text,color,font) | ^~~~~~~~~~ SciPlot.c: In function 'VTextSet': SciPlot.c:1641:1: warning: old-style function definition [-Wold-style-definition] 1641 | VTextSet(w,x,y,text,color,font) | ^~~~~~~~ SciPlot.c:1659:9: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1659 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'VTextCenter': SciPlot.c:1673:1: warning: old-style function definition [-Wold-style-definition] 1673 | VTextCenter(w,x,y,text,color,font) | ^~~~~~~~~~~ SciPlot.c: In function 'ClipSet': SciPlot.c:1685:1: warning: old-style function definition [-Wold-style-definition] 1685 | ClipSet(w) | ^~~~~~~ SciPlot.c:1707:17: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1707 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'ClipClear': SciPlot.c:1712:1: warning: old-style function definition [-Wold-style-definition] 1712 | ClipClear(w) | ^~~~~~~~~ SciPlot.c:1722:17: error: too many arguments to function 'ItemDraw'; expected 0, have 2 1722 | ItemDraw(w,item); | ^~~~~~~~ ~ SciPlot.c:929:1: note: declared here 929 | ItemDraw(w,item) | ^~~~~~~~ SciPlot.c: In function 'List_New': SciPlot.c:1733:1: warning: old-style function definition [-Wold-style-definition] 1733 | List_New(w) | ^~~~~~~~ SciPlot.c: In function 'List_Delete': SciPlot.c:1784:1: warning: old-style function definition [-Wold-style-definition] 1784 | List_Delete(p) | ^~~~~~~~~~~ SciPlot.c: In function 'List_Find': SciPlot.c:1796:1: warning: old-style function definition [-Wold-style-definition] 1796 | List_Find(w,id) | ^~~~~~~~~ SciPlot.c: In function 'List_SetStyle': SciPlot.c:1810:1: warning: old-style function definition [-Wold-style-definition] 1810 | List_SetStyle(p,pcolor,pstyle,lcolor,lstyle) | ^~~~~~~~~~~~~ SciPlot.c: In function 'List_SetLegend': SciPlot.c:1823:1: warning: old-style function definition [-Wold-style-definition] 1823 | List_SetLegend(p,legend) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'List_AllocData': SciPlot.c:1834:1: warning: old-style function definition [-Wold-style-definition] 1834 | List_AllocData(p,num) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'List_SetReal': SciPlot.c:1850:1: warning: old-style function definition [-Wold-style-definition] 1850 | List_SetReal(p,num,xlist,ylist) | ^~~~~~~~~~~~ SciPlot.c: In function 'List_SetFloat': SciPlot.c:1868:1: warning: old-style function definition [-Wold-style-definition] 1868 | List_SetFloat(p,num,xlist,ylist) | ^~~~~~~~~~~~~ SciPlot.c: In function 'List_SetDouble': SciPlot.c:1886:1: warning: old-style function definition [-Wold-style-definition] 1886 | List_SetDouble(p,num,xlist,ylist) | ^~~~~~~~~~~~~~ SciPlot.c: In function 'PlotX': SciPlot.c:1910:1: warning: old-style function definition [-Wold-style-definition] 1910 | PlotX(w,xin) | ^~~~~ SciPlot.c: In function 'PlotY': SciPlot.c:1927:1: warning: old-style function definition [-Wold-style-definition] 1927 | PlotY(w,yin) | ^~~~~ SciPlot.c: In function 'PlotRTRadians': SciPlot.c:1947:1: warning: old-style function definition [-Wold-style-definition] 1947 | PlotRTRadians(w,r,t,xout,yout) | ^~~~~~~~~~~~~ SciPlot.c: In function 'PlotRTDegrees': SciPlot.c:1958:1: warning: old-style function definition [-Wold-style-definition] 1958 | PlotRTDegrees(w,r,t,xout,yout) | ^~~~~~~~~~~~~ SciPlot.c: In function 'PlotRT': SciPlot.c:1967:1: warning: old-style function definition [-Wold-style-definition] 1967 | PlotRT(w,r,t,xout,yout) | ^~~~~~ SciPlot.c: In function 'ComputeAxis': SciPlot.c:1988:1: warning: old-style function definition [-Wold-style-definition] 1988 | ComputeAxis(axis,min,max,log) | ^~~~~~~~~~~ SciPlot.c: In function 'ComputeDrawingRange': SciPlot.c:2090:1: warning: old-style function definition [-Wold-style-definition] 2090 | ComputeDrawingRange(w) | ^~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'ComputeMinMax': SciPlot.c:2107:1: warning: old-style function definition [-Wold-style-definition] 2107 | ComputeMinMax(w) | ^~~~~~~~~~~~~ SciPlot.c: In function 'ComputeLegendDimensions': SciPlot.c:2218:1: warning: old-style function definition [-Wold-style-definition] 2218 | ComputeLegendDimensions(w) | ^~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'ComputeDimensions': SciPlot.c:2255:1: warning: old-style function definition [-Wold-style-definition] 2255 | ComputeDimensions(w) | ^~~~~~~~~~~~~~~~~ SciPlot.c: In function 'AdjustDimensions': SciPlot.c:2320:1: warning: old-style function definition [-Wold-style-definition] 2320 | AdjustDimensions(w) | ^~~~~~~~~~~~~~~~ SciPlot.c: In function 'ComputeAllDimensions': SciPlot.c:2487:1: warning: old-style function definition [-Wold-style-definition] 2487 | ComputeAllDimensions(w) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'ComputeAll': SciPlot.c:2497:1: warning: old-style function definition [-Wold-style-definition] 2497 | ComputeAll(w) | ^~~~~~~~~~ SciPlot.c:2501:9: error: too many arguments to function 'ComputeAllDimensions'; expected 0, have 1 2501 | ComputeAllDimensions(w); | ^~~~~~~~~~~~~~~~~~~~ ~ SciPlot.c:2487:1: note: declared here 2487 | ComputeAllDimensions(w) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'DrawMarker': SciPlot.c:2511:1: warning: old-style function definition [-Wold-style-definition] 2511 | DrawMarker(w,xpaper,ypaper,size,color,style) | ^~~~~~~~~~ SciPlot.c: In function 'DrawLegend': SciPlot.c:2650:1: warning: old-style function definition [-Wold-style-definition] 2650 | DrawLegend(w) | ^~~~~~~~~~ SciPlot.c: In function 'DrawCartesianAxes': SciPlot.c:2690:1: warning: old-style function definition [-Wold-style-definition] 2690 | DrawCartesianAxes(w) | ^~~~~~~~~~~~~~~~~ SciPlot.c: In function 'DrawCartesianPlot': SciPlot.c:2887:1: warning: old-style function definition [-Wold-style-definition] 2887 | DrawCartesianPlot(w) | ^~~~~~~~~~~~~~~~~ SciPlot.c: In function 'DrawPolarAxes': SciPlot.c:2955:1: warning: old-style function definition [-Wold-style-definition] 2955 | DrawPolarAxes(w) | ^~~~~~~~~~~~~ SciPlot.c: In function 'DrawPolarPlot': SciPlot.c:3002:1: warning: old-style function definition [-Wold-style-definition] 3002 | DrawPolarPlot(w) | ^~~~~~~~~~~~~ SciPlot.c: In function 'DrawAll': SciPlot.c:3030:1: warning: old-style function definition [-Wold-style-definition] 3030 | DrawAll(w) | ^~~~~~~ SciPlot.c: In function 'SciPlotScreenToDataX': SciPlot.c:3052:1: warning: old-style function definition [-Wold-style-definition] 3052 | SciPlotScreenToDataX(wi,xscreen) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotScreenToDataY': SciPlot.c:3079:1: warning: old-style function definition [-Wold-style-definition] 3079 | SciPlotScreenToDataY(wi,yscreen) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotAllocNamedColor': SciPlot.c:3105:1: warning: old-style function definition [-Wold-style-definition] 3105 | SciPlotAllocNamedColor(wi,name) | ^~~~~~~~~~~~~~~~~~~~~~ SciPlot.c:3118:16: error: too many arguments to function 'ColorStore'; expected 0, have 2 3118 | return ColorStore(w,used.pixel); | ^~~~~~~~~~ ~ SciPlot.c:393:1: note: declared here 393 | ColorStore(w,color) | ^~~~~~~~~~ SciPlot.c: In function 'SciPlotAllocRGBColor': SciPlot.c:3122:1: warning: old-style function definition [-Wold-style-definition] 3122 | SciPlotAllocRGBColor(wi,r,g,b) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c:3144:16: error: too many arguments to function 'ColorStore'; expected 0, have 2 3144 | return ColorStore(w,used.pixel); | ^~~~~~~~~~ ~ SciPlot.c:393:1: note: declared here 393 | ColorStore(w,color) | ^~~~~~~~~~ SciPlot.c: In function 'SciPlotSetBackgroundColor': SciPlot.c:3148:1: warning: old-style function definition [-Wold-style-definition] 3148 | SciPlotSetBackgroundColor(wi,color) | ^~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotSetForegroundColor': SciPlot.c:3164:1: warning: old-style function definition [-Wold-style-definition] 3164 | SciPlotSetForegroundColor(wi,color) | ^~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListCreateFromData': SciPlot.c:3177:1: warning: old-style function definition [-Wold-style-definition] 3177 | SciPlotListCreateFromData(wi,num,xlist,ylist,legend,pcolor,pstyle,lcolor,lstyle) | ^~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListCreateFromFloat': SciPlot.c:3201:1: warning: old-style function definition [-Wold-style-definition] 3201 | SciPlotListCreateFromFloat(wi,num,xlist,ylist,legend) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListDelete': SciPlot.c:3224:1: warning: old-style function definition [-Wold-style-definition] 3224 | SciPlotListDelete(wi,id) | ^~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListUpdateFromFloat': SciPlot.c:3240:1: warning: old-style function definition [-Wold-style-definition] 3240 | SciPlotListUpdateFromFloat(wi,id,num,xlist,ylist) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListCreateFromDouble': SciPlot.c:3257:1: warning: old-style function definition [-Wold-style-definition] 3257 | SciPlotListCreateFromDouble(wi,num,xlist,ylist,legend) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListUpdateFromDouble': SciPlot.c:3280:1: warning: old-style function definition [-Wold-style-definition] 3280 | SciPlotListUpdateFromDouble(wi,id,num,xlist,ylist) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotListSetStyle': SciPlot.c:3297:1: warning: old-style function definition [-Wold-style-definition] 3297 | SciPlotListSetStyle(wi,id,pcolor,pstyle,lcolor,lstyle) | ^~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotSetXAutoScale': SciPlot.c:3314:1: warning: old-style function definition [-Wold-style-definition] 3314 | SciPlotSetXAutoScale(wi) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotSetXUserScale': SciPlot.c:3326:1: warning: old-style function definition [-Wold-style-definition] 3326 | SciPlotSetXUserScale(wi,min,max) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotSetYAutoScale': SciPlot.c:3343:1: warning: old-style function definition [-Wold-style-definition] 3343 | SciPlotSetYAutoScale(wi) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotSetYUserScale': SciPlot.c:3355:1: warning: old-style function definition [-Wold-style-definition] 3355 | SciPlotSetYUserScale(wi,min,max) | ^~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotQueryXScale': SciPlot.c:3376:1: warning: old-style function definition [-Wold-style-definition] 3376 | SciPlotQueryXScale(wi,min,max) | ^~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotQueryYScale': SciPlot.c:3390:1: warning: old-style function definition [-Wold-style-definition] 3390 | SciPlotQueryYScale(wi,min,max) | ^~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotPrintStatistics': SciPlot.c:3404:1: warning: old-style function definition [-Wold-style-definition] 3404 | SciPlotPrintStatistics(wi) | ^~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotExportData': SciPlot.c:3436:1: warning: old-style function definition [-Wold-style-definition] 3436 | SciPlotExportData(wi,fd) | ^~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotAddXAxisCallback': SciPlot.c:3462:1: warning: old-style function definition [-Wold-style-definition] 3462 | SciPlotAddXAxisCallback(wi,cb) | ^~~~~~~~~~~~~~~~~~~~~~~ SciPlot.c: In function 'SciPlotUpdate': SciPlot.c:3474:1: warning: old-style function definition [-Wold-style-definition] 3474 | SciPlotUpdate(wi) | ^~~~~~~~~~~~~ SciPlot.c:3482:9: error: too many arguments to function 'EraseAll'; expected 0, have 1 3482 | EraseAll(w); | ^~~~~~~~ ~ SciPlot.c:1355:1: note: declared here 1355 | EraseAll(w) | ^~~~~~~~ SciPlot.c:3486:9: error: too many arguments to function 'ComputeAll'; expected 0, have 1 3486 | ComputeAll(w); | ^~~~~~~~~~ ~ SciPlot.c:2497:1: note: declared here 2497 | ComputeAll(w) | ^~~~~~~~~~ SciPlot.c:3487:9: error: too many arguments to function 'DrawAll'; expected 0, have 1 3487 | DrawAll(w); | ^~~~~~~ ~ SciPlot.c:3030:1: note: declared here 3030 | DrawAll(w) | ^~~~~~~ make[2]: *** [Makefile:497: SciPlot.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x_interface.o `test -f 'interface/x_interface.c' || echo './'`interface/x_interface.c interface/x_interface.c: In function 'x_initialize': interface/x_interface.c:643:9: error: too many arguments to function 'check_app_res'; expected 0, have 1 643 | check_app_res( &app_data ); | ^~~~~~~~~~~~~ ~~~~~~~~~ interface/x_interface.c:614:19: note: declared here 614 | void check_app_res(); | ^~~~~~~~~~~~~ interface/x_interface.c: At top level: interface/x_interface.c:2920:6: error: conflicting types for 'check_app_res'; have 'void(struct *)' 2920 | void check_app_res( AppDataPtr ad ) | ^~~~~~~~~~~~~ interface/x_interface.c:614:19: note: previous declaration of 'check_app_res' with type 'void(void)' 614 | void check_app_res(); | ^~~~~~~~~~~~~ interface/x_interface.c:3470:6: error: conflicting types for 'expose_ccontour'; have 'void(struct _WidgetRec *, void *, XExposeEvent *, Boolean *)' {aka 'void(struct _WidgetRec *, void *, XExposeEvent *, char *)'} 3470 | void expose_ccontour( Widget w, XtPointer client_data, XExposeEvent *event, Boolean *continue_to_dispatch ) | ^~~~~~~~~~~~~~~ interface/x_interface.c:439:9: note: previous declaration of 'expose_ccontour' with type 'void(void)' 439 | void expose_ccontour(); | ^~~~~~~~~~~~~~~ interface/x_interface.c:3484:6: error: conflicting types for 'expose_colorbar'; have 'void(struct _WidgetRec *, void *, XExposeEvent *, Boolean *)' {aka 'void(struct _WidgetRec *, void *, XExposeEvent *, char *)'} 3484 | void expose_colorbar( Widget w, XtPointer client_data, XExposeEvent *event, Boolean *continue_to_dispatch ) | ^~~~~~~~~~~~~~~ interface/x_interface.c:440:9: note: previous declaration of 'expose_colorbar' with type 'void(void)' 440 | void expose_colorbar(); | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:525: x_interface.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o epic_time.o epic_time.c epic_time.c: In function 'ep_time_to_mdyhms': epic_time.c:20:1: warning: old-style function definition [-Wold-style-definition] 20 | ep_time_to_mdyhms(time, mon, day, yr, hour, min, sec) | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o display_info.o `test -f 'interface/display_info.c' || echo './'`interface/display_info.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o handle_rc_file.o handle_rc_file.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o plot_range.o `test -f 'interface/plot_range.c' || echo './'`interface/plot_range.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dataedit.o `test -f 'interface/dataedit.c' || echo './'`interface/dataedit.c interface/dataedit.c: In function 'dataedit_callback': interface/dataedit.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | dataedit_callback(widget, client_data, call_data) | ^~~~~~~~~~~~~~~~~ interface/dataedit.c: In function 'dataedit_dump_callback': interface/dataedit.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | dataedit_dump_callback(widget, client_data, call_data) | ^~~~~~~~~~~~~~~~~~~~~~ interface/dataedit.c: In function 'dataedit_done_callback': interface/dataedit.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | dataedit_done_callback(widget, client_data, call_data) | ^~~~~~~~~~~~~~~~~~~~~~ interface/dataedit.c: In function 'dataedit_set_callback': interface/dataedit.c:235:1: warning: old-style function definition [-Wold-style-definition] 235 | dataedit_set_callback(widget, client_data, call_data) | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o do_buttons.o do_buttons.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o RadioWidget.o `test -f 'interface/RadioWidget.c' || echo './'`interface/RadioWidget.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o interface.o `test -f 'interface/interface.c' || echo './'`interface/interface.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o make_tc_data.o `test -f 'interface/make_tc_data.c' || echo './'`interface/make_tc_data.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o udu.o udu.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o printer_options.o `test -f 'interface/printer_options.c' || echo './'`interface/printer_options.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o filesel.o `test -f 'interface/filesel.c' || echo './'`interface/filesel.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o range.o `test -f 'interface/range.c' || echo './'`interface/range.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file.o file.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utCalendar2_cal.o utCalendar2_cal.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o do_print.o do_print.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o plot_xy.o `test -f 'interface/plot_xy.c' || echo './'`interface/plot_xy.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o colormap_funcs.o `test -f 'interface/colormap_funcs.c' || echo './'`interface/colormap_funcs.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cbar.o `test -f 'interface/cbar.c' || echo './'`interface/cbar.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o stringlist.o stringlist.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ncview.o ncview.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o calcalcs.o calcalcs.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file_netcdf.o file_netcdf.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o view.o view.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o util.o util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o overlay.o overlay.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.11-build/ncview-2.1.11/src' make[1]: *** [Makefile:392: all-recursive] Error 1 make: *** [Makefile:333: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S8ssLK (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S8ssLK (%build) I: [iurt_root_command] ERROR: chroot