<86>Jun 26 01:52:54 userdel[3184975]: delete user 'rooter' <86>Jun 26 01:52:54 userdel[3184975]: removed group 'rooter' owned by 'rooter' <86>Jun 26 01:52:54 userdel[3184975]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 26 01:52:54 groupadd[3184995]: group added to /etc/group: name=rooter, GID=942 <86>Jun 26 01:52:54 groupadd[3184995]: group added to /etc/gshadow: name=rooter <86>Jun 26 01:52:54 groupadd[3184995]: new group: name=rooter, GID=942 <86>Jun 26 01:52:54 useradd[3185014]: new user: name=rooter, UID=942, GID=942, home=/root, shell=/bin/bash <86>Jun 26 01:52:54 userdel[3185028]: delete user 'builder' <86>Jun 26 01:52:54 userdel[3185028]: removed group 'builder' owned by 'builder' <86>Jun 26 01:52:54 groupadd[3185036]: group added to /etc/group: name=builder, GID=943 <86>Jun 26 01:52:54 groupadd[3185036]: group added to /etc/gshadow: name=builder <86>Jun 26 01:52:54 groupadd[3185036]: new group: name=builder, GID=943 <86>Jun 26 01:52:54 useradd[3185041]: new user: name=builder, UID=943, GID=943, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/SNNS-4.3-alt1.1.1.1.src.rpm: The use of such a license name is ambiguous: LGPL <13>Jun 26 01:52:56 rpmi: xorg-proto-devel-2021.5-alt1 p10+295526.40.6.1 1646400646 installed <13>Jun 26 01:52:56 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Jun 26 01:52:56 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Jun 26 01:52:56 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Jun 26 01:52:56 rpmi: libXau-devel-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Jun 26 01:52:56 rpmi: libICE-devel-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Jun 26 01:52:56 rpmi: libSM-devel-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Jun 26 01:52:56 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Jun 26 01:52:56 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Jun 26 01:52:56 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 26 01:52:56 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Jun 26 01:52:56 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Jun 26 01:52:56 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Jun 26 01:52:56 rpmi: libXmu-1.1.3-alt1 sisyphus+278818.100.1.3 1626263295 installed <13>Jun 26 01:52:56 rpmi: libXaw3d-1.6.3-alt1 sisyphus+278231.100.1.1 1626079608 installed <13>Jun 26 01:52:57 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 26 01:52:57 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Jun 26 01:52:57 rpmi: libXt-devel-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Jun 26 01:52:57 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+278818.100.1.3 1626263295 installed <13>Jun 26 01:52:57 rpmi: libexpat-2.4.3-alt1 p10+293695.100.1.1 1642509078 installed <13>Jun 26 01:52:57 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Jun 26 01:52:57 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Jun 26 01:52:57 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Jun 26 01:52:57 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jun 26 01:52:57 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jun 26 01:52:57 rpmi: ca-certificates-2021.10.06-alt1 p10+286784.100.1.1 1633940301 installed <13>Jun 26 01:52:57 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 26 01:52:57 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Jun 26 01:52:57 rpmi: libcrypto1.1-1.1.1p-alt1 p10+302511.100.1.1 1655971640 installed <13>Jun 26 01:52:57 rpmi: libssl1.1-1.1.1p-alt1 p10+302511.100.1.1 1655971640 installed <13>Jun 26 01:52:57 rpmi: libncurses-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Jun 26 01:52:57 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Jun 26 01:52:57 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Jun 26 01:52:57 rpmi: libpython-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python2-base-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-compiler-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-email-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-unittest-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-encodings-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-xml-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-hotshot-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-bsddb-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:57 rpmi: python-modules-ctypes-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: python-modules-multiprocessing-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: python-modules-logging-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: rpm-build-python-0.43.2-alt1 sisyphus+271106.100.1.1 1619868598 installed <13>Jun 26 01:52:58 rpmi: python-modules-curses-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: python-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: python-modules-distutils-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: python-dev-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:58 rpmi: libXaw3d-devel-1.6.3-alt1 sisyphus+278231.100.1.1 1626079608 installed <13>Jun 26 01:52:58 rpmi: libXext-devel-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Jun 26 01:52:58 rpmi: xorg-cf-files-1.0.7-alt1 p10+297380.100.2.1 1650630215 installed <13>Jun 26 01:52:58 rpmi: makedepend-1.0.6-alt1 sisyphus+278314.100.1.1 1626087045 installed <13>Jun 26 01:52:58 rpmi: imake-1.0.7-alt3 sisyphus+275315.100.2.1 1624906759 installed <13>Jun 26 01:52:58 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+275295.100.2.3 1624485314 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/SNNS-4.3-alt1.1.1.1.nosrc.rpm (w1.gzdio) <13>Jun 26 01:52:59 rpmi: python-tools-2to3-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:59 rpmi: python-modules-json-2.7.18-alt6 p10+282117.100.1.1 1628302755 installed <13>Jun 26 01:52:59 rpmi: python-module-pkg_resources-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed <13>Jun 26 01:52:59 rpmi: python-module-setuptools-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed Installing SNNS-4.3-alt1.1.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48952 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf SNNSv4.3 + echo 'Source #0 (SNNSv4.3.tar.gz):' Source #0 (SNNSv4.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/SNNSv4.3.tar.gz + /bin/tar -xf - + cd SNNSv4.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (SNNSv4.3.diff):' Patch #0 (SNNSv4.3.diff): + /usr/bin/patch -p1 patching file configuration/config.guess patching file configuration/config.sub patching file configuration/configure.in patching file configuration/Makefile.din patching file configure patching file Makefile patching file xgui/sources/Makefile patching file xgui/sources/ui_fileP.c patching file xgui/sources/ui_mainP.c + echo 'Patch #1 (SNNS-sprintf-alt.patch):' Patch #1 (SNNS-sprintf-alt.patch): + /usr/bin/patch -p1 patching file xgui/sources/ui_class.c patching file xgui/sources/ui_control.c + rm -rf tools/bin/i686-pc-linux-gnu tools/bin/x86_64-pc-unknown-linux-gnuoldld xgui/bin/i686-pc-linux-gnu xgui/bin/x86_64-pc-unknown-linux-gnuoldld + sed -i -e s,X11/Xaw/,X11/Xaw3d/,g xgui/sources/bn_JordElm.c xgui/sources/bn_TD_bignet.c xgui/sources/bn_art1.c xgui/sources/bn_art2.c xgui/sources/bn_artmap.c xgui/sources/bn_assoz.c xgui/sources/bn_basics.c xgui/sources/bn_bighop.c xgui/sources/bn_bignet.c xgui/sources/bn_kohonen.c xgui/sources/cc_main.c xgui/sources/d3_anageo.c xgui/sources/d3_disp.c xgui/sources/d3_dither.c xgui/sources/d3_draw.c xgui/sources/d3_fonts.c xgui/sources/d3_global.c xgui/sources/d3_graph.c xgui/sources/d3_light.c xgui/sources/d3_links.c xgui/sources/d3_lists.c xgui/sources/d3_main.c xgui/sources/d3_model.c xgui/sources/d3_move.c xgui/sources/d3_pannels.c xgui/sources/d3_point.c xgui/sources/d3_project.c xgui/sources/d3_setup.c xgui/sources/d3_shade.c xgui/sources/d3_units.c xgui/sources/d3_xUtils.c xgui/sources/d3_zValue.c xgui/sources/d3_zgraph.c xgui/sources/net_analyzer.c xgui/sources/o_graph.c xgui/sources/pr_main.c xgui/sources/ui_action.c xgui/sources/ui_class.c xgui/sources/ui_colEdit.c xgui/sources/ui_color.c xgui/sources/ui_config.c xgui/sources/ui_confirmer.c xgui/sources/ui_control.c xgui/sources/ui_controlP.c xgui/sources/ui_display.c xgui/sources/ui_displmap.c xgui/sources/ui_displwght.c xgui/sources/ui_edit.c xgui/sources/ui_event.c xgui/sources/ui_file.c xgui/sources/ui_fileP.c xgui/sources/ui_funcdispl.c xgui/sources/ui_info.c xgui/sources/ui_infoP.c xgui/sources/ui_inversion.c xgui/sources/ui_key.c xgui/sources/ui_kohonen.c xgui/sources/ui_layer.c xgui/sources/ui_layerP.c xgui/sources/ui_lists.c xgui/sources/ui_main.c xgui/sources/ui_mainP.c xgui/sources/ui_maspar.c xgui/sources/ui_netGraph.c xgui/sources/ui_netUpdate.c xgui/sources/ui_print.c xgui/sources/ui_result.c xgui/sources/ui_selection.c xgui/sources/ui_setup.c xgui/sources/ui_setupP.c xgui/sources/ui_status.c xgui/sources/ui_textP.c xgui/sources/ui_utilP.c xgui/sources/ui_xGraphic.c xgui/sources/ui_xWidgets.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.48952 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SNNSv4.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-global configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext *********************************************************************** This is SNNS Version 4.2 Copyright (c) 1990-1995 SNNS Group, IPVR, Univ. Stuttgart, FRG Copyright (c) 1996-1998 SNNS Group, WSI, Univ. Tuebingen, FRG Running the automated system configuration To get help: read the file Readme.install run 'configure --help' *********************************************************************** checking whether make sets $(MAKE)... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for x86_64-alt-linux-g++... no checking for x86_64-alt-linux-c++... no checking for x86_64-alt-linux-gpp... no checking for x86_64-alt-linux-aCC... no checking for x86_64-alt-linux-CC... no checking for x86_64-alt-linux-cxx... no checking for x86_64-alt-linux-cc++... no checking for x86_64-alt-linux-cl.exe... no checking for x86_64-alt-linux-FCC... no checking for x86_64-alt-linux-KCC... no checking for x86_64-alt-linux-RCC... no checking for x86_64-alt-linux-xlC_r... no checking for x86_64-alt-linux-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... x86_64-alt-linux-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 a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for makedepend... makedepend checking for bison... bison checking for version of bison... bison (GNU Bison) 3.7.6 Written by Robert Corbett and Richard Stallman. Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. checking for xgrabsc... : checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking return type of signal handlers... void checking for working memcmp... yes checking for getcwd... yes checking for strdup... yes checking for lrand48... yes configure: creating ./config.status config.status: creating Makefile.def config.status: WARNING: 'configuration/Makefile.din' seems to ignore the --datarootdir setting config.status: creating config.h config.status: config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext *********************************************************************** SNNSv4.2 is now ready to be compiled. Please read carefully all warning and error messages above if there are any of them. Please refer to the file Readme.install if you see any problems. You can now make compile to compile all parts of SNNS make install to compile, strip, and install all parts of SNNS make clean to cleanup all source directories after installation make uninstall to remove all installed parts of SNNS For your convenience the following sub targets exist for the top level: make install-tools (implies compiling the kernel) make install-xgui (implies compiling the kernel) make install-man make clean-kernel make clean-tools make clean-xgui make uninstall-kernel make uninstall-tools make uninstall-xgui make uninstall-man After installation the programs can be found in /usr/bin (xgui) /usr/bin (tools) And now: Good luck and have fun! *********************************************************************** + make -j16 compile cd kernel/sources && make cd tools/sources && make cd xgui/sources && make make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' need to (re)make kernel libraries first... make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' cd ../../kernel/sources && make make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c mkout.c mkout.c:29:6: warning: return type of 'main' is not 'int' [-Wmain] 29 | void main(int argc, char *argv[]) | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c mkhead.c mkhead.c:28:6: warning: return type of 'main' is not 'int' [-Wmain] 28 | void main(int argc, char *argv[]) | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' need to (re)make kernel libraries first... make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' cd ../../kernel/sources && make make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c mkpat.c mkpat.c:28:6: warning: return type of 'main' is not 'int' [-Wmain] 28 | void main(int argc, char *argv[]) | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c art_ui.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_inversion.c kr_inversion.c: In function 'kr_inv_forwardPass': kr_inversion.c:146:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 146 | kr_PythonActFunction(unit_ptr->python_act_func, | ^~~~~~~~~~~~~~~~~~~~ | kr_PythonOutFunction make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c pat_sel.c pat_sel.c:61:6: warning: return type of 'main' is not 'int' [-Wmain] 61 | void main (int argc, char *argv[]) | ^~~~ pat_sel.c: In function 'main': pat_sel.c:78:2: warning: statement with no effect [-Wunused-value] 78 | exit; | ^~~~ pat_sel.c:84:2: warning: statement with no effect [-Wunused-value] 84 | exit; | ^~~~ pat_sel.c:97:51: warning: format '%d' expects a matching 'int' argument [-Wformat=] 97 | printf("found error %d when testing pattern set %d\n",error); | ~^ | | | int pat_sel.c:98:9: warning: statement with no effect [-Wunused-value] 98 | exit; | ^~~~ pat_sel.c:110:26: warning: statement with no effect [-Wunused-value] 110 | if (getc(stdin) != 'y') exit; | ^~~~ pat_sel.c:114:2: warning: statement with no effect [-Wunused-value] 114 | exit; | ^~~~ pat_sel.c:65:21: warning: unused variable 'j' [-Wunused-variable] 65 | int error, i, j, dummy, act_num; | ^ pat_sel.c:126:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | fscanf(in_no_file, "%d", &pat_no[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c pat_sel_simple.c pat_sel_simple.c:171:6: warning: return type of 'main' is not 'int' [-Wmain] 171 | void main (int argc, char *argv[]) | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c snns2clib.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_confirmer.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c netlearn.c netlearn.c: In function 'main': netlearn.c:49:51: warning: variable 'sum_error' set but not used [-Wunused-but-set-variable] 49 | float learn_parameters[5], parameterInArray[5], sum_error; | ^~~~~~~~~ netlearn.c:49:30: warning: variable 'parameterInArray' set but not used [-Wunused-but-set-variable] 49 | float learn_parameters[5], parameterInArray[5], sum_error; | ^~~~~~~~~~~~~~~~ netlearn.c:57:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | scanf("%s", file_name); | ^~~~~~~~~~~~~~~~~~~~~~ netlearn.c:74:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | scanf( "%s", file_name ); | ^~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:89:6: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | scanf( "%f", &learn_parameters[ i ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:93:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | scanf("%d", &N); | ^~~~~~~~~~~~~~~ netlearn.c:100:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | scanf( "%s", file_name ); | ^~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:160:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | scanf( "%s", file_name ); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_pat_scan.c lex.yy.c:1423:12: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1377:13: warning: 'yyunput' defined but not used [-Wunused-function] make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c analyze.c analyze.c: In function 'get_options': analyze.c:298:17: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 298 | while ((c = getopt (argc, argv, "awruvcme:i:o:h:l:sS:")) != -1) | ^~~~~~ | getsubopt analyze.c: In function 'read_file_header': analyze.c:404:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 404 | fscanf (in_file, "%s %s %s", str1, str2, str3) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:411:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 411 | fscanf (in_file, "%*s %*s %*s %*s %*s %*s %*s %*s") ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:412:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 412 | fscanf (in_file, "%*s %*s %*s %*s %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | &(file_header_info->no_of_patterns)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:414:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | fscanf (in_file, "%*s %*s %*s %*s %*s %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 415 | &(file_header_info->no_of_input_units)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:416:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | fscanf (in_file, "%*s %*s %*s %*s %*s %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 417 | &(file_header_info->no_of_output_units)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:418:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fscanf (in_file, "%*s %*s %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | &(file_header_info->startpattern)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:420:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | fscanf (in_file, "%*s %*s %d", &(file_header_info->endpattern)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:426:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | fscanf (in_file, "%s", str1) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:429:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | fscanf (in_file, "%s %s %s", str2, str3, str1) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:439:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | fscanf(in_file, "%s %s %s", str2, str3, str1) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c: In function 'main': analyze.c:545:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 545 | fscanf (in_file, "%*f") ; | ^~~~~~~~~~~~~~~~~~~~~~~ analyze.c:549:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | fscanf (in_file, "%f", &teaching_output[i]) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:552:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 552 | fscanf (in_file, "%f", &output[i]) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:652:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 652 | fscanf (in_file, "%*s") ; | ^~~~~~~~~~~~~~~~~~~~~~~ analyze.c:619:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 619 | else if ((sel_cond & UNKNOWN) == result) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_mem.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c netperf.c netperf.c: In function 'main': netperf.c:93:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | scanf("%s", file_name); | ^~~~~~~~~~~~~~~~~~~~~~ netperf.c:110:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | scanf( "%s", file_name ); | ^~~~~~~~~~~~~~~~~~~~~~~~ netperf.c:128:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | scanf( "%d", &choose_me ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ netperf.c:150:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | scanf("%d", &N); | ^~~~~~~~~~~~~~~ netperf.c:187:8: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | scanf( "%f", &learn_parameters[ i ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_main.c In file included from ui_main.c:80: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] 41 | extern SCALE_VALUE_TYPE; | ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 43 | extern MPoint; | ^~~~~~ ui_main.c: In function 'ui_showBanner': ui_main.c:295:21: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 295 | Widget banner, frame; | ^~~~~ ui_main.c: At top level: ui_main.c:332:6: warning: return type of 'main' is not 'int' [-Wmain] 332 | void main (int argc, char **argv) | ^~~~ ui_main.c: In function 'ui_init': ui_main.c:113:12: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | (void) getcwd( ui_pathname, MAXPATHLEN ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c feedback-gennet.c feedback-gennet.c:51:6: warning: return type of 'main' is not 'int' [-Wmain] 51 | void main () | ^~~~ feedback-gennet.c: In function 'main': feedback-gennet.c:60:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | scanf("%d",&nin); | ^~~~~~~~~~~~~~~~ feedback-gennet.c:62:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | scanf("%d",&nhid); | ^~~~~~~~~~~~~~~~~ feedback-gennet.c:64:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | scanf("%d",&nout); | ^~~~~~~~~~~~~~~~~ feedback-gennet.c:66:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | scanf("\n%c",&out2out); | ^~~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:68:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | scanf("\n%c",&out2hid); | ^~~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:70:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | scanf("\n%c",&linout); | ^~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:72:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | scanf("\n%s",netname); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c td_bignet.c td_bignet.c:1055:6: warning: return type of 'main' is not 'int' [-Wmain] 1055 | void main(int argc, char *argv[]) | ^~~~ td_bignet.c: In function 'main': td_bignet.c:475:24: warning: 'y_begin' may be used uninitialized in this function [-Wmaybe-uninitialized] 475 | unit_pos.y = y_begin + y; | ~~~~~~~~^~~ td_bignet.c:363:9: note: 'y_begin' was declared here 363 | int y_begin; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c ff_bignet.c ff_bignet.c:1012:6: warning: return type of 'main' is not 'int' [-Wmain] 1012 | void main(int argc, char *argv[]) | ^~~~ ff_bignet.c: In function 'main': ff_bignet.c:287:9: warning: 'y_begin' may be used uninitialized in this function [-Wmaybe-uninitialized] 287 | int y_begin; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_pat_parse.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_ui.c kr_ui.c: In function 'krui_topo_err_msg': kr_ui.c:4797:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4797 | if (topo_msg.dest_error_unit > 0) | ^ kr_ui.c:4805:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4805 | if (topo_msg.src_error_unit > 0) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c isnns.c isnns.c: In function 'main': isnns.c:361:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 361 | fscanf(infile, "%s", netfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isnns.c:435:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 435 | fscanf(infile, "%s", netfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isnns.c:136:5: warning: 'unit_output_end' may be used uninitialized in this function [-Wmaybe-uninitialized] 136 | for (i=start; i<=end; i++, j++) | ^~~ isnns.c:322:9: note: 'unit_output_end' was declared here 322 | int unit_output_end; | ^~~~~~~~~~~~~~~ isnns.c:115:5: warning: 'unit_input_end' may be used uninitialized in this function [-Wmaybe-uninitialized] 115 | for (i=start; i<=end; i++, j++) | ^~~ isnns.c:321:9: note: 'unit_input_end' was declared here 321 | int unit_input_end; | ^~~~~~~~~~~~~~ isnns.c:136:28: warning: 'unit_output_start' may be used uninitialized in this function [-Wmaybe-uninitialized] 136 | for (i=start; i<=end; i++, j++) | ~^~ isnns.c:320:9: note: 'unit_output_start' was declared here 320 | int unit_output_start; | ^~~~~~~~~~~~~~~~~ isnns.c:115:28: warning: 'unit_input_start' may be used uninitialized in this function [-Wmaybe-uninitialized] 115 | for (i=start; i<=end; i++, j++) | ~^~ isnns.c:319:9: note: 'unit_input_start' was declared here 319 | int unit_input_start; | ^~~~~~~~~~~~~~~~ isnns.c:318:9: warning: 'unit_output' may be used uninitialized in this function [-Wmaybe-uninitialized] 318 | int unit_output; | ^~~~~~~~~~~ isnns.c:441:6: warning: 'unit_input' may be used uninitialized in this function [-Wmaybe-uninitialized] 441 | read_activation(infile, unit_input, inpat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isnns.c:311:12: warning: 'outpat' may be used uninitialized in this function [-Wmaybe-uninitialized] 311 | float *outpat; | ^~~~~~ isnns.c:310:12: warning: 'inpat' may be used uninitialized in this function [-Wmaybe-uninitialized] 310 | float *inpat; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c convert2snns.c convert2snns.c:393:6: warning: return type of 'main' is not 'int' [-Wmain] 393 | void main(int argc,char **argv) | ^~~~ convert2snns.c: In function 'main': convert2snns.c:410:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 410 | else | ^~~~ convert2snns.c:412:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 412 | printf("\n"); | ^~~~~~ convert2snns.c: In function 'control': convert2snns.c:122:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | fscanf(fp,"%s",key); | ^~~~~~~~~~~~~~~~~~~ convert2snns.c:128:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | case XSIZE : fscanf(fp,"%d",&xsize); break; | ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:129:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | case YSIZE : fscanf(fp,"%d",&ysize); break; | ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:130:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | case COMPONENTS : fscanf(fp,"%d",&components); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:131:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | case PATTERNS : fscanf(fp,"%d",&no_of_exemplars); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:132:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | case WEIGHTFILE : fscanf(fp,"%s",weight_file); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:133:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | case PATTERNFILE: fscanf(fp,"%s",pattern_file); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:138:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fscanf(fp,"%[^\n]s",key); /* ignores comments at end of line */ | ^~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c: In function 'create_network': convert2snns.c:265:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | fscanf(fp,"%s",string); | ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:302:8: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | scanf("%s", name); | ^~~~~~~~~~~~~~~~~ convert2snns.c: In function 'create_patterns': convert2snns.c:343:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | fscanf(fp,"%s",string); | ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:357:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | scanf("%s", name); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_xWidgets.c In file included from /usr/include/string.h:532, from ui_xWidgets.c:23: In function 'strncpy', inlined from 'ui_xSetString' at ui_xWidgets.c:304:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_xWidgets.c: In function 'ui_xSetString': ui_xWidgets.c:302:16: note: length computed here 302 | lenContents = strlen(contents); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c batchman.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c snns2c.c snns2c.c: In function 'NameLayers': snns2c.c:1579:47: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 1579 | case OUTPUT : sprintf(layer->name, "Output%d", ++ocounter); | ^~ snns2c.c:1579:40: note: directive argument in the range [1, 2147483647] 1579 | case OUTPUT : sprintf(layer->name, "Output%d", ++ocounter); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from snns2c.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 8 and 17 bytes into a destination of size 11 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snns2c.c:1582:47: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 1582 | case HIDDEN : sprintf(layer->name, "Hidden%d", ++hcounter); | ^~ snns2c.c:1582:40: note: directive argument in the range [1, 2147483647] 1582 | case HIDDEN : sprintf(layer->name, "Hidden%d", ++hcounter); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from snns2c.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 8 and 17 bytes into a destination of size 11 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snns2c.c:1585:48: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 1585 | default : sprintf(layer->name, "Special%d", ++scounter); | ^~ snns2c.c:1585:40: note: directive argument in the range [1, 2147483647] 1585 | default : sprintf(layer->name, "Special%d", ++scounter); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from snns2c.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 9 and 18 bytes into a destination of size 11 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from snns2c.c:42: In function 'strncpy', inlined from 'main' at snns2c.c:2145:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snns2c.c: In function 'main': snns2c.c:2145:34: note: length computed here 2145 | strncpy(ProcName, CFileName, strlen(CFileName) - 2); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art2.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_status.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_JordElm.c kr_JordElm.c: In function 'kr_recTouchContextUnits': kr_JordElm.c:78:6: warning: 'unit_has_incoming_links' may be used uninitialized in this function [-Wmaybe-uninitialized] 78 | if ((! unit_has_incoming_links) && (! IS_INPUT_UNIT (unit_ptr))) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_rand.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c func_tbl.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art1.c kr_art1.c: In function 'kra1_get_DelUnits': kr_art1.c:765:27: warning: variable 'checked_del_rec_units' set but not used [-Wunused-but-set-variable] 765 | bool checked_del_rec_units = FALSE; | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_mainP.c ui_mainP.c: In function 'ui_guiQuit': ui_mainP.c:1604:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1604 | system (cmdLine); | ^~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_guiDoQuit': ui_mainP.c:1633:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1633 | system (cmdLine); | ^~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_listPopup': ui_mainP.c:798:26: warning: '%s' directive writing up to 4095 bytes into a region of size between 60 and 70 [-Wformat-overflow=] 798 | sprintf(buf,"unit #%d - %s", | ^~ In file included from /usr/include/stdio.h:866, from ui_mainP.c:25: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 11 and 4116 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_loadFileFromCommandLine': ui_mainP.c:1665:7: warning: 'cfg_loaded' may be used uninitialized in this function [-Wmaybe-uninitialized] 1665 | if(cfg_loaded) | ^ In file included from /usr/include/string.h:532, from /usr/include/X11/Intrinsic.h:61, from ui.h:30, from ui_mainP.c:30: In function 'strncpy', inlined from 'ui_parseCmdLine' at ui_mainP.c:1773:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_parseCmdLine': ui_mainP.c:1687:24: note: length computed here 1687 | return (!strcmp(s1+strlen(s1)-4, s2)); | ^~~~~~~~~~ In file included from /usr/include/string.h:532, from /usr/include/X11/Intrinsic.h:61, from ui.h:30, from ui_mainP.c:30: In function 'strncpy', inlined from 'ui_parseCmdLine' at ui_mainP.c:1770:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_parseCmdLine': ui_mainP.c:1687:24: note: length computed here 1687 | return (!strcmp(s1+strlen(s1)-4, s2)); | ^~~~~~~~~~ In file included from /usr/include/string.h:532, from /usr/include/X11/Intrinsic.h:61, from ui.h:30, from ui_mainP.c:30: In function 'strncpy', inlined from 'ui_parseCmdLine' at ui_mainP.c:1767:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_parseCmdLine': ui_mainP.c:1687:24: note: length computed here 1687 | return (!strcmp(s1+strlen(s1)-4, s2)); | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_info.c ui_info.c: In function 'ui_xCreateInfoPanel': ui_info.c:64:26: warning: variable 'ftypeLabel' set but not used [-Wunused-but-set-variable] 64 | Widget snLabel, ftypeLabel; | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art1.c kr_art1.c: In function 'kra1_get_DelUnits': kr_art1.c:765:27: warning: variable 'checked_del_rec_units' set but not used [-Wunused-but-set-variable] 765 | bool checked_del_rec_units = FALSE; | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art1.c kr_art1.c: In function 'kra1_get_DelUnits': kr_art1.c:765:27: warning: variable 'checked_del_rec_units' set but not used [-Wunused-but-set-variable] 765 | bool checked_del_rec_units = FALSE; | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_maspar.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c icopjmp.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c lex.yyz.c lex.yyz.c:1463:12: warning: 'input' defined but not used [-Wunused-function] 1463 | static int input() | ^~~~~ lex.yyz.c:1417:13: warning: 'yyunput' defined but not used [-Wunused-function] 1417 | static void yyunput( int c, register char *yy_bp ) | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c gram1.tab.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kernel.c In file included from kernel.c:41: kernel.c: In function 'kr_deleteAllOutputLinks': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 105 | ((unit_ptr)->flags & UFLAG_IN_USE) | ^ kernel.c:1471:8: note: in expansion of macro 'UNIT_IN_USE' 1471 | if UNIT_IN_USE( unit_ptr ) | ^~~~~~~~~~~ kernel.c: In function 'kr_copyOutputLinks': kr_mac.h:68:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 68 | ((unit_ptr)->flags & UFLAG_DLINKS) | ^ kernel.c:1537:10: note: in expansion of macro 'UNIT_HAS_DIRECT_INPUTS' 1537 | if UNIT_HAS_DIRECT_INPUTS( unit_ptr ) | ^~~~~~~~~~~~~~~~~~~~~~ kernel.c: In function 'kr_jogWeights': kernel.c:1734:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1734 | if(((flags & UFLAG_IN_USE) == UFLAG_IN_USE) | ^ kernel.c: In function 'kr_jogCorrWeights': kernel.c:2051:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2051 | if(((flags & UFLAG_IN_USE) == UFLAG_IN_USE) | ^ kernel.c: In function 'kr_callNetworkFunction': kernel.c:4000:12: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 4000 | krui_err dummy; | ^~~~~ kernel.c: In function 'kr_jogCorrWeights': kernel.c:1980:22: warning: 'maxcorrrow' may be used uninitialized in this function [-Wmaybe-uninitialized] 1980 | *hn2 = first_hidden + maxcorrrow; | ^ kernel.c:1811:21: note: 'maxcorrrow' was declared here 1811 | int maxcorrcol, maxcorrrow; | ^~~~~~~~~~ kernel.c:1979:22: warning: 'maxcorrcol' may be used uninitialized in this function [-Wmaybe-uninitialized] 1979 | *hn1 = first_hidden + maxcorrcol; | ^ kernel.c:1811:9: note: 'maxcorrcol' was declared here 1811 | int maxcorrcol, maxcorrrow; | ^~~~~~~~~~ kernel.c:1974:22: warning: 'mincorrrow' may be used uninitialized in this function [-Wmaybe-uninitialized] 1974 | *hn2 = first_hidden + mincorrrow; | ^ kernel.c:1810:21: note: 'mincorrrow' was declared here 1810 | int mincorrcol, mincorrrow; | ^~~~~~~~~~ kernel.c:1973:22: warning: 'mincorrcol' may be used uninitialized in this function [-Wmaybe-uninitialized] 1973 | *hn1 = first_hidden + mincorrcol; | ^ kernel.c:1810:9: note: 'mincorrcol' was declared here 1810 | int mincorrcol, mincorrrow; | ^~~~~~~~~~ kernel.c: In function 'kr_NA_Error': kernel.c:3806:10: warning: 'error_unit_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 3806 | if (unit_ptr == error_unit_ptr) error_su = fabs (devit) ; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c ictab.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c backpatch.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_funcs.c kr_funcs.c: In function 'krf_setCurrentNetworkFunc': kr_funcs.c:525:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 525 | if (func_has_changed) | ^~ kr_funcs.c:527:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 527 | krf_storeCurrentNetworkFunc( function_name, TEST_FUNC ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c memory.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_io.c kr_io.c: In function 'krio_readConnectionDefs': kr_io.c:2587:16: warning: variable 'LinkDummy' set but not used [-Wunused-but-set-variable] 2587 | struct Link* LinkDummy; | ^~~~~~~~~ kr_io.c: In function 'krio_saveResult': kr_io.c:3130:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3130 | if (j < i_size) | ^ kr_io.c:3153:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3153 | if (j < o_size) | ^ kr_io.c: In function 'krio_loadNet': kr_io.c:2304:9: warning: 'site_name_ptrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 2304 | if (krui_createFTypeEntry( fmt_shape1, fmt_shape2, fmt_shape3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2305 | no_of_sites, site_name_ptrs ) != KRERR_NO_ERROR) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kr_io.c:2244:12: note: 'site_name_ptrs' was declared here 2244 | char * *site_name_ptrs; | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c linknets.c linknets.c: In function 'main': linknets.c:1271:14: warning: variable 'equal_out_output_sizes' set but not used [-Wunused-but-set-variable] 1271 | int equal_out_output_sizes = 1; | ^~~~~~~~~~~~~~~~~~~~~~ linknets.c:1270:14: warning: variable 'equal_out_input_sizes' set but not used [-Wunused-but-set-variable] 1270 | int equal_out_input_sizes = 1; | ^~~~~~~~~~~~~~~~~~~~~ linknets.c:1269:14: warning: variable 'equal_in_output_sizes' set but not used [-Wunused-but-set-variable] 1269 | int equal_in_output_sizes = 1; | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c symtab.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c snnsbat.c snnsbat.c: In function 'main': snnsbat.c:1977:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1977 | if(LearnPatternFileFlag) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c error.c error.c: In function 'warn_prt': error.c:141:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 141 | if ((!no_more_warnings) && (!message_flag) && (!warn_flag)) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_infoP.c ui_infoP.c: In function 'ui_info_getAllUnitData': ui_infoP.c:270:30: warning: zero-length gnu_printf format string [-Wformat-zero-length] 270 | sprintf((*unit).name ,""); | ^~ ui_infoP.c:274:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 274 | sprintf((*unit).ftype ,""); | ^~ ui_infoP.c: In function 'ui_info_unitUpdateProc': ui_infoP.c:603:18: warning: '%s' directive writing up to 4095 bytes into a region of size between 238 and 248 [-Wformat-overflow=] 603 | sprintf(buf,"%d %s [st: %s, ft: %s]\n act: %8.5f iact: %8.5f\n out: %8.5f bias: %8.5f\n", | ^~ 604 | unit.no, unit.name, ui_utilGetIOTypeName(unit.iotype), | ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 83 or more bytes (assuming 8273) into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c:607:27: warning: '%s' directive writing up to 4095 bytes into a region of size 238 [-Wformat-overflow=] 607 | sprintf(buf," act-func: %s\n out-func: %s\n\n", | ^~ 608 | unit.actFuncName, unit.outFuncName); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 28 and 8218 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c: In function 'ui_info_listAllTargetUnits': ui_infoP.c:1193:61: warning: '%s' directive writing up to 4095 bytes into a region of size between 200 and 210 [-Wformat-overflow=] 1193 | sprintf(buf,"\n\nListing of all successors of unit %d - %s\n\n", sourceNo,name); | ^~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 43 and 4148 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c:1200:32: warning: '%-20s' directive writing between 20 and 4095 bytes into a region of size between 0 and 226 [-Wformat-overflow=] 1200 | sprintf(buf," %9.5f -> %6d - %-20s %8.5f %8.5f %9.5f\n", | ^~~~~ 1201 | weight, targetUnit.no, targetUnit.name, targetUnit.out, | ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 76 and 5386 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c: In function 'ui_info_listAllSourceUnits': ui_infoP.c:1250:63: warning: '%s' directive writing up to 4095 bytes into a region of size between 198 and 208 [-Wformat-overflow=] 1250 | sprintf(buf,"\n\nListing of all predecessors of unit %d - %s\n\n", targetNo, name); | ^~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 45 and 4150 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c:1270:36: warning: '%-20s' directive writing between 20 and 4095 bytes into a region of size between 0 and 226 [-Wformat-overflow=] 1270 | sprintf(buf," %9.5f <- %6d - %-20s %8.5f %8.5f %9.5f\n", | ^~~~~ 1271 | weight, srcNo, sourceUnit.name, sourceUnit.out, | ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 76 and 5386 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c: In function 'ui_info_listAllSites': ui_infoP.c:1318:56: warning: '%s' directive writing up to 4095 bytes into a region of size between 205 and 215 [-Wformat-overflow=] 1318 | sprintf(buf,"\n\nListing of all sites of unit %d - %s\n\n", targetNo, name); | ^~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 38 and 4143 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c: In function 'ui_info_listAllLinksToCurrentSite': ui_infoP.c:1371:51: warning: '%s' directive writing up to 4095 bytes into a region of size 219 [-Wformat-overflow=] 1371 | sprintf(buf,"\n\nListing of all links to site %s of unit %d - %s\n\n", | ^~ 1372 | ui_link.siteName, ui_targetUnit.no, ui_targetUnit.name); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 47 and 8247 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c:1388:32: warning: '%-20s' directive writing between 20 and 4095 bytes into a region of size between 0 and 226 [-Wformat-overflow=] 1388 | sprintf(buf," %9.5f <- %6d - %-20s %8.5f %8.5f %9.5f\n", | ^~~~~ 1389 | weight, srcNo, sourceUnit.name, sourceUnit.out, | ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 76 and 5386 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_infoP.c:1364:29: warning: '%s' directive writing up to 4095 bytes into a region of size 236 [-Wformat-overflow=] 1364 | sprintf(buf,"Invalid site <%s>!", ui_link.siteName); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_infoP.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 17 and 4112 bytes into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_td.c kr_td.c: In function 'propagateTDNetBackward': kr_td.c:205:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 205 | int last_log_layer, i; | ^~~~~~~~~~~~~~ kr_td.c: In function 'propagateTDNetBackMcClelland': kr_td.c:594:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 594 | int last_log_layer, i; | ^~~~~~~~~~~~~~ kr_td.c: In function 'testTDNetBackward': kr_td.c:834:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 834 | int last_log_layer; | ^~~~~~~~~~~~~~ kr_td.c:832:40: warning: variable 'eta' set but not used [-Wunused-but-set-variable] 832 | register float sum_error, eta, devit; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c snns_intfce.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c arglist.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c tbl_func.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_control.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc analyze.o -lm -o analyze make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c special_jacket.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc pat_sel_simple.o -lm -o pat_sel_simple make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc mkhead.o -lm -o mkhead make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc mkout.o -lm -o mkout make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc mkpat.o -lm -o mkpat make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c remap_f.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art2.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c lex.yyy.c lex.yyy.c:1101:12: warning: 'input' defined but not used [-Wunused-function] 1101 | static int input() | ^~~~~ lex.yyy.c:1055:13: warning: 'yyunput' defined but not used [-Wunused-function] 1055 | static void yyunput( int c, register char *yy_bp ) | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_fileP.c In file included from ui_fileP.c:35: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] 41 | extern SCALE_VALUE_TYPE; | ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 43 | extern MPoint; | ^~~~~~ In file included from /usr/include/string.h:532, from ui_fileP.c:25: In function 'strncpy', inlined from 'ui_file_loadPatterns' at ui_fileP.c:501:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_fileP.c: In function 'ui_file_loadPatterns': ui_fileP.c:502:3: note: length computed here 502 | strlen(filestring)-4); | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_art2.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_td.c kr_td.c: In function 'propagateTDNetBackward': kr_td.c:205:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 205 | int last_log_layer, i; | ^~~~~~~~~~~~~~ kr_td.c: In function 'propagateTDNetBackMcClelland': kr_td.c:594:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 594 | int last_log_layer, i; | ^~~~~~~~~~~~~~ kr_td.c: In function 'testTDNetBackward': kr_td.c:834:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 834 | int last_log_layer; | ^~~~~~~~~~~~~~ kr_td.c:832:40: warning: variable 'eta' set but not used [-Wunused-but-set-variable] 832 | register float sum_error, eta, devit; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_file.c ui_file.c: In function 'ui_xCreateFilePanel': ui_file.c:562:32: warning: variable 'label' set but not used [-Wunused-but-set-variable] 562 | Widget dummy, button, label; | ^~~~~ ui_file.c: In function 'ui_expandPath': ui_file.c:207:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | getcwd(cwd, SELECTED_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_file.c: In function 'ui_checkPath': ui_file.c:234:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 234 | getcwd(cwd, SELECTED_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c matrix.c In file included from matrix.c:29: matrix.c: In function 'RbfInvMatrix': matrix.ph:149:50: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | #define RbfMatrixGetValue(m, r, c) (((m) -> r_pt)[r][c]) | ^ matrix.c:228:25: note: 'imax' was declared here 228 | register int i, j, k, imax; | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_setup.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_funcs.c kr_funcs.c: In function 'krf_setCurrentNetworkFunc': kr_funcs.c:525:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 525 | if (func_has_changed) | ^~ kr_funcs.c:527:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 527 | krf_storeCurrentNetworkFunc( function_name, TEST_FUNC ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_setupP.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_newpattern.c kr_newpattern.c: In function 'kr_np_lookupSym': kr_newpattern.c:2103:9: warning: variable 'last_cmp' set but not used [-Wunused-but-set-variable] 2103 | int last_cmp; | ^~~~~~~~ kr_newpattern.c: In function 'kr_npui_loadNewPatterns': kr_newpattern.c:601:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] 601 | free(buf); | ^~~~~~~~~ kr_newpattern.c: In function 'kr_TotalNoOfSubPatPairs': kr_newpattern.c:1568:6: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] 1568 | sum += n_sub; | ~~~~^~~~~~~~ kr_newpattern.c: In function 'kr_initSubPatternOrder': kr_newpattern.c:3745:24: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] 3745 | np_sub_pat_train_size = n; | ~~~~~~~~~~~~~~~~~~~~~~^~~ kr_newpattern.c:1333:9: note: 'n_sub' was declared here 1333 | int n_sub; | ^~~~~ kr_newpattern.c: In function 'kr_getSubPatternByOrder': kr_newpattern.c:3745:24: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] 3745 | np_sub_pat_train_size = n; | ~~~~~~~~~~~~~~~~~~~~~~^~~ kr_newpattern.c:1395:9: note: 'n_sub' was declared here 1395 | int n_sub; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c trans_f.c In file included from trans_f.c:30: trans_f.c: In function 'ACT_TACOMA': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] 27 | register struct Site *__site_ptr; | ^~~~~~~~~~ trans_f.c:607:3: note: in expansion of macro 'ACT_FUNC_DEFS' 607 | ACT_FUNC_DEFS | ^~~~~~~~~~~~~ trans_f.c: In function 'RbfUnitGetNormsqr': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] 27 | register struct Site *__site_ptr; | ^~~~~~~~~~ trans_f.c:667:9: note: in expansion of macro 'ACT_FUNC_DEFS' 667 | ACT_FUNC_DEFS | ^~~~~~~~~~~~~ trans_f.c: In function 'ACT_DERIV_TACOMA': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] 27 | register struct Site *__site_ptr; | ^~~~~~~~~~ trans_f.c:1425:3: note: in expansion of macro 'ACT_FUNC_DEFS' 1425 | ACT_FUNC_DEFS | ^~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c arttr_f.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c matrix.c In file included from matrix.c:29: matrix.c: In function 'RbfInvMatrix': matrix.ph:149:50: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | #define RbfMatrixGetValue(m, r, c) (((m) -> r_pt)[r][c]) | ^ matrix.c:228:25: note: 'imax' was declared here 228 | register int i, j, k, imax; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_xGraphic.c ui_xGraphic.c: In function 'ui_xDrawTriangle': ui_xGraphic.c:92:22: warning: variable 'npts' set but not used [-Wunused-but-set-variable] 92 | int npts[1]; | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -frecord-gcc-switches -Wall -g -O2 -c ic_snns.c ic_snns.c: In function 'setCascadeParams': ic_snns.c:1267:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] 1267 | fprintf(log_file, "%d ", learn_param_array[i]); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int double | %f ic_snns.c:1333:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] 1333 | fprintf(log_file, "%d ", learn_param_array[i]); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int double | %f ic_snns.c: In function 'pruneNet': ic_snns.c:1777:16: warning: 'tmp_file1' may be used uninitialized in this function [-Wmaybe-uninitialized] 1777 | kr_err = krui_saveNet(tmp_file1, netname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ic_snns.c: In function 'setSeed': ic_snns.c:2206:3: warning: 'seed' may be used uninitialized in this function [-Wmaybe-uninitialized] 2206 | krui_setSeedNo(seed); | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c arttr_f.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c prun_f.c prun_f.c: In function 'pr_checkDeadUnits': prun_f.c:142:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 142 | if (! IS_SPECIAL_UNIT (unit_ptr)) | ^ prun_f.c: In function 'pr_obs_countLinks': prun_f.c:593:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 593 | if (!IS_SPECIAL_UNIT (unit_ptr)) | ^ prun_f.c: In function 'pr_obs_calculateDerivVector': prun_f.c:667:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 667 | if (UNIT_HAS_DIRECT_INPUTS (unit_ptr)) | ^ prun_f.c:687:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 687 | if (UNIT_HAS_DIRECT_INPUTS (unit_ptr)) | ^ In file included from prun_f.c:34: prun_f.c: In function 'PRUNE_OBS': kr_mac.h:68:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 68 | ((unit_ptr)->flags & UFLAG_DLINKS) | ^ prun_f.c:950:9: note: in expansion of macro 'UNIT_HAS_DIRECT_INPUTS' 950 | if UNIT_HAS_DIRECT_INPUTS (unit_ptr) | ^~~~~~~~~~~~~~~~~~~~~~ kr_mac.h:68:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 68 | ((unit_ptr)->flags & UFLAG_DLINKS) | ^ prun_f.c:966:9: note: in expansion of macro 'UNIT_HAS_DIRECT_INPUTS' 966 | if UNIT_HAS_DIRECT_INPUTS (unit_ptr) | ^~~~~~~~~~~~~~~~~~~~~~ kr_mac.h:68:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 68 | ((unit_ptr)->flags & UFLAG_DLINKS) | ^ prun_f.c:990:9: note: in expansion of macro 'UNIT_HAS_DIRECT_INPUTS' 990 | if UNIT_HAS_DIRECT_INPUTS (unit_ptr) | ^~~~~~~~~~~~~~~~~~~~~~ kr_mac.h:68:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 68 | ((unit_ptr)->flags & UFLAG_DLINKS) | ^ prun_f.c:1006:9: note: in expansion of macro 'UNIT_HAS_DIRECT_INPUTS' 1006 | if UNIT_HAS_DIRECT_INPUTS (unit_ptr) | ^~~~~~~~~~~~~~~~~~~~~~ prun_f.c: In function 'PRUNE_Skeletonization': prun_f.c:1108:39: warning: variable 'no_of_patterns' set but not used [-Wunused-but-set-variable] 1108 | int size, pattern_no, sub_pat_no, no_of_patterns; | ^~~~~~~~~~~~~~ prun_f.c: In function 'pr_nc_calc_stddev': prun_f.c:1313:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1313 | if (! IS_SPECIAL_UNIT (unit_ptr)) | ^ prun_f.c: In function 'pr_nc_remove_unit': prun_f.c:1447:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1447 | if (! IS_SPECIAL_UNIT (unit_ptr)) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c init_f.c init_f.c: In function 'RbfInitNetwork': init_f.c:882:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 882 | kr_PythonActFunction(h_unit_ptr->python_act_func, | ^~~~~~~~~~~~~~~~~~~~ | kr_PythonOutFunction init_f.c: In function 'RbfKohonenInit': init_f.c:1178:10: warning: variable 'norm_init' set but not used [-Wunused-but-set-variable] 1178 | float norm_init; /* initialization value */ | ^~~~~~~~~ init_f.c:1285:14: warning: 'reshuffle' may be used uninitialized in this function [-Wmaybe-uninitialized] 1285 | if (shuffle && reshuffle) | ^~ init_f.c: In function 'RbfStartInit': init_f.c:1387:11: warning: 'ret_code' may be used uninitialized in this function [-Wmaybe-uninitialized] 1387 | krui_err ret_code; /* error return code */ | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_prune.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_prune.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_netUpdate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_modify.c cc_modify.c: In function 'cc_actualizeGroupHighscores': cc_modify.c:196:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 196 | if(Score > ccs_GroupData[s % CCS_NO_OF_GROUPS].Score) | ^~ cc_modify.c:198:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 198 | ccs_GroupData[s % CCS_NO_OF_GROUPS].BestUnitPtr = UnitPtr; | ^~~~~~~~~~~~~ cc_modify.c: In function 'cc_MakeMiscCalculationsForModifications': cc_modify.c:394:55: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 394 | if (ccs_GroupList[j] == FIELD_EMPTY) k++; | ~^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_utilP.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_modify.c cc_modify.c: In function 'cc_actualizeGroupHighscores': cc_modify.c:196:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 196 | if(Score > ccs_GroupData[s % CCS_NO_OF_GROUPS].Score) | ^~ cc_modify.c:198:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 198 | ccs_GroupData[s % CCS_NO_OF_GROUPS].BestUnitPtr = UnitPtr; | ^~~~~~~~~~~~~ cc_modify.c: In function 'cc_MakeMiscCalculationsForModifications': cc_modify.c:394:55: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 394 | if (ccs_GroupList[j] == FIELD_EMPTY) k++; | ~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c update_f.c In file included from update_f.c:36: update_f.c: In function 'UPDATE_syncPropagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 105 | ((unit_ptr)->flags & UFLAG_IN_USE) | ^ update_f.c:81:5: note: in expansion of macro 'UNIT_IN_USE' 81 | if UNIT_IN_USE( unit_ptr ) | ^~~~~~~~~~~ update_f.c: In function 'UPDATE_ART1_syncPropagate': update_f.c:585:19: warning: variable 'winner_ptr' set but not used [-Wunused-but-set-variable] 585 | struct Unit *winner_ptr; /* recognition unit which is the winner of w.t.a*/ | ^~~~~~~~~~ update_f.c: In function 'UPDATE_ART1_Propagate': update_f.c:716:19: warning: variable 'winner_ptr' set but not used [-Wunused-but-set-variable] 716 | struct Unit *winner_ptr; /* recogn. unit which is the winner of w.t.a */ | ^~~~~~~~~~ update_f.c: In function 'UPDATE_ART2_syncPropagate': update_f.c:814:19: warning: variable 'winner_ptr' set but not used [-Wunused-but-set-variable] 814 | struct Unit *winner_ptr; /* recogn. unit which is the winner of w.t.a */ | ^~~~~~~~~~ update_f.c: In function 'UPDATE_ART2_Propagate': update_f.c:995:19: warning: variable 'winner_ptr' set but not used [-Wunused-but-set-variable] 995 | struct Unit *winner_ptr; /* recogn. unit which is the winner of w.t.a */ | ^~~~~~~~~~ update_f.c: In function 'UPDATE_ARTMAP_syncPropagate': update_f.c:1128:19: warning: variable 'winner_ptr_b' set but not used [-Wunused-but-set-variable] 1128 | struct Unit *winner_ptr_b; /* the winner of w.t.a of ARTb */ | ^~~~~~~~~~~~ update_f.c:1127:19: warning: variable 'winner_ptr_a' set but not used [-Wunused-but-set-variable] 1127 | struct Unit *winner_ptr_a; /* the winner of wta of ARTa */ | ^~~~~~~~~~~~ update_f.c: In function 'UPDATE_ARTMAP_Propagate': update_f.c:1286:19: warning: variable 'winner_ptr_b' set but not used [-Wunused-but-set-variable] 1286 | struct Unit *winner_ptr_b; /* the winner of w.t.a of ARTb */ | ^~~~~~~~~~~~ update_f.c:1285:19: warning: variable 'winner_ptr_a' set but not used [-Wunused-but-set-variable] 1285 | struct Unit *winner_ptr_a; /* the winner of w.t.a of ARTa */ | ^~~~~~~~~~~~ In file included from update_f.c:48: update_f.c: In function 'UPDATE_FixAct_Hop': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] 27 | register struct Site *__site_ptr; | ^~~~~~~~~~ update_f.c:2037:5: note: in expansion of macro 'ACT_FUNC_DEFS' 2037 | ACT_FUNC_DEFS /* defines link- and site-pointer */ | ^~~~~~~~~~~~~ update_f.c:2036:34: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 2036 | FlintType sum, aux, min; | ^~~ In file included from update_f.c:36: update_f.c: In function 'UPDATE_RM_Propagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 105 | ((unit_ptr)->flags & UFLAG_IN_USE) | ^ update_f.c:2161:7: note: in expansion of macro 'UNIT_IN_USE' 2161 | if UNIT_IN_USE( unit_ptr ) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_netGraph.c ui_netGraph.c: In function 'ui_drawGrowingThing': ui_netGraph.c:112:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 112 | if (performDraw) | ^ ui_netGraph.c: In function 'ui_drawUnit': ui_netGraph.c:178:22: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] 178 | abs((int)(100.0 * value / (displayPtr->setup).unitScaleFactor)); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_display.c cc_display.c: In function 'cc_calculateNetParameters': cc_display.c:152:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 152 | if(IS_INPUT_UNIT(unitPtr)) | ^ cc_display.c:154:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 154 | if(IS_OUTPUT_UNIT(unitPtr)) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_controlP.c In file included from ui_controlP.c:66: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] 41 | extern SCALE_VALUE_TYPE; | ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 43 | extern MPoint; | ^~~~~~ ui_controlP.c: In function 'ui_rem_printLearnInfo': ui_controlP.c:889:10: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 889 | strncpy(buf,buf,7); | ^~~ ~~~ ui_controlP.c:892:10: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 892 | strncpy(buf,buf,7); | ^~~ ~~~ ui_controlP.c: In function 'ui_rem_defSubPat': ui_controlP.c:2029:52: warning: variable 'ostep' set but not used [-Wunused-but-set-variable] 2029 | isize,istep,itot,otot,osize,ostep; | ^~~~~ ui_controlP.c:2029:30: warning: variable 'istep' set but not used [-Wunused-but-set-variable] 2029 | isize,istep,itot,otot,osize,ostep; | ^~~~~ ui_controlP.c: In function 'ui_rem_setFunc': ui_controlP.c:2747:18: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2747 | sprintf(buf,""); | ^~ ui_controlP.c: In function 'ui_rem_moveInSubPattProc': ui_controlP.c:550:21: warning: 'o_temp' may be used uninitialized in this function [-Wmaybe-uninitialized] 550 | subOPatPos[dim] = o_temp; | ~~~~~~~~~~~~~~~~^~~~~~~~ ui_controlP.c:549:21: warning: 'i_temp' may be used uninitialized in this function [-Wmaybe-uninitialized] 549 | subIPatPos[dim] = i_temp; | ~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/string.h:532, from ui_controlP.c:26: In function 'strncpy', inlined from 'ui_rem_printLearnInfo' at ui_controlP.c:889:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' source argument is the same as destination [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ui_rem_printLearnInfo' at ui_controlP.c:892:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' source argument is the same as destination [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_controlP.c: In function 'ui_rem_performPrun': ui_controlP.c:1263:8: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] 1263 | if (err != KRERR_NO_ERROR) | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_learn.c cc_learn.c: In function 'cc_trainSpecialUnits': cc_learn.c:228:11: warning: variable 'Error' set but not used [-Wunused-but-set-variable] 228 | float Error; | ^~~~~ In file included from cc_learn.c:41: cc_learn.c: In function 'cc_trainOutputUnits': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 273 | kr_PythonActFunction(outputUnitPtr->python_act_func, \ | ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' 240 | (UnitPtr->act = value) : \ | ^~~~~ cc_learn.c:316:12: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 316 | PROPAGATE_THROUGH_OUTPUT_LAYER(UnitPtr,dummy,p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_learn.c: In function 'cc_calculateOutputUnitError': cc_learn.c:368:31: warning: variable 'topo_ptr' set but not used [-Wunused-but-set-variable] 368 | register TopoPtrArray topo_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_event.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_selection.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_prune.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_learn.c cc_learn.c: In function 'cc_trainSpecialUnits': cc_learn.c:228:11: warning: variable 'Error' set but not used [-Wunused-but-set-variable] 228 | float Error; | ^~~~~ In file included from cc_learn.c:41: cc_learn.c: In function 'cc_trainOutputUnits': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 273 | kr_PythonActFunction(outputUnitPtr->python_act_func, \ | ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' 240 | (UnitPtr->act = value) : \ | ^~~~~ cc_learn.c:316:12: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 316 | PROPAGATE_THROUGH_OUTPUT_LAYER(UnitPtr,dummy,p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_learn.c: In function 'cc_calculateOutputUnitError': cc_learn.c:368:31: warning: variable 'topo_ptr' set but not used [-Wunused-but-set-variable] 368 | register TopoPtrArray topo_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c kr_amap.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libkernel.a kr_pat_scan.o kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o kr_rand.o Ignore possible error messages for the following command: ranlib libkernel.a END OF COMMANDS THAT MAY FAIL make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libkernel.a kr_pat_scan.o kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o kr_rand.o Ignore possible error messages for the following command: ranlib libkernel.a END OF COMMANDS THAT MAY FAIL make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o Ignore possible error messages for the following command: ranlib libfunc.a END OF COMMANDS THAT MAY FAIL make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c stochastic_learn_f.c stochastic_learn_f.c: In function 'LEARN_SimulatedAnnealing': stochastic_learn_f.c:632:26: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] 632 | NET_ERROR(OutParameter) += error; | ^~ stochastic_learn_f.c: In function 'TEST_SimulatedAnnealing': stochastic_learn_f.c:795:26: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] 795 | NET_ERROR(OutParameter) += error; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' end of (re)making kernel libraries make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_textP.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c scaled_conj_grad.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c stochastic_learn_f.c stochastic_learn_f.c: In function 'LEARN_SimulatedAnnealing': stochastic_learn_f.c:632:26: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] 632 | NET_ERROR(OutParameter) += error; | ^~ stochastic_learn_f.c: In function 'TEST_SimulatedAnnealing': stochastic_learn_f.c:795:26: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] 795 | NET_ERROR(OutParameter) += error; | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libkernel.a kr_pat_scan.o kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o kr_rand.o Ignore possible error messages for the following command: ranlib libkernel.a END OF COMMANDS THAT MAY FAIL make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_glob.c In file included from cc_glob.c:43: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 273 | kr_PythonActFunction(outputUnitPtr->python_act_func, \ | ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' 240 | (UnitPtr->act = value) : \ | ^~~~~ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 110 | PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_glob.c:97:18: warning: variable 'CorrWin' set but not used [-Wunused-but-set-variable] 97 | int WhichWin,CorrWin; | ^~~~~~~ cc_glob.c:97:9: warning: variable 'WhichWin' set but not used [-Wunused-but-set-variable] 97 | int WhichWin,CorrWin; | ^~~~~~~~ cc_glob.c:96:9: warning: variable 'Correct' set but not used [-Wunused-but-set-variable] 96 | int Correct; | ^~~~~~~ cc_glob.c: In function 'cc_LayerCorrectnessTest': cc_glob.c:169:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 169 | if ((CC_LAYER_NO(UnitPtr2)+1) > CC_LAYER_NO(UnitPtr)) | ^ At top level: cc_glob.c:771:14: warning: 'DepthFirst5' defined but not used [-Wunused-function] 771 | static void DepthFirst5(struct Unit *unit_ptr, int depth ) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_layerP.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_layer.c ui_layer.c: In function 'ui_xCreateLayerPanel': ui_layer.c:59:27: warning: variable 'nameLabel' set but not used [-Wunused-but-set-variable] 59 | Widget oldLabel, nameLabel, nrLabel, label; | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_display.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_lists.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c dlvq_learn.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_glob.c In file included from cc_glob.c:43: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 273 | kr_PythonActFunction(outputUnitPtr->python_act_func, \ | ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' 240 | (UnitPtr->act = value) : \ | ^~~~~ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 110 | PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc_glob.c:97:18: warning: variable 'CorrWin' set but not used [-Wunused-but-set-variable] 97 | int WhichWin,CorrWin; | ^~~~~~~ cc_glob.c:97:9: warning: variable 'WhichWin' set but not used [-Wunused-but-set-variable] 97 | int WhichWin,CorrWin; | ^~~~~~~~ cc_glob.c:96:9: warning: variable 'Correct' set but not used [-Wunused-but-set-variable] 96 | int Correct; | ^~~~~~~ cc_glob.c: In function 'cc_LayerCorrectnessTest': cc_glob.c:169:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 169 | if ((CC_LAYER_NO(UnitPtr2)+1) > CC_LAYER_NO(UnitPtr)) | ^ At top level: cc_glob.c:771:14: warning: 'DepthFirst5' defined but not used [-Wunused-function] 771 | static void DepthFirst5(struct Unit *unit_ptr, int depth ) | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c scaled_conj_grad.c make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_edit.c ui_edit.c: In function 'ui_edit_deleteFType': ui_edit.c:523:36: warning: '%s' directive writing up to 4095 bytes into a region of size 4075 [-Wformat-overflow=] 523 | sprintf(buf,"Can't delete f-type: %s",ui_edit_ftypeName); | ^~ ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ui_edit.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[2]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o Ignore possible error messages for the following command: ranlib libfunc.a END OF COMMANDS THAT MAY FAIL make[2]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_color.c ui_color.c: In function 'ui_init_colorPalette2': ui_color.c:422:11: warning: variable 's' set but not used [-Wunused-but-set-variable] 422 | float s, v, hStep, gStep, fhs, fgs; | ^ ui_color.c: In function 'ui_colVar_init': ui_color.c:477:18: warning: unused variable 'buf' [-Wunused-variable] 477 | char vc[30], buf[255]; | ^~~ ui_color.c:477:10: warning: unused variable 'vc' [-Wunused-variable] 477 | char vc[30], buf[255]; | ^~ ui_color.c: In function 'setHSVcolor': ui_color.c:384:61: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 384 | setRGBcolor(ind, ((float)r)/RGBMAX, ((float)g)/RGBMAX, ((float)b)/RGBMAX); | ~^~~~~~~~~ ui_color.c:384:42: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized] 384 | setRGBcolor(ind, ((float)r)/RGBMAX, ((float)g)/RGBMAX, ((float)b)/RGBMAX); | ~^~~~~~~~~ ui_color.c:384:23: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 384 | setRGBcolor(ind, ((float)r)/RGBMAX, ((float)g)/RGBMAX, ((float)b)/RGBMAX); | ~^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' end of (re)making kernel libraries make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_key.c In file included from ui_key.c:54: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] 41 | extern SCALE_VALUE_TYPE; | ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 43 | extern MPoint; | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_colEdit.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_result.c ui_result.c: In function 'ui_popupResult': ui_result.c:448:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 448 | ui_result_default(NULL, (int) NULL, NULL); | ^ ui_result.c:453:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 453 | ui_result_lastcall(NULL, (int) NULL, NULL); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' x86_64-alt-linux-gcc snns2c.o snns2clib.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o snns2c ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_nc_calc_stddev': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1287: undefined reference to `propagateNetForward' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1309: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_calcMeanDeviation': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:262: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `PRUNE_OBD': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:475: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_obs_calculateInverseHessian': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:798: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o):/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1145: more undefined references to `propagateNetForward' follow ld: ../../kernel/sources/libkernel.a(kr_ui.o): in function `krui_spanning_tree': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/kr_ui.c:5307: undefined reference to `spanning_tree' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1168): undefined reference to `LEARN_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1180): undefined reference to `LEARN_ART1' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1198): undefined reference to `LEARN_ART2' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11b0): undefined reference to `LEARN_ARTMAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11c8): undefined reference to `LEARN_perc' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11e0): undefined reference to `LEARN_backpropBatch' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11f8): undefined reference to `LEARN_backpropChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1210): undefined reference to `LEARN_backpropClassJogChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1228): undefined reference to `LEARN_backpropJogChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1240): undefined reference to `LEARN_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1258): undefined reference to `LEARN_backpropWeightDecay' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1270): undefined reference to `LEARN_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1288): undefined reference to `LEARN_BBPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x12b8): undefined reference to `LEARN_CPN' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x12e8): undefined reference to `LEARN_HEBB' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1300): undefined reference to `LEARN_JE_Backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1318): undefined reference to `LEARN_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1330): undefined reference to `LEARN_JE_Quickprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1348): undefined reference to `LEARN_JE_Rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1360): undefined reference to `LEARN_kohonen' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13a8): undefined reference to `LEARN_QPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13c0): undefined reference to `LEARN_quickprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13d8): undefined reference to `LEARN_RBF' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13f0): undefined reference to `LEARN_RBF_DDA' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1408): undefined reference to `LEARN_RM_delta' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1420): undefined reference to `LEARN_rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1438): undefined reference to `LEARN_RpropMAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14b0): undefined reference to `LEARN_Tacoma' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14e0): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14f8): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1510): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1528): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1540): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1558): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1588): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15a0): undefined reference to `TEST_rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15b8): undefined reference to `TEST_MAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15d0): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1618): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1630): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1648): undefined reference to `TEST_JE_Backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1660): undefined reference to `TEST_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1678): undefined reference to `TEST_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1690): undefined reference to `TEST_JE_Rprop' ld: ../../kernel/sources/libfunc.a(init_f.o): in function `RbfInitNetwork': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/init_f.c:908: undefined reference to `RbfLearnForward' ld: ../../kernel/sources/libfunc.a(init_f.o): in function `RbfStartInit': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/init_f.c:1407: undefined reference to `RbfTopoCheck' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `LEARN_MonteCarlo': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:133: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `TEST_MonteCarlo': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:217: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `LEARN_SimulatedAnnealing': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:615: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `TEST_SimulatedAnnealing': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:778: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(scaled_conj_grad.o): in function `compute_gradient': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:476: undefined reference to `propagateNetForward' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:478: undefined reference to `propagateNetBackwardBatch' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: ../../kernel/sources/libfunc.a(scaled_conj_grad.o): in function `TEST_SCG': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:508: undefined reference to `TEST_backprop' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:180: snns2c] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make: *** [Makefile:64: compile-tools] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_action.c ui_action.c: In function 'ui_action_linksCopyEnvironment': ui_action.c:1264:9: warning: 'selPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1264 | if (krui_getUnitInputType(selPtr->unitNo) == SITES) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_funcdispl.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_kohonen.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_inversion.c ui_inversion.c: In function 'ui_inversion': ui_inversion.c:541:20: warning: 'dummy2' may be used uninitialized in this function [-Wmaybe-uninitialized] 541 | dummy2->next = NULL; | ^ ui_inversion.c:485:44: note: 'dummy2' was declared here 485 | struct UnitList *IUnit,*OUnit,*dummy1,*dummy2; | ^~~~~~ ui_inversion.c:540:20: warning: 'dummy1' may be used uninitialized in this function [-Wmaybe-uninitialized] 540 | dummy1->next = NULL; | ^ ui_inversion.c:485:36: note: 'dummy1' was declared here 485 | struct UnitList *IUnit,*OUnit,*dummy1,*dummy2; | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_global.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c cc_main.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c tacoma_learn.c tacoma_learn.c: In function 'tac_connect': tacoma_learn.c:338:53: warning: comparison with string literal results in unspecified behavior [-Waddress] 338 | if (krui_getUnitActFuncName(GET_UNIT_NO(OldUnit)) != "ACT_TACOMA") return (TRUE); | ^~ tacoma_learn.c: In function 'tac_generateNewUnit': tacoma_learn.c:419:17: warning: variable 'NewLink' set but not used [-Wunused-but-set-variable] 419 | struct Link* NewLink; | ^~~~~~~ tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] 475 | krui_err tac_initXiAndRis(StartPattern,EndPattern) | ^~~~~~~~~~~~~~~~ tacoma_learn.c:475:10: warning: type of 'EndPattern' defaults to 'int' [-Wimplicit-int] tacoma_learn.c: In function 'LEARN_Tacoma': tacoma_learn.c:1050:17: warning: variable 'LinkPtr' set but not used [-Wunused-but-set-variable] 1050 | struct Link* LinkPtr; | ^~~~~~~ tacoma_learn.c: In function 'tac_NextSpecialUnit': tacoma_learn.c:550:9: warning: 'NextSpecialUnitInInputSpace' may be used uninitialized in this function [-Wmaybe-uninitialized] 550 | return(NextSpecialUnitInInputSpace); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c pr_main.c pr_main.c: In function 'pr_createWindow': pr_main.c:164:13: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 164 | strncat(empty,empty,(int)(11-strlen(buf)*0.5)); | ^~~~~ ~~~~~ pr_main.c:245:13: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 245 | strncat(empty,empty,(int)(11-strlen(buf)*0.5)); | ^~~~~ ~~~~~ In file included from /usr/include/string.h:532, from /usr/include/X11/Intrinsic.h:61, from pr_main.c:21: In function 'strncat', inlined from 'pr_createWindow' at pr_main.c:164:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' source argument is the same as destination [-Wrestrict] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'pr_createWindow' at pr_main.c:245:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' source argument is the same as destination [-Wrestrict] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_displwght.c ui_displwght.c: In function 'ui_displWeightsBW': ui_displwght.c:259:16: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 259 | dx = dy = abs( (int)(reference * (float)strength)); | ^~~ ui_displwght.c:235:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 235 | int n,next,pred; | ^ ui_displwght.c: In function 'ui_wght_info': ui_displwght.c:411:12: warning: variable 'label' set but not used [-Wunused-but-set-variable] 411 | Widget label,form; | ^~~~~ ui_displwght.c:442:49: warning: ' to unit ' directive writing 9 bytes into a region of size between 6 and 15 [-Wformat-overflow=] 442 | sprintf(buf,"No connection from unit %d to unit %d\n", | ^~~~~~~~~ ui_displwght.c:442:22: note: directive argument in the range [0, 2147483647] 442 | sprintf(buf,"No connection from unit %d to unit %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from ui_displwght.c:35: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 37 and 55 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_displwght.c:439:36: warning: ' has weight ' directive writing 13 bytes into a region of size between 11 and 29 [-Wformat-overflow=] 439 | sprintf(buf,"Link %d -> %d \nhas weight %f" | ^~~~~~~~~~~~~~ ui_displwght.c:439:22: note: assuming directive output of 8 bytes 439 | sprintf(buf,"Link %d -> %d \nhas weight %f" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from ui_displwght.c:35: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 28 and 360 bytes into a destination of size 40 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_dither.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_lists.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_displmap.c ui_displmap.c: In function 'ui_map_event': ui_displmap.c:241:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 241 | if((event->xexpose.count == 0) && (w = MAP_GRAPH_displaywidget)) | ^ ui_displmap.c: In function 'ui_displMapBW': ui_displmap.c:293:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 293 | krui_updateNet(NULL,(int)NULL); | ^ ui_displmap.c: In function 'ui_displMapCOL': ui_displmap.c:353:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 353 | krui_updateNet(NULL,(int)NULL); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_shade.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_point.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_zgraph.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_config.c ui_config.c: In function 'ui_cfg_load': ui_config.c:914:32: warning: pointer targets in passing argument 1 of 'krui_setClassDistribution' differ in signedness [-Wpointer-sign] 914 | krui_setClassDistribution(dist); | ^~~~ | | | int * In file included from ui_config.c:52: ../../kernel/sources/kr_ui.h:196:58: note: expected 'unsigned int *' but argument is of type 'int *' 196 | extern krui_err krui_setClassDistribution(unsigned int *classDist); | ~~~~~~~~~~~~~~^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_disp.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_fonts.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_anageo.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_draw.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_xUtils.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_zValue.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_units.c d3_units.c: In function 'd3_createUnitPannel': d3_units.c:190:56: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 190 | Widget unitPannel, border, pannel1, pannel2, done, dummy; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_print.c In file included from /usr/include/string.h:532, from /usr/include/X11/Intrinsic.h:61, from ui_print.c:26: In function 'strncat', inlined from 'ui_printProc' at ui_print.c:774:16: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 1 byte from a string of length 4095 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_print.c: In function 'ui_printProc': ui_print.c:181:11: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] 181 | value /= (displayPtr->setup).unitScaleFactor; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_print.c:153:24: note: 'value' was declared here 153 | FlintType value; | ^~~~~ ui_print.c:805:15: warning: 'commandLine' may be used uninitialized in this function [-Wmaybe-uninitialized] 805 | ret = system(commandLine); | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_move.c d3_move.c: In function 'create_move_label': d3_move.c:172:12: warning: variable 'label_widget' set but not used [-Wunused-but-set-variable] 172 | Widget label_widget; | ^~~~~~~~~~~~ d3_move.c: In function 'create_move_item': d3_move.c:208:12: warning: variable 'label_widget' set but not used [-Wunused-but-set-variable] 208 | Widget label_widget; | ^~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_links.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_model.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_graph.c d3_graph.c: In function 'd3_drawPoly': d3_graph.c:232:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 232 | if (y>=d3_clipWindow.y0 && y<=d3_clipWindow.y1) | ^ d3_graph.c: In function 'd3_getRootSizes': d3_graph.c:446:12: warning: variable 'status' set but not used [-Wunused-but-set-variable] 446 | Status status; | ^~~~~~ d3_graph.c: In function 'd3_drawPoly': d3_graph.c:215:16: warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized] 215 | i = li-1; | ~~^~~~~~ d3_graph.c:223:16: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] 223 | i = ri+1; | ~~^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_setup.c d3_setup.c: In function 'd3_closeSetupPannel': d3_setup.c:109:21: warning: variable 'f4' set but not used [-Wunused-but-set-variable] 109 | int f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_project.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_light.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_pannels.c In file included from d3_pannels.c:61: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] 41 | extern SCALE_VALUE_TYPE; | ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 43 | extern MPoint; | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' ar rc libxgui1.a ui_xWidgets.o ui_confirmer.o ui_main.o ui_mainP.o ui_status.o ui_info.o ui_infoP.o ui_maspar.o ui_control.o ui_controlP.o ui_file.o ui_fileP.o ui_setup.o ui_setupP.o ui_xGraphic.o ui_netGraph.o ui_utilP.o ui_netUpdate.o ranlib libxgui1.a make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_basics.c bn_basics.c: In function 'bn_basics_createART': bn_basics.c:64:24: warning: variable 'Height' set but not used [-Wunused-but-set-variable] 64 | int Width, Height; | ^~~~~~ bn_basics.c:64:17: warning: variable 'Width' set but not used [-Wunused-but-set-variable] 64 | int Width, Height; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' ar rc libxgui2.a ui_event.o ui_selection.o ui_action.o ui_key.o ui_textP.o ui_lists.o ui_layer.o ui_layerP.o ui_display.o ui_edit.o ui_config.o ui_color.o ui_inversion.o ui_funcdispl.o ui_displmap.o ui_displwght.o ui_print.o ui_colEdit.o ui_result.o cc_main.o pr_main.o ui_kohonen.o ranlib libxgui2.a make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_assoz.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_kohonen.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_art2.c bn_art2.c: In function 'bn_art2_make_layer.constprop': bn_art2.c:105:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 105 | sprintf (name,"%s%d",name_prefix,count); | ^ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art2.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 11) into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c d3_main.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_art1.c bn_art1.c: In function 'bn_art1_createPROC': bn_art1.c:84:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 84 | sprintf (name,"%s%d","inp",i); | ^~ bn_art1.c:84:19: note: directive argument in the range [1, 2147483647] 84 | sprintf (name,"%s%d","inp",i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art1.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bn_art1.c:123:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 123 | sprintf (name,"%s%d","cmp",i); | ^~ bn_art1.c:123:19: note: directive argument in the range [1, 2147483647] 123 | sprintf (name,"%s%d","cmp",i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art1.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bn_art1.c:166:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 166 | sprintf (name,"%s%d","rec",i); | ^~ bn_art1.c:166:19: note: directive argument in the range [1, 2147483647] 166 | sprintf (name,"%s%d","rec",i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art1.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bn_art1.c:206:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 206 | sprintf (name,"%s%d","del",i); | ^~ bn_art1.c:206:19: note: directive argument in the range [1, 2147483647] 206 | sprintf (name,"%s%d","del",i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art1.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bn_art1.c:313:22: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 313 | sprintf (name,"%s%d","rst",i); | ^~ bn_art1.c:313:19: note: directive argument in the range [1, 2147483647] 313 | sprintf (name,"%s%d","rst",i); | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_art1.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_bighop.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c ui_class.c ui_class.c: In function 'class_readWidgets': ui_class.c:61:62: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 61 | sprintf(buf,"Illegal negative parameter in class widget %d",i); | ^~ ui_class.c:61:18: note: directive argument in the range [0, 2147483647] 61 | sprintf(buf,"Illegal negative parameter in class widget %d",i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from ui_class.c:27: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 45 and 54 bytes into a destination of size 50 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c net_analyzer.c net_analyzer.c: In function 'NA_DrawInfo': net_analyzer.c:687:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 687 | else | ^~~~ net_analyzer.c:688:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 688 | strcpy (buf2, "vertical : error (lin)") ; break ; | ^~~~~ net_analyzer.c:692:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 692 | else | ^~~~ net_analyzer.c:693:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 693 | strcpy (buf2, "vertical : error (sqr)") ; break ; | ^~~~~ net_analyzer.c: In function 'NA_CallbackProc': net_analyzer.c:477:20: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 477 | sprintf (buf, "%s.rec", na.rec_filename) ; | ^~~~ In file included from /usr/include/stdio.h:866, from net_analyzer.c:24: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 84 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_JordElm.c bn_JordElm.c: In function 'createUnitLayer.constprop': bn_JordElm.c:63:22: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 63 | sprintf (name, "%s%d", unit_name, i) ; | ^ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_JordElm.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 11) into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_artmap.c bn_artmap.c: In function 'bn_artmap_make_layer.constprop': bn_artmap.c:111:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 111 | sprintf (name,"%s%d",name_prefix,count); | ^ In file included from /usr/include/stdio.h:866, from ../../kernel/sources/glob_typ.h:23, from ui.h:35, from bn_artmap.c:28: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 11) into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_TD_bignet.c make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c bn_bignet.c bn_bignet.c: In function 'calculate_y_begin': bn_bignet.c:729:12: warning: 'y_begin' may be used uninitialized in this function [-Wmaybe-uninitialized] 729 | return y_begin; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -frecord-gcc-switches -Wall -g -O2 -c o_graph.c o_graph.c: In function 'o_printProc': o_graph.c:392:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 392 | system(command); | ^~~~~~~~~~~~~~~ o_graph.c:374:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] 374 | sprintf(message,"File %s already exist! Overwrite?",o_printfile); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from o_graph.c:28: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o_graph.c:385:49: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 230 [-Wformat-overflow=] 385 | sprintf(command,"xwd -frame -id %d | xpr -o %s &", | ^~ 386 | (int) XtWindow (o_displayMainWidget),o_printfile); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from o_graph.c:28: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 29 and 294 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o_graph.c: In function 'o_draw': o_graph.c:1123:50: warning: 'test_net_error' may be used uninitialized in this function [-Wmaybe-uninitialized] 1123 | test_error = (int)(o_MaxYDrawPos-(test_net_error*o_AbsoluteScale)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ o_graph.c:1122:50: warning: 'net_error' may be used uninitialized in this function [-Wmaybe-uninitialized] 1122 | error = (int)(o_MaxYDrawPos-( net_error*o_AbsoluteScale)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' ar rc lib3d.a net_analyzer.o d3_xUtils.o d3_global.o d3_anageo.o d3_shade.o d3_lists.o d3_point.o d3_dither.o d3_zgraph.o d3_fonts.o d3_graph.o d3_draw.o d3_disp.o d3_move.o d3_zValue.o d3_setup.o d3_units.o d3_links.o d3_model.o d3_project.o d3_light.o d3_pannels.o d3_main.o bn_bignet.o bn_basics.o bn_art1.o bn_art2.o bn_artmap.o bn_TD_bignet.o bn_kohonen.o bn_assoz.o o_graph.o bn_JordElm.o ui_class.o bn_bighop.o ranlib lib3d.a make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -c learn_f.c learn_f.c: In function 'propagateNetForward': learn_f.c:144:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] 144 | kr_PythonActFunction(unit_ptr->python_act_func, | ^~~~~~~~~~~~~~~~~~~~ | kr_PythonOutFunction learn_f.c: In function 'LEARN_RBF_DDA': learn_f.c:4163:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4163 | if ( *out_pat_ptr++ > 0.0 ) | ^ learn_f.c:4179:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4179 | if ( link_ptr->to->act >= theta_pos ) | ^ learn_f.c:3932:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 3932 | KernelErrorCode = ( x ); \ | ^~~~~~~~~~~~~~~ learn_f.c:4261:8: note: in expansion of macro 'RBF_ERROR_CHECK' 4261 | RBF_ERROR_CHECK | ^~~~~~~~~~~~~~~ learn_f.c:4260:6: note: some parts of macro expansion are not guarded by this 'while' clause 4260 | while ( (input_unit_ptr = * ++topo_ptr ) != NULL) | ^~~~~ learn_f.c:4218:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4218 | if ( correct_output_unit_ptr != NULL ) | ^ learn_f.c: In function 'testNetBackwardRprop': learn_f.c:5396:21: warning: variable 'error' set but not used [-Wunused-but-set-variable] 5396 | register float error, /* error */ | ^~~~~ learn_f.c: In function 'initOldDeltas': learn_f.c:6902:21: warning: variable 'all_correct' set but not used [-Wunused-but-set-variable] 6902 | int all_correct = 1; /* flag, wether all bits in the | ^~~~~~~~~~~ learn_f.c:6901:21: warning: variable 'first_hidden_ptr' set but not used [-Wunused-but-set-variable] 6901 | TopoPtrArray first_hidden_ptr; | ^~~~~~~~~~~~~~~~ learn_f.c: In function 'BPTT_propagateNetBackward': learn_f.c:7137:21: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 7137 | float dummy; | ^~~~~ learn_f.c: In function 'TEST_BPTT': learn_f.c:7271:55: warning: variable 'patterns' set but not used [-Wunused-but-set-variable] 7271 | int ret_code, pattern_no, sub_pat_no, patterns; | ^~~~~~~~ In file included from learn_f.c:51: learn_f.c: In function 'Hebb_error': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 105 | ((unit_ptr)->flags & UFLAG_IN_USE) | ^ learn_f.c:8914:9: note: in expansion of macro 'UNIT_IN_USE' 8914 | if UNIT_IN_USE( unit_ptr ) | ^~~~~~~~~~~ learn_f.c: In function 'propagateNet_kohonen': learn_f.c:7578:21: warning: 'winner' may be used uninitialized in this function [-Wmaybe-uninitialized] 7578 | int winner, current_no; | ^~~~~~ learn_f.c: In function 'propagateClassNetBackwardBatch': learn_f.c:757:59: warning: 'class_flag' may be used uninitialized in this function [-Wmaybe-uninitialized] 757 | adjust_this= (pattern_class == -1 || unit_ptr->usr_flags & class_flag); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ learn_f.c: In function 'LEARN_RBF_DDA': learn_f.c:4267:23: warning: 'correct_output_unit_no' may be used uninitialized in this function [-Wmaybe-uninitialized] 4267 | RBF_ERROR_CHECK( kr_setCurrUnit ( correct_output_unit_no ) ); | ^~~~~~~~~~~~~~ learn_f.c: In function 'LEARN_RM_delta': learn_f.c:8797:12: warning: 'ex_in' may be used uninitialized in this function [-Wmaybe-uninitialized] 8797 | error = ex_in - in_in; | ~~~~~~^~~~~~~~~~~~~~~ learn_f.c:8777:11: note: 'ex_in' was declared here 8777 | float ex_in, in_in, error, eta; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' x86_64-alt-linux-gcc libxgui1.a libxgui2.a lib3d.a \ -lXaw3d -lXmu -lXt -lXext -lSM -lICE -lX11 \ ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o xgui ld: libxgui1.a(ui_controlP.o): in function `ui_rem_performPrunInit': /usr/src/RPM/BUILD/SNNSv4.3/xgui/sources/ui_controlP.c:1191: warning: the use of `tempnam' is dangerous, better use `mkstemp' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_nc_calc_stddev': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1287: undefined reference to `propagateNetForward' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1309: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_calcMeanDeviation': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:262: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `PRUNE_OBD': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:475: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o): in function `pr_obs_calculateInverseHessian': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:798: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(prun_f.o):/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/prun_f.c:1145: more undefined references to `propagateNetForward' follow ld: ../../kernel/sources/libkernel.a(kr_ui.o): in function `krui_spanning_tree': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/kr_ui.c:5307: undefined reference to `spanning_tree' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1168): undefined reference to `LEARN_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1180): undefined reference to `LEARN_ART1' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1198): undefined reference to `LEARN_ART2' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11b0): undefined reference to `LEARN_ARTMAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11c8): undefined reference to `LEARN_perc' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11e0): undefined reference to `LEARN_backpropBatch' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x11f8): undefined reference to `LEARN_backpropChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1210): undefined reference to `LEARN_backpropClassJogChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1228): undefined reference to `LEARN_backpropJogChunk' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1240): undefined reference to `LEARN_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1258): undefined reference to `LEARN_backpropWeightDecay' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1270): undefined reference to `LEARN_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1288): undefined reference to `LEARN_BBPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x12b8): undefined reference to `LEARN_CPN' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x12e8): undefined reference to `LEARN_HEBB' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1300): undefined reference to `LEARN_JE_Backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1318): undefined reference to `LEARN_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1330): undefined reference to `LEARN_JE_Quickprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1348): undefined reference to `LEARN_JE_Rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1360): undefined reference to `LEARN_kohonen' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13a8): undefined reference to `LEARN_QPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13c0): undefined reference to `LEARN_quickprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13d8): undefined reference to `LEARN_RBF' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x13f0): undefined reference to `LEARN_RBF_DDA' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1408): undefined reference to `LEARN_RM_delta' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1420): undefined reference to `LEARN_rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1438): undefined reference to `LEARN_RpropMAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14b0): undefined reference to `LEARN_Tacoma' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14e0): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x14f8): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1510): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1528): undefined reference to `TEST_backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1540): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1558): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1588): undefined reference to `TEST_backpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15a0): undefined reference to `TEST_rprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15b8): undefined reference to `TEST_MAP' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x15d0): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1618): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1630): undefined reference to `TEST_BPTT' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1648): undefined reference to `TEST_JE_Backprop' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1660): undefined reference to `TEST_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1678): undefined reference to `TEST_JE_BackpropMomentum' ld: ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1690): undefined reference to `TEST_JE_Rprop' ld: ../../kernel/sources/libfunc.a(init_f.o): in function `RbfInitNetwork': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/init_f.c:908: undefined reference to `RbfLearnForward' ld: ../../kernel/sources/libfunc.a(init_f.o): in function `RbfStartInit': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/init_f.c:1407: undefined reference to `RbfTopoCheck' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `LEARN_MonteCarlo': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:133: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `TEST_MonteCarlo': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:217: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `LEARN_SimulatedAnnealing': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:615: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(stochastic_learn_f.o): in function `TEST_SimulatedAnnealing': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/stochastic_learn_f.c:778: undefined reference to `propagateNetForward' ld: ../../kernel/sources/libfunc.a(scaled_conj_grad.o): in function `compute_gradient': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:476: undefined reference to `propagateNetForward' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:478: undefined reference to `propagateNetBackwardBatch' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:464: undefined reference to `clearDeltas' ld: ../../kernel/sources/libfunc.a(scaled_conj_grad.o): in function `TEST_SCG': /usr/src/RPM/BUILD/SNNSv4.3/kernel/sources/scaled_conj_grad.c:508: undefined reference to `TEST_backprop' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:207: xgui] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make: *** [Makefile:67: compile-xgui] Error 2 make[1]: Entering directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o Ignore possible error messages for the following command: ranlib libfunc.a END OF COMMANDS THAT MAY FAIL make[1]: Leaving directory '/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' error: Bad exit status from /usr/src/tmp/rpm-tmp.48952 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.48952 (%build) Command exited with non-zero status 1 38.43user 4.81system 0:05.93elapsed 729%CPU (0avgtext+0avgdata 67728maxresident)k 0inputs+0outputs (0major+1381958minor)pagefaults 0swaps hsh-rebuild: rebuild of `SNNS-4.3-alt1.1.1.1.src.rpm' failed. Command exited with non-zero status 1 43.01user 8.00system 0:12.96elapsed 393%CPU (0avgtext+0avgdata 109444maxresident)k 1688inputs+0outputs (32947major+1711658minor)pagefaults 0swaps