<86>Jan 27 02:04:30 userdel[12341]: delete user 'rooter' <86>Jan 27 02:04:30 userdel[12341]: removed group 'rooter' owned by 'rooter' <86>Jan 27 02:04:30 groupadd[12375]: group added to /etc/group: name=rooter, GID=567 <86>Jan 27 02:04:30 groupadd[12375]: group added to /etc/gshadow: name=rooter <86>Jan 27 02:04:30 groupadd[12375]: new group: name=rooter, GID=567 <86>Jan 27 02:04:30 useradd[12393]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Jan 27 02:04:30 userdel[12415]: delete user 'builder' <86>Jan 27 02:04:30 userdel[12415]: removed group 'builder' owned by 'builder' <86>Jan 27 02:04:30 userdel[12415]: removed shadow group 'builder' owned by 'builder' <86>Jan 27 02:04:30 groupadd[12484]: group added to /etc/group: name=builder, GID=568 <86>Jan 27 02:04:30 groupadd[12484]: group added to /etc/gshadow: name=builder <86>Jan 27 02:04:30 groupadd[12484]: new group: name=builder, GID=568 <86>Jan 27 02:04:30 useradd[12510]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Jan 27 02:04:36 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Jan 27 02:04:36 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Jan 27 02:04:36 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Jan 27 02:04:36 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Jan 27 02:04:36 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Jan 27 02:04:36 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Jan 27 02:04:36 rpmi: libSM-devel-1.2.2-alt1 1391072686 installed <13>Jan 27 02:04:36 rpmi: xorg-xextproto-devel-2:7.3.0-alt1 1389258977 installed <13>Jan 27 02:04:36 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Jan 27 02:04:36 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Jan 27 02:04:36 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Jan 27 02:04:36 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Jan 27 02:04:36 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Jan 27 02:04:36 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Jan 27 02:04:36 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Jan 27 02:04:36 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Jan 27 02:04:36 rpmi: libXaw3d-1.6.2-alt1 1369777992 installed <13>Jan 27 02:04:38 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Jan 27 02:04:39 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Jan 27 02:04:39 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Jan 27 02:04:39 rpmi: libXmu-devel-1.1.2-alt1 1391072528 installed <13>Jan 27 02:04:39 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Jan 27 02:04:39 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Jan 27 02:04:39 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Jan 27 02:04:39 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:39 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Jan 27 02:04:39 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Jan 27 02:04:39 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Jan 27 02:04:39 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 27 02:04:39 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Jan 27 02:04:39 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Jan 27 02:04:39 rpmi: libXaw3d-devel-1.6.2-alt1 1369777992 installed <13>Jan 27 02:04:39 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Jan 27 02:04:39 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Jan 27 02:04:39 rpmi: makedepend-1.0.5-alt1 1377540022 installed <13>Jan 27 02:04:39 rpmi: imake-1.0.7-alt2 1401895768 installed <13>Jan 27 02:04:39 rpmi: flex-2.6.0-alt1 1449073214 installed <13>Jan 27 02:04:39 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Jan 27 02:04:39 groupadd[24929]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 27 02:04:39 groupadd[24929]: new group: name=_keytab, GID=499 <13>Jan 27 02:04:39 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Jan 27 02:04:39 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:39 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:39 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Jan 27 02:04:40 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 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.93767 + 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.13562 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd SNNSv4.3 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -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 -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + ./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 --without-included-gettext --enable-global configure: WARNING: unrecognized options: --disable-dependency-tracking, --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.0.4.0.14.8bf2 Written by Robert Corbett and Richard Stallman. Copyright (C) 2015 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, --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! *********************************************************************** + '[' -n '' ']' + NPROCS=8 + make -j8 compile make: Entering directory `/usr/src/RPM/BUILD/SNNSv4.3' cd kernel/sources && make cd tools/sources && make cd xgui/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 -Wall -g -O2 -c analyze.c make[1]: Entering directory `/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_pat_scan.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c pat_sel_simple.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c mkhead.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kernel.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_io.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c mkout.c analyze.c: In function 'get_options': analyze.c:298:17: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "awruvcme:i:o:h:l:sS:")) != -1) ^ 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] 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] 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] fscanf (in_file, "%*s %*s %*s %*s %d", ^ analyze.c:414:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %*s %d", ^ analyze.c:416:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %*s %d", ^ analyze.c:418:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %d", ^ analyze.c:420:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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] fscanf (in_file, "%s", str1) ; ^ analyze.c:429:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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] 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] fscanf (in_file, "%*f") ; ^ analyze.c:549:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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] fscanf (in_file, "%f", &output[i]) ; ^ analyze.c:652:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s") ; ^ 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 -Wall -g -O2 -c ui_xWidgets.c lex.yy.c:1377:13: warning: 'yyunput' defined but not used [-Wunused-function] lex.yy.c:1423:12: warning: 'input' defined but not used [-Wunused-function] mkhead.c:28:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char *argv[]) ^ pat_sel_simple.c:171:6: warning: return type of 'main' is not 'int' [-Wmain] void main (int argc, char *argv[]) ^ mkout.c:29:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char *argv[]) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c mkpat.c analyze.c:636:11: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((sel_cond & UNKNOWN) == result) ^ In file included from kernel.c:41:0: kernel.c: In function 'kr_deleteAllOutputLinks': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ kernel.c:1471:8: note: in expansion of macro 'UNIT_IN_USE' if UNIT_IN_USE( unit_ptr ) ^ kernel.c: In function 'kr_jogWeights': kernel.c:1734:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(((flags & UFLAG_IN_USE) == UFLAG_IN_USE) ^ kr_io.c: In function 'krio_readConnectionDefs': kr_io.c:2587:16: warning: variable 'LinkDummy' set but not used [-Wunused-but-set-variable] struct Link* LinkDummy; ^ kernel.c: In function 'kr_jogCorrWeights': x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c snns2c.c kernel.c:2051:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(((flags & UFLAG_IN_USE) == UFLAG_IN_USE) ^ kr_io.c: In function 'krio_saveResult': kr_io.c:3130:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (j < i_size) ^ kr_io.c:3153:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (j < o_size) ^ kernel.c: In function 'kr_callNetworkFunction': kernel.c:4000:12: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] krui_err dummy; ^ mkpat.c:28:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char *argv[]) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c snns2clib.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_mem.c need to (re)make kernel libraries first... cd ../../kernel/sources && make need to (re)make kernel libraries first... make[2]: Entering directory `/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_ui.c cd ../../kernel/sources && make make[2]: Entering directory `/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -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' [-Wimplicit-function-declaration] kr_PythonActFunction(unit_ptr->python_act_func, ^ kr_ui.c: In function 'krui_topo_err_msg': kr_ui.c:4797:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (topo_msg.dest_error_unit > 0) ^ kr_ui.c:4805:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (topo_msg.src_error_unit > 0) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c pat_sel.c pat_sel.c:61:6: warning: return type of 'main' is not 'int' [-Wmain] void main (int argc, char *argv[]) ^ pat_sel.c: In function 'main': pat_sel.c:78:2: warning: statement with no effect [-Wunused-value] exit; ^ pat_sel.c:84:2: warning: statement with no effect [-Wunused-value] exit; ^ pat_sel.c:97:9: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf("found error %d when testing pattern set %d\n",error); ^ pat_sel.c:98:9: warning: statement with no effect [-Wunused-value] exit; ^ pat_sel.c:110:26: warning: statement with no effect [-Wunused-value] if (getc(stdin) != 'y') exit; ^ pat_sel.c:114:2: warning: statement with no effect [-Wunused-value] exit; ^ pat_sel.c:65:21: warning: unused variable 'j' [-Wunused-variable] 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] fscanf(in_no_file, "%d", &pat_no[i]); ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c art_ui.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -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] float learn_parameters[5], parameterInArray[5], sum_error; ^ netlearn.c:49:30: warning: variable 'parameterInArray' set but not used [-Wunused-but-set-variable] 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] scanf("%s", file_name); ^ netlearn.c:74:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^ netlearn.c:89:6: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%f", &learn_parameters[ i ] ); ^ netlearn.c:93:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ netlearn.c:100:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^ netlearn.c:160:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_art.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c td_bignet.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_ui.c td_bignet.c:1055:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char *argv[]) ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -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] bool checked_del_rec_units = FALSE; ^ td_bignet.c: In function 'main': td_bignet.c:475:14: warning: 'y_begin' may be used uninitialized in this function [-Wmaybe-uninitialized] unit_pos.y = y_begin + y; ^ td_bignet.c:363:9: note: 'y_begin' was declared here int y_begin; ^ kr_ui.c: In function 'krui_error': kr_ui.c:4806:12: warning: 'src_unit_name' may be used uninitialized in this function [-Wmaybe-uninitialized] if (src_unit_name == NULL) ^ kr_ui.c:4783:30: note: 'src_unit_name' was declared here char *dest_unit_name, *src_unit_name; ^ kr_ui.c: In function 'krui_topo_err_msg': kr_ui.c:4797:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (topo_msg.dest_error_unit > 0) ^ kr_ui.c:4805:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (topo_msg.src_error_unit > 0) ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -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' [-Wimplicit-function-declaration] kr_PythonActFunction(unit_ptr->python_act_func, ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c ff_bignet.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_art2.c ff_bignet.c:1012:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char *argv[]) ^ ff_bignet.c: In function 'main': ff_bignet.c:366:14: warning: 'y_begin' may be used uninitialized in this function [-Wmaybe-uninitialized] unit_pos.y = y_begin + y; ^ ff_bignet.c:287:9: note: 'y_begin' was declared here int y_begin; ^ 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] if (krui_createFTypeEntry( fmt_shape1, fmt_shape2, fmt_shape3, ^ kr_io.c:2244:12: note: 'site_name_ptrs' was declared here char * *site_name_ptrs; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -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] scanf("%s", file_name); ^ netperf.c:110:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^ netperf.c:128:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &choose_me ); ^ netperf.c:150:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ netperf.c:187:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%f", &learn_parameters[ i ] ); ^ kr_ui.c: In function 'krui_error': kr_ui.c:4806:12: warning: 'src_unit_name' may be used uninitialized in this function [-Wmaybe-uninitialized] if (src_unit_name == NULL) ^ kr_ui.c:4783:30: note: 'src_unit_name' was declared here char *dest_unit_name, *src_unit_name; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -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] bool checked_del_rec_units = FALSE; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_amap.c kernel.c: In function 'kr_jogCorrWeights': kernel.c:1980:22: warning: 'maxcorrrow' may be used uninitialized in this function [-Wmaybe-uninitialized] *hn2 = first_hidden + maxcorrrow; ^ kernel.c:1811:21: note: 'maxcorrrow' was declared here int maxcorrcol, maxcorrrow; ^ kernel.c:1979:22: warning: 'maxcorrcol' may be used uninitialized in this function [-Wmaybe-uninitialized] *hn1 = first_hidden + maxcorrcol; ^ kernel.c:1811:9: note: 'maxcorrcol' was declared here int maxcorrcol, maxcorrrow; ^ kernel.c:1974:22: warning: 'mincorrrow' may be used uninitialized in this function [-Wmaybe-uninitialized] *hn2 = first_hidden + mincorrrow; ^ kernel.c:1810:21: note: 'mincorrrow' was declared here int mincorrcol, mincorrrow; ^ kernel.c:1973:22: warning: 'mincorrcol' may be used uninitialized in this function [-Wmaybe-uninitialized] *hn1 = first_hidden + mincorrcol; ^ kernel.c:1810:9: note: 'mincorrcol' was declared here int mincorrcol, mincorrrow; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c snnsbat.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c feedback-gennet.c feedback-gennet.c:51:6: warning: return type of 'main' is not 'int' [-Wmain] 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] scanf("%d",&nin); ^ feedback-gennet.c:62:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nhid); ^ feedback-gennet.c:64:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nout); ^ feedback-gennet.c:66:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&out2out); ^ feedback-gennet.c:68:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&out2hid); ^ feedback-gennet.c:70:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&linout); ^ feedback-gennet.c:72:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%s",netname); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_confirmer.c kernel.c: In function 'kr_NA_Error': kernel.c:3806:10: warning: 'error_unit_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (unit_ptr == error_unit_ptr) error_su = fabs (devit) ; ^ snnsbat.c: In function 'main': snnsbat.c:1977:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(LearnPatternFileFlag) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c convert2snns.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_main.c convert2snns.c:393:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc,char **argv) ^ convert2snns.c: In function 'control': convert2snns.c:122:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",key); ^ convert2snns.c:128:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] 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] 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] 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] 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] fscanf(fp,"%s",string); ^ convert2snns.c:302:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] 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] fscanf(fp,"%s",string); ^ convert2snns.c:357:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", name); ^ In file included from ui_main.c:80:0: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] 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] Widget banner, frame; ^ ui_main.c: At top level: ui_main.c:332:6: warning: return type of 'main' is not 'int' [-Wmain] void main (int argc, char **argv) ^ ui_main.c: In function 'ui_init': ui_main.c:113:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd( ui_pathname, MAXPATHLEN ); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c isnns.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_pat_parse.c isnns.c: In function 'main': isnns.c:361:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%s", netfilename); ^ isnns.c:435:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%s", netfilename); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_mainP.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_amap.c isnns.c:318:9: warning: 'unit_output' may be used uninitialized in this function [-Wmaybe-uninitialized] int unit_output; ^ isnns.c:441:6: warning: 'unit_input' may be used uninitialized in this function [-Wmaybe-uninitialized] read_activation(infile, unit_input, inpat); ^ isnns.c:311:12: warning: 'outpat' may be used uninitialized in this function [-Wmaybe-uninitialized] float *outpat; ^ isnns.c:310:12: warning: 'inpat' may be used uninitialized in this function [-Wmaybe-uninitialized] float *inpat; ^ 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] 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] system (cmdLine); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c linknets.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_art2.c linknets.c: In function 'main': linknets.c:1271:14: warning: variable 'equal_out_output_sizes' set but not used [-Wunused-but-set-variable] int equal_out_output_sizes = 1; ^ linknets.c:1270:14: warning: variable 'equal_out_input_sizes' set but not used [-Wunused-but-set-variable] int equal_out_input_sizes = 1; ^ linknets.c:1269:14: warning: variable 'equal_in_output_sizes' set but not used [-Wunused-but-set-variable] int equal_in_output_sizes = 1; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_newpattern.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_JordElm.c kr_JordElm.c: In function 'kr_recTouchContextUnits.isra.0': kr_JordElm.c:78:6: warning: 'unit_has_incoming_links' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((! unit_has_incoming_links) && (! IS_INPUT_UNIT (unit_ptr))) ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_rand.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] int last_cmp; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c func_tbl.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c batchman.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c gram1.tab.c ui_mainP.c: In function 'ui_loadFileFromCommandLine': ui_mainP.c:1665:7: warning: 'cfg_loaded' may be used uninitialized in this function [-Wmaybe-uninitialized] if(cfg_loaded) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_status.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c lex.yyz.c lex.yyz.c:1417:13: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput( int c, register char *yy_bp ) ^ lex.yyz.c:1463:12: warning: 'input' defined but not used [-Wunused-function] static int input() ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -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] Widget snLabel, ftypeLabel; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c icopjmp.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_infoP.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c ictab.c ui_infoP.c: In function 'ui_info_getAllUnitData': ui_infoP.c:270:30: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf((*unit).name ,""); ^ ui_infoP.c:274:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf((*unit).ftype ,""); ^ kr_newpattern.c: In function 'kr_npui_loadNewPatterns': kr_newpattern.c:601:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] free(buf); ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_newpattern.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c symtab.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] int last_cmp; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_maspar.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c backpatch.c kr_newpattern.c: In function 'kr_TotalNoOfSubPatPairs': kr_newpattern.c:1568:6: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] sum += n_sub; ^ kr_newpattern.c: In function 'kr_initSubPatternOrder': kr_newpattern.c:1333:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_control.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c memory.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c ic_snns.c kr_newpattern.c: In function 'kr_getSubPatternByOrder': kr_newpattern.c:1395:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c error.c error.c: In function 'warn_prt': error.c:141:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((!no_more_warnings) && (!message_flag) && (!warn_flag)) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c arglist.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c snns_intfce.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c special_jacket.c ic_snns.c: In function 'setCascadeParams': ic_snns.c:1267:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(log_file, "%d ", learn_param_array[i]); ^ ic_snns.c:1333:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(log_file, "%d ", learn_param_array[i]); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -pipe -Wall -g -O2 -c lex.yyy.c lex.yyy.c:1055:13: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput( int c, register char *yy_bp ) ^ lex.yyy.c:1101:12: warning: 'input' defined but not used [-Wunused-function] static int input() ^ x86_64-alt-linux-gcc analyze.o -lm -o analyze x86_64-alt-linux-gcc pat_sel_simple.o -lm -o pat_sel_simple x86_64-alt-linux-gcc mkhead.o -lm -o mkhead x86_64-alt-linux-gcc mkout.o -lm -o mkout x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c init_f.c x86_64-alt-linux-gcc mkpat.o -lm -o mkpat x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_controlP.c init_f.c: In function 'RbfInitNetwork': init_f.c:882:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(h_unit_ptr->python_act_func, ^ init_f.c: In function 'RbfKohonenInit': init_f.c:1178:10: warning: variable 'norm_init' set but not used [-Wunused-but-set-variable] float norm_init; /* initialization value */ ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_file.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_fileP.c kr_newpattern.c: In function 'kr_npui_loadNewPatterns': kr_newpattern.c:601:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] free(buf); ^ In file included from ui_controlP.c:66:0: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^ ui_controlP.c: In function 'ui_rem_defSubPat': ui_controlP.c:2029:52: warning: variable 'ostep' set but not used [-Wunused-but-set-variable] isize,istep,itot,otot,osize,ostep; ^ ui_controlP.c:2029:30: warning: variable 'istep' set but not used [-Wunused-but-set-variable] 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] sprintf(buf,""); ^ In file included from ui_fileP.c:35:0: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^ ic_snns.c: In function 'pruneNet': ic_snns.c:1777:14: warning: 'tmp_file1' may be used uninitialized in this function [-Wmaybe-uninitialized] kr_err = krui_saveNet(tmp_file1, netname); ^ kr_newpattern.c: In function 'kr_TotalNoOfSubPatPairs': kr_newpattern.c:1568:6: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] sum += n_sub; ^ ic_snns.c: In function 'setActFunc': ic_snns.c:1952:6: warning: 'unit_type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (unit_type) { ^ ic_snns.c: In function 'setSeed': ic_snns.c:2206:3: warning: 'seed' may be used uninitialized in this function [-Wmaybe-uninitialized] krui_setSeedNo(seed); ^ kr_newpattern.c: In function 'kr_initSubPatternOrder': kr_newpattern.c:1333:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ ui_file.c: In function 'ui_xCreateFilePanel': ui_file.c:562:32: warning: variable 'label' set but not used [-Wunused-but-set-variable] 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] 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] getcwd(cwd, SELECTED_NAME_LENGTH); ^ 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] subOPatPos[dim] = o_temp; ^ ui_controlP.c:549:21: warning: 'i_temp' may be used uninitialized in this function [-Wmaybe-uninitialized] subIPatPos[dim] = i_temp; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_setup.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_setupP.c kr_newpattern.c: In function 'kr_getSubPatternByOrder': kr_newpattern.c:1395:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ ui_controlP.c: In function 'ui_rem_performPrun': ui_controlP.c:1263:8: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (err != KRERR_NO_ERROR) ^ init_f.c: In function 'INIT_Weights_CPNv33': init_f.c:484:56: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized] link_ptr->weight = (FlintType) drand48() * intervall + offset; ^ init_f.c:484:44: warning: 'intervall' may be used uninitialized in this function [-Wmaybe-uninitialized] link_ptr->weight = (FlintType) drand48() * intervall + offset; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_xGraphic.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_netGraph.c init_f.c: In function 'RbfKohonenInit': init_f.c:1285:14: warning: 'reshuffle' may be used uninitialized in this function [-Wmaybe-uninitialized] if (shuffle && reshuffle) ^ ui_netGraph.c: In function 'ui_drawGrowingThing': ui_netGraph.c:112:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (performDraw) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_utilP.c ui_xGraphic.c: In function 'ui_xDrawTriangle': ui_xGraphic.c:92:22: warning: variable 'npts' set but not used [-Wunused-but-set-variable] int npts[1]; ^ init_f.c: In function 'RbfStartInit': init_f.c:1387:11: warning: 'ret_code' may be used uninitialized in this function [-Wmaybe-uninitialized] krui_err ret_code; /* error return code */ ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_newpattern.c ui_netGraph.c: In function 'ui_drawUnit': ui_netGraph.c:277:2: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf(buf,"%4.3f", value); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_netUpdate.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -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' [-Wimplicit-function-declaration] kr_PythonActFunction(h_unit_ptr->python_act_func, ^ init_f.c: In function 'RbfKohonenInit': init_f.c:1178:10: warning: variable 'norm_init' set but not used [-Wunused-but-set-variable] float norm_init; /* initialization value */ ^ 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] int last_cmp; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_event.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_selection.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_action.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_key.c In file included from ui_key.c:54:0: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^ init_f.c: In function 'INIT_Weights_CPNv33': init_f.c:484:56: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized] link_ptr->weight = (FlintType) drand48() * intervall + offset; ^ init_f.c:484:44: warning: 'intervall' may be used uninitialized in this function [-Wmaybe-uninitialized] link_ptr->weight = (FlintType) drand48() * intervall + offset; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_textP.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_lists.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_layer.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_td.c ui_layer.c: In function 'ui_xCreateLayerPanel': ui_layer.c:59:27: warning: variable 'nameLabel' set but not used [-Wunused-but-set-variable] Widget oldLabel, nameLabel, nrLabel, label; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_funcs.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_layerP.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] 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] 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] int last_log_layer; ^ kr_td.c:832:40: warning: variable 'eta' set but not used [-Wunused-but-set-variable] register float sum_error, eta, devit; ^ ui_action.c: In function 'ui_action_linksCopyEnvironment': init_f.c: In function 'RbfKohonenInit': init_f.c:1285:14: warning: 'reshuffle' may be used uninitialized in this function [-Wmaybe-uninitialized] if (shuffle && reshuffle) ^ ui_action.c:1264:9: warning: 'selPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (krui_getUnitInputType(selPtr->unitNo) == SITES) { ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_display.c init_f.c: In function 'RbfStartInit': init_f.c:1387:11: warning: 'ret_code' may be used uninitialized in this function [-Wmaybe-uninitialized] krui_err ret_code; /* error return code */ ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_edit.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_config.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c learn_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_color.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_inversion.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] krui_setClassDistribution(dist); ^ In file included from ui_config.c:52:0: ../../kernel/sources/kr_ui.h:196:18: note: expected 'unsigned int *' but argument is of type 'int *' extern krui_err krui_setClassDistribution(unsigned int *classDist); ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c prun_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_funcdispl.c prun_f.c: In function 'pr_checkDeadUnits': prun_f.c:142:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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' [-Wparentheses] if (!IS_SPECIAL_UNIT (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] 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' [-Wparentheses] 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' [-Wparentheses] if (! IS_SPECIAL_UNIT (unit_ptr)) ^ learn_f.c: In function 'propagateNetForward': learn_f.c:144:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(unit_ptr->python_act_func, ^ ui_color.c: In function 'ui_init_colorPalette2': ui_color.c:422:11: warning: variable 's' set but not used [-Wunused-but-set-variable] 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] char vc[30], buf[255]; ^ ui_color.c:477:10: warning: unused variable 'vc' [-Wunused-variable] char vc[30], buf[255]; ^ learn_f.c: In function 'LEARN_RBF_DDA': ui_color.c: In function 'setHSVcolor': ui_color.c:384:61: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] 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] setRGBcolor(ind, ((float)r)/RGBMAX, ((float)g)/RGBMAX, ((float)b)/RGBMAX); ^ learn_f.c:4163:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ( *out_pat_ptr++ > 0.0 ) ^ learn_f.c:4179:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ( link_ptr->to->act >= theta_pos ) ^ learn_f.c:4218:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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] register float error, /* error */ ^ ui_inversion.c: In function 'ui_inversion': ui_inversion.c:541:20: warning: 'dummy2' may be used uninitialized in this function [-Wmaybe-uninitialized] dummy2->next = NULL; ^ ui_inversion.c:485:44: note: 'dummy2' was declared here struct UnitList *IUnit,*OUnit,*dummy1,*dummy2; ^ ui_inversion.c:540:20: warning: 'dummy1' may be used uninitialized in this function [-Wmaybe-uninitialized] dummy1->next = NULL; ^ ui_inversion.c:485:36: note: 'dummy1' was declared here struct UnitList *IUnit,*OUnit,*dummy1,*dummy2; ^ learn_f.c: In function 'initOldDeltas': learn_f.c:6902:21: warning: variable 'all_correct' set but not used [-Wunused-but-set-variable] 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] 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] 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] int ret_code, pattern_no, sub_pat_no, patterns; ^ In file included from learn_f.c:51:0: learn_f.c: In function 'Hebb_error': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ learn_f.c:8914:9: note: in expansion of macro 'UNIT_IN_USE' if UNIT_IN_USE( unit_ptr ) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_displmap.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_td.c ui_displmap.c: In function 'ui_map_event': ui_displmap.c:241:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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] 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] krui_updateNet(NULL,(int)NULL); ^ kr_newpattern.c: In function 'kr_npui_loadNewPatterns': kr_newpattern.c:601:2: warning: 'buf' may be used uninitialized in this function [-Wmaybe-uninitialized] free(buf); ^ kr_td.c: In function 'propagateTDNetBackward': kr_td.c:205:28: warning: variable 'last_log_layer' set but not used [-Wunused-but-set-variable] 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] 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] int last_log_layer; ^ kr_td.c:832:40: warning: variable 'eta' set but not used [-Wunused-but-set-variable] register float sum_error, eta, devit; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -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] dx = dy = abs( (int)(reference * (float)strength)); ^ ui_displwght.c:235:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] Widget label,form; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c tbl_func.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_print.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c trans_f.c kr_newpattern.c: In function 'kr_TotalNoOfSubPatPairs': kr_newpattern.c:1568:6: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] sum += n_sub; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_colEdit.c In file included from trans_f.c:30:0: trans_f.c: In function 'ACT_TACOMA': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ trans_f.c:607:3: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS ^ trans_f.c: In function 'RbfUnitGetNormsqr': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ trans_f.c:667:9: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS ^ trans_f.c: In function 'ACT_DERIV_TACOMA': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ trans_f.c:1425:3: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS ^ kr_newpattern.c: In function 'kr_initSubPatternOrder': kr_newpattern.c:1333:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ ui_print.c: In function 'ui_printProc': ui_print.c:181:11: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] value /= (displayPtr->setup).unitScaleFactor; ^ ui_print.c:153:24: note: 'value' was declared here FlintType value; ^ ui_print.c:805:13: warning: 'commandLine' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = system(commandLine); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_result.c kr_newpattern.c: In function 'kr_getSubPatternByOrder': kr_newpattern.c:1395:9: warning: 'n_sub' may be used uninitialized in this function [-Wmaybe-uninitialized] int n_sub; ^ 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] 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] ui_result_lastcall(NULL, (int) NULL, NULL); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c cc_main.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c pr_main.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_kohonen.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c net_analyzer.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_xUtils.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c kr_td.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_global.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_anageo.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_shade.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] 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] 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] int last_log_layer; ^ kr_td.c:832:40: warning: variable 'eta' set but not used [-Wunused-but-set-variable] register float sum_error, eta, devit; ^ learn_f.c: In function 'propagateNet_kohonen': learn_f.c:7664:12: warning: 'winner' may be used uninitialized in this function [-Wmaybe-uninitialized] horwin = winner % sizehor; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_lists.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c tbl_func.c learn_f.c: In function 'propagateClassNetBackwardBatch': learn_f.c:757:59: warning: 'class_flag' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_this= (pattern_class == -1 || unit_ptr->usr_flags & class_flag); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_point.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c update_f.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c update_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_dither.c In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_syncPropagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:81:5: note: in expansion of macro 'UNIT_IN_USE' 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] 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] 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] 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] 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] 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] 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] 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] struct Unit *winner_ptr_a; /* the winner of w.t.a of ARTa */ ^ In file included from update_f.c:48:0: update_f.c: In function 'UPDATE_FixAct_Hop': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ update_f.c:2037:5: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS /* defines link- and site-pointer */ ^ update_f.c:2036:34: warning: variable 'aux' set but not used [-Wunused-but-set-variable] FlintType sum, aux, min; ^ In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_RM_Propagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:2161:7: note: in expansion of macro 'UNIT_IN_USE' if UNIT_IN_USE( unit_ptr ) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_zgraph.c In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_syncPropagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:81:5: note: in expansion of macro 'UNIT_IN_USE' 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] 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] 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] 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] 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] 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] 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] struct Unit *winner_ptr_b; /* the winner of w.t.a of ARTb */ ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_fonts.c update_f.c:1285:19: warning: variable 'winner_ptr_a' set but not used [-Wunused-but-set-variable] struct Unit *winner_ptr_a; /* the winner of w.t.a of ARTa */ ^ In file included from update_f.c:48:0: update_f.c: In function 'UPDATE_FixAct_Hop': x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_graph.c func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ update_f.c:2037:5: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS /* defines link- and site-pointer */ ^ update_f.c:2036:34: warning: variable 'aux' set but not used [-Wunused-but-set-variable] FlintType sum, aux, min; ^ In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_RM_Propagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:2161:7: note: in expansion of macro 'UNIT_IN_USE' if UNIT_IN_USE( unit_ptr ) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_draw.c d3_graph.c: In function 'd3_drawPoly': d3_graph.c:232:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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] Status status; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c update_f.c d3_graph.c: In function 'd3_drawPoly': d3_graph.c:193:40: warning: 'top' may be used uninitialized in this function [-Wmaybe-uninitialized] register int i, li, ri, y, ly, ry, top, rem, mask; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_disp.c In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_syncPropagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:81:5: note: in expansion of macro 'UNIT_IN_USE' 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] 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] 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] 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] 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] 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] 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] 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] struct Unit *winner_ptr_a; /* the winner of w.t.a of ARTa */ ^ In file included from update_f.c:48:0: update_f.c: In function 'UPDATE_FixAct_Hop': func_mac.h:27:52: warning: unused variable '__site_ptr' [-Wunused-variable] register struct Site *__site_ptr; ^ update_f.c:2037:5: note: in expansion of macro 'ACT_FUNC_DEFS' ACT_FUNC_DEFS /* defines link- and site-pointer */ ^ update_f.c:2036:34: warning: variable 'aux' set but not used [-Wunused-but-set-variable] FlintType sum, aux, min; ^ In file included from update_f.c:36:0: update_f.c: In function 'UPDATE_RM_Propagate': kr_mac.h:105:1: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ((unit_ptr)->flags & UFLAG_IN_USE) ^ update_f.c:2161:7: note: in expansion of macro 'UNIT_IN_USE' if UNIT_IN_USE( unit_ptr ) ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_move.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_zValue.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_setup.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] 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] Widget label_widget; ^ d3_setup.c: In function 'd3_closeSetupPannel': d3_setup.c:109:21: warning: variable 'f4' set but not used [-Wunused-but-set-variable] int f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_units.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_links.c d3_units.c: In function 'd3_createUnitPannel': d3_units.c:190:56: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] Widget unitPannel, border, pannel1, pannel2, done, dummy; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_model.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_project.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_light.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_pannels.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c d3_main.c In file included from d3_pannels.c:61:0: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^ 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] RBF_ERROR_CHECK( kr_setCurrUnit ( correct_output_unit_no ) ); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_bignet.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c remap_f.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c remap_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_basics.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_art1.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] int Width, Height; ^ bn_basics.c:64:17: warning: variable 'Width' set but not used [-Wunused-but-set-variable] int Width, Height; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_art2.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_artmap.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c remap_f.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c matrix.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c matrix.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_TD_bignet.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c matrix.c matrix.c: In function 'RbfInvMatrix': matrix.c:228:25: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] register int i, j, k, imax; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c arttr_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_kohonen.c matrix.c: In function 'RbfInvMatrix': matrix.c:228:25: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] register int i, j, k, imax; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c arttr_f.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_assoz.c matrix.c: In function 'RbfInvMatrix': matrix.c:228:25: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] register int i, j, k, imax; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_learn.c 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] error = ex_in - in_in; ^ learn_f.c:8777:11: note: 'ex_in' was declared here float ex_in, in_in, error, eta; ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c o_graph.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c arttr_f.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_learn.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] return y_begin; ^ cc_learn.c: In function 'cc_trainSpecialUnits': cc_learn.c:228:11: warning: variable 'Error' set but not used [-Wunused-but-set-variable] float Error; ^ In file included from cc_learn.c:41:0: cc_learn.c: In function 'cc_trainOutputUnits': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^ cc_learn.c:316:12: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 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] register TopoPtrArray topo_ptr; ^ cc_learn.c: In function 'cc_trainSpecialUnits': cc_learn.c:228:11: warning: variable 'Error' set but not used [-Wunused-but-set-variable] float Error; ^ In file included from cc_learn.c:41:0: cc_learn.c: In function 'cc_trainOutputUnits': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^ cc_learn.c:316:12: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' 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] register TopoPtrArray topo_ptr; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_prune.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] system(command); ^ x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_JordElm.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_modify.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c ui_class.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_prune.c x86_64-alt-linux-gcc -fPIC -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -DHELP_HDOCDIR="\"/usr/share/SNNSv4.3\"" -DSNNSCONFDIR="\"/etc/SNNSv4.3\"" -pipe -Wall -g -O2 -c bn_bighop.c 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] 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] error = (int)(o_MaxYDrawPos-( net_error*o_AbsoluteScale)); ^ need to (re)make kernel libraries first... cd ../../kernel/sources && make 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 cc_modify.c: In function 'cc_MakeMiscCalculationsForModifications': cc_modify.c:394:55: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ccs_GroupList[j] == FIELD_EMPTY) k++; ^ Ignore possible error messages for the following command: ranlib libkernel.a END OF COMMANDS THAT MAY FAIL x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_glob.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_glob.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_modify.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_display.c In file included from cc_glob.c:43:0: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); ^ cc_glob.c:97:18: warning: variable 'CorrWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:97:9: warning: variable 'WhichWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:96:9: warning: variable 'Correct' set but not used [-Wunused-but-set-variable] int Correct; ^ cc_glob.c: In function 'cc_LayerCorrectnessTest': cc_glob.c:169:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((CC_LAYER_NO(UnitPtr2)+1) > CC_LAYER_NO(UnitPtr)) ^ cc_glob.c: At top level: cc_glob.c:771:14: warning: 'DepthFirst5' defined but not used [-Wunused-function] static void DepthFirst5(struct Unit *unit_ptr, int depth ) ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_prune.c In file included from cc_glob.c:43:0: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); ^ cc_glob.c:97:18: warning: variable 'CorrWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:97:9: warning: variable 'WhichWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:96:9: warning: variable 'Correct' set but not used [-Wunused-but-set-variable] int Correct; ^ cc_glob.c: In function 'cc_LayerCorrectnessTest': cc_glob.c:169:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((CC_LAYER_NO(UnitPtr2)+1) > CC_LAYER_NO(UnitPtr)) ^ cc_glob.c: At top level: cc_glob.c:771:14: warning: 'DepthFirst5' defined but not used [-Wunused-function] static void DepthFirst5(struct Unit *unit_ptr, int depth ) ^ 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 need to (re)make kernel libraries first... ranlib libxgui1.a cd ../../kernel/sources && make 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 cc_display.c: In function 'cc_calculateNetParameters': cc_display.c:152:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(IS_INPUT_UNIT(unitPtr)) ^ cc_display.c:154:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(IS_OUTPUT_UNIT(unitPtr)) ^ make[2]: Entering directory `/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c tacoma_learn.c 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 libxgui2.a ranlib lib3d.a x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c dlvq_learn.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c stochastic_learn_f.c tacoma_learn.c: In function 'tac_connect': tacoma_learn.c:338:53: warning: comparison with string literal results in unspecified behavior [-Waddress] 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] struct Link* NewLink; ^ tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] krui_err tac_initXiAndRis(StartPattern,EndPattern) ^ tacoma_learn.c:475:10: warning: type of 'EndPattern' defaults to 'int' [-Wimplicit-int] cc_modify.c: In function 'cc_MakeMiscCalculationsForModifications': cc_modify.c:394:55: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ccs_GroupList[j] == FIELD_EMPTY) k++; ^ tacoma_learn.c: In function 'LEARN_Tacoma': tacoma_learn.c:1050:17: warning: variable 'LinkPtr' set but not used [-Wunused-but-set-variable] struct Link* LinkPtr; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_glob.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c tacoma_learn.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c tacoma_learn.c In file included from cc_glob.c:43:0: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction' [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); ^ cc_glob.c:97:18: warning: variable 'CorrWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:97:9: warning: variable 'WhichWin' set but not used [-Wunused-but-set-variable] int WhichWin,CorrWin; ^ cc_glob.c:96:9: warning: variable 'Correct' set but not used [-Wunused-but-set-variable] int Correct; ^ cc_glob.c: In function 'cc_LayerCorrectnessTest': cc_glob.c:169:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((CC_LAYER_NO(UnitPtr2)+1) > CC_LAYER_NO(UnitPtr)) ^ cc_glob.c: At top level: cc_glob.c:771:14: warning: 'DepthFirst5' defined but not used [-Wunused-function] static void DepthFirst5(struct Unit *unit_ptr, int depth ) ^ 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] NET_ERROR(OutParameter) += error; ^ tacoma_learn.c: In function 'tac_connect': tacoma_learn.c:338:53: warning: comparison with string literal results in unspecified behavior [-Waddress] 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] struct Link* NewLink; ^ tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] 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] struct Link* LinkPtr; ^ tacoma_learn.c: In function 'tac_connect': tacoma_learn.c:338:53: warning: comparison with string literal results in unspecified behavior [-Waddress] 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] struct Link* NewLink; ^ tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] 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] struct Link* LinkPtr; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c scaled_conj_grad.c 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] NET_ERROR(OutParameter) += error; ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c scaled_conj_grad.c tacoma_learn.c: In function 'tac_NextSpecialUnit': tacoma_learn.c:550:9: warning: 'NextSpecialUnitInInputSpace' may be used uninitialized in this function [-Wmaybe-uninitialized] return(NextSpecialUnitInInputSpace); ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c cc_display.c tacoma_learn.c: In function 'tac_NextSpecialUnit': tacoma_learn.c:550:9: warning: 'NextSpecialUnitInInputSpace' may be used uninitialized in this function [-Wmaybe-uninitialized] return(NextSpecialUnitInInputSpace); ^ tacoma_learn.c: In function 'tac_NextSpecialUnit': tacoma_learn.c:550:9: warning: 'NextSpecialUnitInInputSpace' may be used uninitialized in this function [-Wmaybe-uninitialized] return(NextSpecialUnitInInputSpace); ^ cc_display.c: In function 'cc_calculateNetParameters': cc_display.c:152:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(IS_INPUT_UNIT(unitPtr)) ^ cc_display.c:154:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(IS_OUTPUT_UNIT(unitPtr)) ^ x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c scaled_conj_grad.c x86_64-alt-linux-gcc -fPIC -I../.. -pipe -Wall -g -O2 -c scaled_conj_grad.c 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 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 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 libkernel.a Ignore possible error messages for the following command: ranlib libfunc.a END OF COMMANDS THAT MAY FAIL 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 END OF COMMANDS THAT MAY FAIL make[2]: Leaving directory `/usr/src/RPM/BUILD/SNNSv4.3/kernel/sources' end of (re)making kernel libraries 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' end of (re)making kernel libraries 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 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' ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x1450): undefined reference to `LEARN_SCG' ../../kernel/sources/libfunc.a(func_tbl.o):(.data.rel+0x16c0): undefined reference to `TEST_SCG' collect2: error: ld returned 1 exit status make[1]: *** [xgui] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/SNNSv4.3/xgui/sources' make: *** [compile-xgui] Error 2 make: *** Waiting for unfinished jobs.... 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' 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' end of (re)making kernel libraries 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 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 END OF COMMANDS THAT MAY FAIL 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' end of (re)making kernel libraries x86_64-alt-linux-gcc snns2c.o snns2clib.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o snns2c x86_64-alt-linux-gcc pat_sel.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o pat_sel x86_64-alt-linux-gcc netlearn.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o netlearn x86_64-alt-linux-gcc td_bignet.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o td_bignet x86_64-alt-linux-gcc ff_bignet.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o ff_bignet x86_64-alt-linux-gcc netperf.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o netperf x86_64-alt-linux-gcc snnsbat.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o snnsbat x86_64-alt-linux-gcc feedback-gennet.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o feedback-gennet x86_64-alt-linux-gcc convert2snns.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o convert2snns x86_64-alt-linux-gcc isnns.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o isnns x86_64-alt-linux-gcc linknets.o snns2clib.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o linknets x86_64-alt-linux-gcc batchman.o gram1.tab.o lex.yyz.o icopjmp.o ictab.o symtab.o backpatch.o memory.o ic_snns.o error.o arglist.o snns_intfce.o special_jacket.o lex.yyy.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -lfl -o batchman snnsbat.o: In function `main': /usr/src/RPM/BUILD/SNNSv4.3/tools/sources/snnsbat.c:1785: warning: the use of `tempnam' is dangerous, better use `mkstemp' ic_snns.o: In function `pruneNet': /usr/src/RPM/BUILD/SNNSv4.3/tools/sources/ic_snns.c:1770: warning: the use of `tempnam' is dangerous, better use `mkstemp' make[1]: Leaving directory `/usr/src/RPM/BUILD/SNNSv4.3/tools/sources' make: Leaving directory `/usr/src/RPM/BUILD/SNNSv4.3' error: Bad exit status from /usr/src/tmp/rpm-tmp.13562 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.13562 (%build) Command exited with non-zero status 1 96.90user 7.96system 0:42.00elapsed 249%CPU (0avgtext+0avgdata 67712maxresident)k 0inputs+0outputs (0major+1428276minor)pagefaults 0swaps hsh-rebuild: rebuild of `SNNS-4.3-alt1.1.1.1.src.rpm' failed. Command exited with non-zero status 1 115.05user 13.13system 1:08.72elapsed 186%CPU (0avgtext+0avgdata 125140maxresident)k 368inputs+0outputs (0major+1761880minor)pagefaults 0swaps