<86>Jul 27 06:38:58 userdel[1290347]: delete user 'rooter' <86>Jul 27 06:38:58 userdel[1290347]: removed group 'rooter' owned by 'rooter' <86>Jul 27 06:38:58 groupadd[1290373]: group added to /etc/group: name=rooter, GID=663 <86>Jul 27 06:38:58 groupadd[1290373]: group added to /etc/gshadow: name=rooter <86>Jul 27 06:38:58 groupadd[1290373]: new group: name=rooter, GID=663 <86>Jul 27 06:38:58 useradd[1290394]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Jul 27 06:38:58 userdel[1290428]: delete user 'builder' <86>Jul 27 06:38:58 userdel[1290428]: removed group 'builder' owned by 'builder' <86>Jul 27 06:38:58 userdel[1290428]: removed shadow group 'builder' owned by 'builder' <86>Jul 27 06:38:58 groupadd[1290462]: group added to /etc/group: name=builder, GID=664 <86>Jul 27 06:38:58 groupadd[1290462]: group added to /etc/gshadow: name=builder <86>Jul 27 06:38:58 groupadd[1290462]: new group: name=builder, GID=664 <86>Jul 27 06:38:58 useradd[1290484]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Jul 27 06:39:02 rpmi: libidn2-2.3.1-alt1 sisyphus+279536.100.1.2 1626591499 installed <13>Jul 27 06:39:02 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jul 27 06:39:03 rpmi: libstdc++10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jul 27 06:39:04 rpmi: gcc10-c++-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jul 27 06:39:04 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Jul 27 06:39:04 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Jul 27 06:39:04 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jul 27 06:39:04 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jul 27 06:39:04 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jul 27 06:39:04 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 27 06:39:04 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Jul 27 06:39:05 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469546 installed <13>Jul 27 06:39:05 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+279286.100.1.1 1626469546 installed <13>Jul 27 06:39:05 rpmi: wget-1.21-alt1 sisyphus+278960.100.1.1 1626304262 installed <13>Jul 27 06:39:05 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jul 27 06:39:05 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+275295.100.2.3 1624485314 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt2.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56242 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsmi-0.5.0 + echo 'Source #0 (libsmi-0.5.0.tar):' Source #0 (libsmi-0.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libsmi-0.5.0.tar + cd libsmi-0.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libsmi-0.5.0-alt2.patch):' Patch #0 (libsmi-0.5.0-alt2.patch): + /usr/bin/patch -p1 patching file lib/Makefile.am patching file lib/parser-sming.y patching file lib/scanner-smi.h patching file lib/scanner-sming.h patching file lib/scanner-yang.h patching file tools/smicache.1.in patching file tools/smistrip.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.56242 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + libtoolize --copy --force libtoolize-default: putting auxiliary files in '.'. libtoolize-default: copying file './ltmain.sh' libtoolize-default: You should add the contents of the following files to 'aclocal.m4': libtoolize-default: '/usr/share/libtool-2.4/aclocal/libtool.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltoptions.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltsugar.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltversion.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/lt~obsolete.m4' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E 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/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 pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 12877: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o util.lo util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c util.c -fPIC -DPIC -o .libs/util.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o error.lo error.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c error.c -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang-complex-types.c -fPIC -DPIC -o .libs/yang-complex-types.o yang-complex-types.c: In function 'addCTExtNode': yang-complex-types.c:148:9: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 148 | createIdentifierRef(ret, prefix, identifier); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o snprintf.lo snprintf.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common.lo common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c common.c -fPIC -DPIC -o .libs/common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi2yang.lo smi2yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi-check.lo smi-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi-check.c -fPIC -DPIC -o .libs/smi-check.o smi-check.c: In function 'smiCheckIndex': smi-check.c:779:2: warning: enumeration value 'SMI_BASETYPE_POINTER' not handled in switch [-Wswitch] 779 | switch (typePtr->export.basetype) { | ^~~~~~ smi-check.c: In function 'smiCheckNotificationMembers': smi-check.c:2085:11: warning: variable 'node' set but not used [-Wunused-but-set-variable] 2085 | Node *node = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-check.lo yang-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang-check.c -fPIC -DPIC -o .libs/yang-check.o yang-check.c: In function 'findTargetNode': yang-check.c:249:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 250 | || childPtr->export.nodeKind == YANG_DECL_OUTPUT && !strcmp("output", value)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c: In function 'resolveXPath': yang-check.c:328:43: warning: comparison between 'YangStatus' and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang.lo yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-data.lo yang-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang-data.c -fPIC -DPIC -o .libs/yang-data.o yang-data.c: In function 'getUniqueList': yang-data.c:1173:28: warning: unused variable 'item' [-Wunused-variable] 1173 | YangList *ret = NULL, *item = NULL, *prev = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi-data.lo smi-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi-data.c -fPIC -DPIC -o .libs/smi-data.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi.lo smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi.c -fPIC -DPIC -o .libs/smi.o smi.c: In function 'smiValueAsString': smi.c:522:2: warning: enumeration value 'SMI_LANGUAGE_UNKNOWN' not handled in switch [-Wswitch] 522 | switch (smiLanguage) { | ^~~~~~ smi.c: In function 'smiUnpack': smi.c:3000:15: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3000 | int i, j, last = 0; | ^~~~ smi.c: In function 'smiAsprintf': smi.c:3076:10: warning: implicit declaration of function 'vasprintf'; did you mean 'vasnprintf'? [-Wimplicit-function-declaration] 3076 | rc = vasprintf(strp, format, ap); | ^~~~~~~~~ | vasnprintf In file included from /usr/include/string.h:532, from smi.c:18: In function 'strncpy', inlined from 'smiValueAsString' at smi.c:566:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:549:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:535:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psming -t -o scanner-sming.c scanner-sming.l > scanner-sming.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Pyang -t -o scanner-yang.c scanner-yang.l > scanner-yang.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parser-smi.lo parser-smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c parser-smi.c -fPIC -DPIC -o .libs/parser-smi.o parser-smi.c:2723:52: warning: null character(s) ignored 2723 | 298, 298, 299, 299, 301, 300, 303, 302, 304, 304, | ^ parser-smi.y:48:39: error: 'parserPtr' undeclared here (not in a function) 48 | #define thisParserPtr ((Parser *)parserPtr) | ^~~~~~~~~ parser-smi.c:2723: note: in expansion of macro 'thisParserPtr' 2723 | 298, 298, 299, 299, 301, 300, 303, 302, 304, 304, | parser-smi.c:2724:52: error: 'yyvsp' undeclared here (not in a function) 2724 | 305, 305, 306, 307, 307, 307, 309, 310, 311, 308, | ^~~~~ parser-smi.c:2725:33: error: expected '}' before 'smiPrintError' 2725 | 312, 312, 313, 313, 315, 314, 316, 316, 317, 318, | ^~~~~~~~~~~~~ parser-smi.c:2684:1: note: to match this '{' 2684 | { | ^ parser-smi.c:4159:5: error: expected ',' or ';' before 'break' 4159 | { | ^ parser-smi.c:4161:3: error: expected identifier or '(' before 'case' 4161 | | ^ parser-smi.c:4179:5: error: expected identifier or '(' before 'break' 4179 | break; | ^~~~~ parser-smi.c:4181:3: error: expected identifier or '(' before 'case' 4181 | case 142: /* VarType: ObjectName */ | ^~~~ parser-smi.c:4212:5: error: expected identifier or '(' before 'break' 4212 | case 146: /* MaxOrPIBAccessPart: PibAccessPart */ | ^~~~~ parser-smi.c:4214:3: error: expected identifier or '(' before 'case' 4214 | { | ^ parser-smi.c:4220:5: error: expected identifier or '(' before 'break' 4220 | } | ^ parser-smi.c:4222:3: error: expected identifier or '(' before 'case' 4222 | break; | ^ ~~ parser-smi.c:4256:5: error: expected identifier or '(' before 'break' 4256 | #line 5211 "parser-smi.c" | ^~~~~ parser-smi.c:4258:3: error: expected identifier or '(' before 'case' 4258 | | ^ parser-smi.c:4265:5: error: expected identifier or '(' before 'break' 4265 | case 153: /* SPPIPibReferencesPart: %empty */ | ^~~~~ parser-smi.c:4267:3: error: expected identifier or '(' before 'case' 4267 | { (yyval.objectPtr) = 0; } | ^ parser-smi.c:4281:5: error: expected identifier or '(' before 'break' 4281 | #line 3322 "parser-smi.y" | ^~~~~ parser-smi.c:4283:3: error: expected identifier or '(' before 'case' 4283 | #line 5238 "parser-smi.c" | ^~~~ parser-smi.c:4321:5: error: expected identifier or '(' before 'break' 4321 | { (yyval.listPtr) = NULL; } | ^ parser-smi.c:4323:3: error: expected identifier or '(' before 'case' 4323 | break; | ^ ~~ parser-smi.c:4331:5: error: expected identifier or '(' before 'break' 4331 | } | ^ parser-smi.c:4333:3: error: expected identifier or '(' before 'case' 4333 | break; | ^ ~~ parser-smi.c:4341:5: error: expected identifier or '(' before 'break' 4341 | p->ptr = (yyvsp[0].objectPtr); | ^ ~~ parser-smi.c:4343:3: error: expected identifier or '(' before 'case' 4343 | for (pp = (yyvsp[-2].listPtr); pp->nextPtr; pp = pp->nextPtr); | ^ parser-smi.c:4356:5: error: expected identifier or '(' before 'break' 4356 | case 165: /* $@21: %empty */ | ^~~~~ parser-smi.c:4358:3: error: expected identifier or '(' before 'case' 4358 | { | ^ parser-smi.c:4441:5: error: expected identifier or '(' before 'break' 4441 | break; | ^~~~~ parser-smi.c:4443:3: error: expected identifier or '(' before 'case' 4443 | case 173: /* $@23: %empty */ | ^~~~ parser-smi.c:4451:5: error: expected identifier or '(' before 'break' 4451 | } | ^ parser-smi.c:4453:3: error: expected identifier or '(' before 'case' 4453 | break; | ^ ~~ parser-smi.c:4472:5: error: expected identifier or '(' before 'break' 4472 | #line 5427 "parser-smi.c" | ^~~~~ parser-smi.c:4474:3: error: expected identifier or '(' before 'case' 4474 | | ^ parser-smi.c:4480:5: error: expected identifier or '(' before 'break' 4480 | if (thisParserPtr->modulePtr->export.language == SMI_LANGUAGE_SPPI) | ^ parser-smi.c:4482:3: error: expected identifier or '(' before 'case' 4482 | | ^ parser-smi.c:4489:5: error: expected identifier or '(' before 'break' 4489 | ERR_MACRO_NOT_IMPORTED, | ^ parser-smi.c:4491:3: error: expected identifier or '(' before 'case' 4491 | "SNMPv2-SMI"); | ^ parser-smi.c:4524:5: error: expected identifier or '(' before 'break' 4524 | if ((yyvsp[-4].text)) { | ^ ~~ parser-smi.c:4526:3: error: expected identifier or '(' before 'case' 4526 | } | ^ parser-smi.c:4534:5: error: expected identifier or '(' before 'break' 4534 | { | ^ parser-smi.c:4536:3: error: expected identifier or '(' before 'case' 4536 | thisParserPtr->currentDecl = SMI_DECL_MODULEIDENTITY; | ^ parser-smi.c:4549:5: error: expected identifier or '(' before 'break' 4549 | Import *importPtr; | ^ ~~ parser-smi.c:4551:3: error: expected identifier or '(' before 'case' 4551 | importPtr = findImportByName("MODULE-IDENTITY", | ^ parser-smi.c:4566:5: error: expected identifier or '(' before 'break' 4566 | } | ^ ~ parser-smi.c:4568:3: error: expected identifier or '(' before 'case' 4568 | smiPrintError(thisParserPtr, | ^ parser-smi.c:4590:5: error: expected identifier or '(' before 'break' 4590 | | ^ parser-smi.c:4592:3: error: expected identifier or '(' before 'case' 4592 | #line 3550 "parser-smi.y" | ^~~~ parser-smi.c:4604:5: error: expected identifier or '(' before 'break' 4604 | { | ^ parser-smi.c:4606:3: error: expected identifier or '(' before 'case' 4606 | smiPrintError(thisParserPtr, | ^ ~~ parser-smi.c:4632:5: error: expected identifier or '(' before 'break' 4632 | thisParserPtr); | ^ parser-smi.c:4634:3: error: expected identifier or '(' before 'case' 4634 | } | ^~ parser-smi.c:4640:5: error: expected identifier or '(' before 'break' 4640 | { | ^ parser-smi.c:4642:3: error: expected identifier or '(' before 'case' 4642 | | ^ parser-smi.c:4664:5: error: expected identifier or '(' before 'break' 4664 | setObjectList(objectPtr, (yyvsp[-19].subjectCategoriesPtr)->categories); | ^ parser-smi.c:4666:3: error: expected identifier or '(' before 'case' 4666 | } | ^ parser-smi.c:4678:5: error: expected identifier or '(' before 'break' 4678 | (yyval.subjectCategoriesPtr) = (yyvsp[-1].subjectCategoriesPtr); | ^ parser-smi.c:4680:3: error: expected identifier or '(' before 'case' 4680 | #line 5635 "parser-smi.c" | ^~~~ parser-smi.c:4710:5: error: expected identifier or '(' before 'break' 4710 | break; | ^~~~~ parser-smi.c:4712:3: error: expected identifier or '(' before 'case' 4712 | case 192: /* CategoryIDs: CategoryIDs ',' CategoryID */ | ^~~~ parser-smi.c:4968:5: error: expected identifier or '(' before 'break' 4968 | #line 3845 "parser-smi.y" | ^~~~~ parser-smi.c:4970:3: error: expected identifier or '(' before 'case' 4970 | Import *importPtr; | ^ parser-smi.c:4982:5: error: expected identifier or '(' before 'break' 4982 | "Integer32"); | ^ ~ parser-smi.c:4984:3: error: expected identifier or '(' before 'case' 4984 | SMI_LANGUAGE_SPPI) { | ^ parser-smi.c:4991:5: error: expected identifier or '(' before 'break' 4991 | /* TODO: any need to distinguish from INTEGER? */ | ^ ~~ parser-smi.c:4993:3: error: expected identifier or '(' before 'case' 4993 | } | ^~ parser-smi.c:5005:5: error: expected identifier or '(' before 'break' 5005 | case 213: /* SimpleSyntax: INTEGER32 $@37 integerSubType */ | ^~~~~ parser-smi.c:5007:3: error: expected identifier or '(' before 'case' 5007 | { | ^ parser-smi.c:5030:5: error: expected identifier or '(' before 'break' 5030 | setTypeList((yyval.typePtr), (yyvsp[0].listPtr)); | ^ ~~ parser-smi.c:5032:3: error: expected identifier or '(' before 'case' 5032 | } | ^~ parser-smi.c:5079:5: error: expected identifier or '(' before 'break' 5079 | /* | ^~ parser-smi.c:5081:3: error: expected identifier or '(' before 'case' 5081 | * marked with FLAG_INCOMPLETE. | ^ ~ parser-smi.c:5087:5: error: expected identifier or '(' before 'break' 5087 | (yyval.typePtr) = duplicateType(parentPtr, 0, | ^~~~~ parser-smi.c:5089:3: error: expected identifier or '(' before 'case' 5089 | } | ^ parser-smi.c:5095:5: error: expected identifier or '(' before 'break' 5095 | #line 6050 "parser-smi.c" | ^~~~~ parser-smi.c:5097:3: error: expected identifier or '(' before 'case' 5097 | | ^ parser-smi.c:5109:5: error: expected identifier or '(' before 'break' 5109 | findImportByModulenameAndName((yyvsp[-3].id), | ^ ~ parser-smi.c:5111:3: error: expected identifier or '(' before 'case' 5111 | if (importPtr && | ^ ~~ parser-smi.c:5133:5: error: expected identifier or '(' before 'break' 5133 | smiPrintError(thisParserPtr, | ^~~~~ parser-smi.c:5135:3: error: expected identifier or '(' before 'case' 5135 | (yyval.typePtr) = duplicateType(smiHandle->typeEnumPtr, 0, | ^ ~~ parser-smi.c:5141:5: error: expected identifier or '(' before 'break' 5141 | smiCheckNamedNumbersOrder(parserPtr, (yyval.typePtr)); | ^ ~~ parser-smi.c:5143:3: error: expected identifier or '(' before 'case' 5143 | smiFree((yyvsp[-1].id)); | ^ parser-smi.c:5150:5: error: expected identifier or '(' before 'break' 5150 | { | ^ parser-smi.c:5152:3: error: expected identifier or '(' before 'case' 5152 | Import *importPtr; | ^ parser-smi.c:5156:5: error: expected identifier or '(' before 'break' 5156 | if (!parentPtr) { | ^ ~~ parser-smi.c:5158:3: error: expected identifier or '(' before 'case' 5158 | thisModulePtr); | ^ parser-smi.c:5164:5: error: expected identifier or '(' before 'break' 5164 | } | ^ parser-smi.c:5166:3: error: expected identifier or '(' before 'case' 5166 | if (parentPtr) { | ^ parser-smi.c:5176:5: error: expected identifier or '(' before 'break' 5176 | ERR_ILLEGAL_RANGE_FOR_PARENT_TYPE, | ^ parser-smi.c:5178:3: error: expected identifier or '(' before 'case' 5178 | (yyval.typePtr) = duplicateType(smiHandle->typeInteger32Ptr, 0, | ^ parser-smi.c:5182:5: error: expected identifier or '(' before 'break' 5182 | defaultBasetype = | ^ ~ parser-smi.c:5184:3: error: expected identifier or '(' before 'case' 5184 | (yyval.typePtr) = duplicateType(parentPtr, 0, | ^ parser-smi.c:5188:5: error: expected identifier or '(' before 'break' 5188 | } else { | ^ ~~ parser-smi.c:5190:3: error: expected identifier or '(' before 'case' 5190 | * forward referenced type. create it, | ^ ~ parser-smi.c:5196:5: error: expected identifier or '(' before 'break' 5196 | thisParserPtr); | ^ parser-smi.c:5198:3: error: expected identifier or '(' before 'case' 5198 | thisParserPtr); | ^ parser-smi.c:5202:5: error: expected identifier or '(' before 'break' 5202 | smiCheckTypeRanges(thisParserPtr, (yyval.typePtr)); | ^ ~~ parser-smi.c:5204:3: error: expected identifier or '(' before 'case' 5204 | #line 6159 "parser-smi.c" | ^~~~ parser-smi.c:5211:5: error: expected identifier or '(' before 'break' 5211 | Import *importPtr; | ^ ~~ parser-smi.c:5213:3: error: expected identifier or '(' before 'case' 5213 | parentPtr = findTypeByModulenameAndName((yyvsp[-3].id), (yyvsp[-1].id)); | ^ parser-smi.c:5217:5: error: expected identifier or '(' before 'break' 5217 | if (importPtr && | ^~~~~ parser-smi.c:5219:3: error: expected identifier or '(' before 'case' 5219 | importPtr->use++; | ^ parser-smi.c:5223:5: error: expected identifier or '(' before 'break' 5223 | } | ^ ~ parser-smi.c:5225:3: error: expected identifier or '(' before 'case' 5225 | if ((parentPtr->export.basetype != | ^ ~~ parser-smi.c:5232:5: error: expected identifier or '(' before 'break' 5232 | SMI_BASETYPE_UNSIGNED64)) { | ^ parser-smi.c:5234:3: error: expected identifier or '(' before 'case' 5234 | ERR_ILLEGAL_RANGE_FOR_PARENT_TYPE, | ^ parser-smi.c:5238:5: error: expected identifier or '(' before 'break' 5238 | defaultBasetype = SMI_BASETYPE_INTEGER32; | ^ ~ parser-smi.c:5240:3: error: expected identifier or '(' before 'case' 5240 | defaultBasetype = | ^ parser-smi.c:5244:5: error: expected identifier or '(' before 'break' 5244 | } | ^ parser-smi.c:5246:3: error: expected identifier or '(' before 'case' 5246 | smiPrintError(thisParserPtr, | ^ ~~ parser-smi.c:5253:5: error: expected identifier or '(' before 'break' 5253 | smiCheckTypeRanges(thisParserPtr, (yyval.typePtr)); | ^ ~~ parser-smi.c:5255:3: error: expected identifier or '(' before 'case' 5255 | smiFree((yyvsp[-1].id)); | ^ parser-smi.c:5259:5: error: expected identifier or '(' before 'break' 5259 | | ^ parser-smi.c:5261:3: error: expected identifier or '(' before 'case' 5261 | #line 4108 "parser-smi.y" | ^~~~ parser-smi.c:5265:5: error: expected identifier or '(' before 'break' 5265 | } | ^ parser-smi.c:5267:3: error: expected identifier or '(' before 'case' 5267 | break; | ^ ~~ parser-smi.c:5271:5: error: expected identifier or '(' before 'break' 5271 | { | ^ parser-smi.c:5273:3: error: expected identifier or '(' before 'case' 5273 | } | ^~ parser-smi.c:5277:5: error: expected identifier or '(' before 'break' 5277 | case 221: /* SimpleSyntax: OCTET STRING $@39 octetStringSubType */ | ^~~~~ parser-smi.c:5279:3: error: expected identifier or '(' before 'case' 5279 | { | ^ parser-smi.c:5287:5: error: expected identifier or '(' before 'break' 5287 | break; | ^~~~~ parser-smi.c:5289:3: error: expected identifier or '(' before 'case' 5289 | case 222: /* SimpleSyntax: UPPERCASE_IDENTIFIER octetStringSubType */ | ^~~~ parser-smi.c:5302:5: error: expected identifier or '(' before 'break' 5302 | importPtr->kind == KIND_TYPE) { | ^ ~ parser-smi.c:5304:3: error: expected identifier or '(' before 'case' 5304 | parentPtr = findTypeByModulenameAndName( | ^ parser-smi.c:5308:5: error: expected identifier or '(' before 'break' 5308 | if (parentPtr) { | ^ ~~ parser-smi.c:5310:3: error: expected identifier or '(' before 'case' 5310 | SMI_BASETYPE_OCTETSTRING) { | ^ parser-smi.c:5317:5: error: expected identifier or '(' before 'break' 5317 | (yyval.typePtr) = duplicateType(parentPtr, 0, | ^ ~ parser-smi.c:5319:3: error: expected identifier or '(' before 'case' 5319 | } | ^ ~ parser-smi.c:5323:5: error: expected identifier or '(' before 'break' 5323 | * forward referenced type. create it, | ^~~~~ parser-smi.c:5325:3: error: expected identifier or '(' before 'case' 5325 | */ | ^ ~ parser-smi.c:5329:5: error: expected identifier or '(' before 'break' 5329 | thisParserPtr); | ^ parser-smi.c:5331:3: error: expected identifier or '(' before 'case' 5331 | thisParserPtr); | ^ parser-smi.c:5339:5: error: expected identifier or '(' before 'break' 5339 | case 223: /* SimpleSyntax: moduleName '.' UPPERCASE_IDENTIFIER octetStringSubType */ | ^~~~~ parser-smi.c:5341:3: error: expected identifier or '(' before 'case' 5341 | { | ^ parser-smi.c:5354:5: error: expected identifier or '(' before 'break' 5354 | (yyvsp[-3].id), (yyvsp[-1].id)); | ^~~~~ parser-smi.c:5356:3: error: expected identifier or '(' before 'case' 5356 | } | ^ parser-smi.c:5376:5: error: expected identifier or '(' before 'break' 5376 | smiCheckTypeRanges(thisParserPtr, (yyval.typePtr)); | ^ ~~ parser-smi.c:5378:3: error: expected identifier or '(' before 'case' 5378 | smiFree((yyvsp[-1].id)); | ^ parser-smi.c:5389:5: error: expected identifier or '(' before 'break' 5389 | #line 6344 "parser-smi.c" | ^~~~~ parser-smi.c:5391:3: error: expected identifier or '(' before 'case' 5391 | | ^ parser-smi.c:5395:5: error: expected identifier or '(' before 'break' 5395 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ ~~ parser-smi.c:5397:3: error: expected identifier or '(' before 'case' 5397 | (yyval.valuePtr)->value.unsigned32 = (yyvsp[0].unsigned32); | ^ parser-smi.c:5407:5: error: expected identifier or '(' before 'break' 5407 | (yyval.valuePtr)->value.integer32 = (yyvsp[0].integer32); | ^ ~~ parser-smi.c:5409:3: error: expected identifier or '(' before 'case' 5409 | #line 6364 "parser-smi.c" | ^~~~ parser-smi.c:5413:5: error: expected identifier or '(' before 'break' 5413 | #line 4232 "parser-smi.y" | ^~~~~ parser-smi.c:5415:3: error: expected identifier or '(' before 'case' 5415 | /* The scanner already checks for the language */ | ^ parser-smi.c:5427:5: error: expected identifier or '(' before 'break' 5427 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ ~~ parser-smi.c:5429:3: error: expected identifier or '(' before 'case' 5429 | (yyval.valuePtr)->value.integer64 = (yyvsp[0].integer64); | ^ parser-smi.c:5449:5: error: expected identifier or '(' before 'break' 5449 | if (!s[j]) s[j] = '0'; | ^~~~~ parser-smi.c:5451:3: error: expected identifier or '(' before 'case' 5451 | s[8] = 0; | ^ parser-smi.c:5457:5: error: expected identifier or '(' before 'break' 5457 | (yyval.valuePtr)->basetype = SMI_BASETYPE_UNSIGNED32; | ^~~~~ parser-smi.c:5459:3: error: expected identifier or '(' before 'case' 5459 | } | ^ parser-smi.c:5484:5: error: expected identifier or '(' before 'break' 5484 | (yyval.valuePtr)->basetype = SMI_BASETYPE_UNSIGNED32; | ^~~~~ parser-smi.c:5486:3: error: expected identifier or '(' before 'case' 5486 | } | ^ parser-smi.c:5498:5: error: expected identifier or '(' before 'break' 5498 | (yyval.valuePtr)->basetype = defaultBasetype; | ^~~~~ parser-smi.c:5500:3: error: expected identifier or '(' before 'case' 5500 | (yyval.valuePtr)->len = 1; | ^ parser-smi.c:5527:5: error: expected identifier or '(' before 'break' 5527 | #line 4338 "parser-smi.y" | ^~~~~ parser-smi.c:5529:3: error: expected identifier or '(' before 'case' 5529 | /* | ^ parser-smi.c:5535:5: error: expected identifier or '(' before 'break' 5535 | smiPrintError(thisParserPtr, | ^~~~~ parser-smi.c:5537:3: error: expected identifier or '(' before 'case' 5537 | } else { | ^ parser-smi.c:5543:5: error: expected identifier or '(' before 'break' 5543 | (yyval.valuePtr)->len = 2; | ^ ~~ parser-smi.c:5545:3: error: expected identifier or '(' before 'case' 5545 | (yyval.valuePtr)->value.oid[0] = 0; | ^ parser-smi.c:5554:5: error: expected identifier or '(' before 'break' 5554 | (yyval.typePtr) = smiHandle->typeInteger32Ptr; | ^ ~~ parser-smi.c:5556:3: error: expected identifier or '(' before 'case' 5556 | #line 6511 "parser-smi.c" | ^~~~ parser-smi.c:5565:5: error: expected identifier or '(' before 'break' 5565 | (yyval.typePtr) = smiHandle->typeInteger32Ptr; | ^ ~~ parser-smi.c:5567:3: error: expected identifier or '(' before 'case' 5567 | importPtr = findImportByName("Integer32", | ^ parser-smi.c:5573:5: error: expected identifier or '(' before 'break' 5573 | SMI_LANGUAGE_SMIV2) { | ^ ~ parser-smi.c:5575:3: error: expected identifier or '(' before 'case' 5575 | ERR_SMIV2_BASETYPE_NOT_IMPORTED, | ^ parser-smi.c:5590:5: error: expected identifier or '(' before 'break' 5590 | { | ^ parser-smi.c:5592:3: error: expected identifier or '(' before 'case' 5592 | } | ^~ parser-smi.c:5625:5: error: expected identifier or '(' before 'break' 5625 | } else if (thisModulePtr->export.language == | ^~~~~ parser-smi.c:5627:3: error: expected identifier or '(' before 'case' 5627 | smiPrintError(thisParserPtr, | ^ parser-smi.c:5635:5: error: expected identifier or '(' before 'break' 5635 | | ^ parser-smi.c:5637:3: error: expected identifier or '(' before 'case' 5637 | #line 4432 "parser-smi.y" | ^~~~ parser-smi.c:5645:5: error: expected identifier or '(' before 'break' 5645 | if (! (yyval.typePtr)) { | ^ ~~ parser-smi.c:5647:3: error: expected identifier or '(' before 'case' 5647 | "Counter32"); | ^ parser-smi.c:5654:5: error: expected identifier or '(' before 'break' 5654 | } else { | ^ ~~ parser-smi.c:5656:3: error: expected identifier or '(' before 'case' 5656 | SMI_LANGUAGE_SMIV2) { | ^ parser-smi.c:5664:5: error: expected identifier or '(' before 'break' 5664 | break; | ^~~~~ parser-smi.c:5666:3: error: expected identifier or '(' before 'case' 5666 | case 240: /* ApplicationSyntax: COUNTER32 integerSubType */ | ^~~~ parser-smi.c:5681:5: error: expected identifier or '(' before 'break' 5681 | | ^ parser-smi.c:5683:3: error: expected identifier or '(' before 'case' 5683 | !findImportByName("Counter32", thisParserPtr->modulePtr)) | ^ parser-smi.c:5706:5: error: expected identifier or '(' before 'break' 5706 | | ^ parser-smi.c:5708:3: error: expected identifier or '(' before 'case' 5708 | #line 4495 "parser-smi.y" | ^~~~ parser-smi.c:5731:5: error: expected identifier or '(' before 'break' 5731 | } | ^ parser-smi.c:5733:3: error: expected identifier or '(' before 'case' 5733 | } | ^~ parser-smi.c:5739:5: error: expected identifier or '(' before 'break' 5739 | { | ^ parser-smi.c:5741:3: error: expected identifier or '(' before 'case' 5741 | Import *importPtr; | ^ parser-smi.c:5763:5: error: expected identifier or '(' before 'break' 5763 | if (thisModulePtr->export.language == | ^~~~~ parser-smi.c:5765:3: error: expected identifier or '(' before 'case' 5765 | smiPrintError(thisParserPtr, | ^ parser-smi.c:5772:5: error: expected identifier or '(' before 'break' 5772 | break; | ^~~~~ parser-smi.c:5774:3: error: expected identifier or '(' before 'case' 5774 | case 243: /* ApplicationSyntax: UNSIGNED32 */ | ^~~~ parser-smi.c:5781:5: error: expected identifier or '(' before 'break' 5781 | importPtr = findImportByName("Unsigned32", | ^ ~~ parser-smi.c:5783:3: error: expected identifier or '(' before 'case' 5783 | if (importPtr) { | ^ parser-smi.c:5790:5: error: expected identifier or '(' before 'break' 5790 | "Unsigned32"); | ^ ~ parser-smi.c:5792:3: error: expected identifier or '(' before 'case' 5792 | SMI_LANGUAGE_SPPI) { | ^ parser-smi.c:5809:5: error: expected identifier or '(' before 'break' 5809 | | ^ parser-smi.c:5811:3: error: expected identifier or '(' before 'case' 5811 | #line 4582 "parser-smi.y" | ^~~~ parser-smi.c:5815:5: error: expected identifier or '(' before 'break' 5815 | (yyval.typePtr) = duplicateType(smiHandle->typeUnsigned32Ptr, 0, | ^ ~~ parser-smi.c:5817:3: error: expected identifier or '(' before 'case' 5817 | setTypeList((yyval.typePtr), (yyvsp[0].listPtr)); | ^ parser-smi.c:5821:5: error: expected identifier or '(' before 'break' 5821 | thisModulePtr); | ^ ~ parser-smi.c:5823:3: error: expected identifier or '(' before 'case' 5823 | importPtr->use++; | ^ ~~ parser-smi.c:5827:5: error: expected identifier or '(' before 'break' 5827 | smiPrintError(thisParserPtr, | ^ ~ parser-smi.c:5829:3: error: expected identifier or '(' before 'case' 5829 | "Unsigned32"); | ^ parser-smi.c:5846:5: error: expected identifier or '(' before 'break' 5846 | (yyval.typePtr) = findTypeByName("TimeTicks"); | ^ ~~ parser-smi.c:5848:3: error: expected identifier or '(' before 'case' 5848 | smiPrintError(thisParserPtr, ERR_UNKNOWN_TYPE, | ^ ~~ parser-smi.c:5852:5: error: expected identifier or '(' before 'break' 5852 | importPtr = findImportByName("TimeTicks", | ^ ~~ parser-smi.c:5854:3: error: expected identifier or '(' before 'case' 5854 | if (importPtr) { | ^ parser-smi.c:5869:5: error: expected identifier or '(' before 'break' 5869 | } | ^ parser-smi.c:5871:3: error: expected identifier or '(' before 'case' 5871 | break; | ^ ~~ parser-smi.c:5877:5: error: expected identifier or '(' before 'break' 5877 | | ^ parser-smi.c:5879:3: error: expected identifier or '(' before 'case' 5879 | if (! (yyval.typePtr)) { | ^ parser-smi.c:5896:5: error: expected identifier or '(' before 'break' 5896 | if (importPtr) { | ^ ~~ parser-smi.c:5898:3: error: expected identifier or '(' before 'case' 5898 | } else { | ^ parser-smi.c:5904:5: error: expected identifier or '(' before 'break' 5904 | } else if (thisModulePtr->export.language == | ^~~~~ parser-smi.c:5906:3: error: expected identifier or '(' before 'case' 5906 | smiPrintError(thisParserPtr, | ^ parser-smi.c:5919:5: error: expected identifier or '(' before 'break' 5919 | Import *importPtr; | ^ ~~ parser-smi.c:5921:3: error: expected identifier or '(' before 'case' 5921 | parentPtr = findTypeByName("Opaque"); | ^ parser-smi.c:5949:5: error: expected identifier or '(' before 'break' 5949 | if (thisModulePtr->export.language == | ^~~~~ parser-smi.c:5951:3: error: expected identifier or '(' before 'case' 5951 | smiPrintError(thisParserPtr, | ^ parser-smi.c:5957:5: error: expected identifier or '(' before 'break' 5957 | ERR_SPPI_BASETYPE_NOT_IMPORTED, | ^ ~ parser-smi.c:5959:3: error: expected identifier or '(' before 'case' 5959 | } | ^ ~ parser-smi.c:5988:5: error: expected identifier or '(' before 'break' 5988 | "Counter64"); | ^ ~ parser-smi.c:5990:3: error: expected identifier or '(' before 'case' 5990 | } | ^ parser-smi.c:5996:5: error: expected identifier or '(' before 'break' 5996 | #line 4747 "parser-smi.y" | ^~~~~ parser-smi.c:5998:3: error: expected identifier or '(' before 'case' 5998 | Import *importPtr; | ^ parser-smi.c:6050:5: error: expected identifier or '(' before 'break' 6050 | } else { | ^ ~ parser-smi.c:6052:3: error: expected identifier or '(' before 'case' 6052 | ERR_SPPI_BASETYPE_NOT_IMPORTED, | ^ parser-smi.c:6100:5: error: expected identifier or '(' before 'break' 6100 | setTypeList((yyval.typePtr), (yyvsp[0].listPtr)); | ^~~~~ parser-smi.c:6102:3: error: expected identifier or '(' before 'case' 6102 | } | ^ parser-smi.c:6159:5: error: expected identifier or '(' before 'break' 6159 | parentPtr = findTypeByModulenameAndName( | ^ ~ parser-smi.c:6161:3: error: expected identifier or '(' before 'case' 6161 | importPtr->export.name); | ^ ~ parser-smi.c:6212:5: error: expected identifier or '(' before 'break' 6212 | { | ^ parser-smi.c:6214:3: error: expected identifier or '(' before 'case' 6214 | | ^ parser-smi.c:6221:5: error: expected identifier or '(' before 'break' 6221 | "Counter32"); | ^ parser-smi.c:6223:3: error: expected identifier or '(' before 'case' 6223 | | ^ parser-smi.c:6229:5: error: expected identifier or '(' before 'break' 6229 | if (thisModulePtr->export.language == | ^~~~~ parser-smi.c:6231:3: error: expected identifier or '(' before 'case' 6231 | smiPrintError(thisParserPtr, | ^ parser-smi.c:6241:5: error: expected identifier or '(' before 'break' 6241 | #line 4970 "parser-smi.y" | ^~~~~ parser-smi.c:6243:3: error: expected identifier or '(' before 'case' 6243 | Import *importPtr; | ^ parser-smi.c:6291:5: error: expected identifier or '(' before 'break' 6291 | "Unsigned32"); | ^ ~ parser-smi.c:6293:3: error: expected identifier or '(' before 'case' 6293 | } | ^ parser-smi.c:6335:5: error: expected identifier or '(' before 'break' 6335 | (yyval.typePtr) = findTypeByName("Opaque"); | ^ ~~ parser-smi.c:6337:3: error: expected identifier or '(' before 'case' 6337 | smiPrintError(thisParserPtr, ERR_UNKNOWN_TYPE, | ^ ~~ parser-smi.c:6344:5: error: expected identifier or '(' before 'break' 6344 | "Opaque"); | ^ ~ parser-smi.c:6346:3: error: expected identifier or '(' before 'case' 6346 | SMI_LANGUAGE_SPPI) { | ^ parser-smi.c:6354:5: error: expected identifier or '(' before 'break' 6354 | thisModulePtr); | ^ ~ parser-smi.c:6356:3: error: expected identifier or '(' before 'case' 6356 | importPtr->use++; | ^ ~~ parser-smi.c:6364:5: error: expected identifier or '(' before 'break' 6364 | SMI_LANGUAGE_SPPI) { | ^ ~ parser-smi.c:6366:3: error: expected identifier or '(' before 'case' 6366 | ERR_SPPI_BASETYPE_NOT_IMPORTED, | ^ parser-smi.c:6375:5: error: expected identifier or '(' before 'break' 6375 | #line 5088 "parser-smi.y" | ^~~~~ parser-smi.c:6377:3: error: expected identifier or '(' before 'case' 6377 | Import *importPtr; | ^ parser-smi.c:6386:5: error: expected identifier or '(' before 'break' 6386 | } | ^ ~ parser-smi.c:6388:3: error: expected identifier or '(' before 'case' 6388 | importPtr = findImportByName("Counter64", | ^ parser-smi.c:6416:5: error: expected identifier or '(' before 'break' 6416 | | ^ parser-smi.c:6418:3: error: expected identifier or '(' before 'case' 6418 | thisModulePtr); | ^ parser-smi.c:6443:5: error: expected identifier or '(' before 'break' 6443 | if (! (yyval.typePtr)) { | ^ ~~ parser-smi.c:6445:3: error: expected identifier or '(' before 'case' 6445 | "Unsigned64"); | ^ parser-smi.c:6467:5: error: expected identifier or '(' before 'break' 6467 | if (thisModulePtr->export.language == SMI_LANGUAGE_SMIV2) | ^ ~~ parser-smi.c:6469:3: error: expected identifier or '(' before 'case' 6469 | ERR_UNEXPECTED_TYPE_RESTRICTION); | ^ parser-smi.c:6478:5: error: expected identifier or '(' before 'break' 6478 | (yyval.listPtr) = NULL; | ^ ~~ parser-smi.c:6480:3: error: expected identifier or '(' before 'case' 6480 | #line 7435 "parser-smi.c" | ^~~~ parser-smi.c:6503:5: error: expected identifier or '(' before 'break' 6503 | | ^ parser-smi.c:6505:3: error: expected identifier or '(' before 'case' 6505 | #line 5200 "parser-smi.y" | ^~~~ parser-smi.c:6511:5: error: expected identifier or '(' before 'break' 6511 | ERR_UNEXPECTED_TYPE_RESTRICTION); | ^ parser-smi.c:6513:3: error: expected identifier or '(' before 'case' 6513 | for (listPtr = (yyvsp[0].listPtr); listPtr; | ^ parser-smi.c:6540:5: error: expected identifier or '(' before 'break' 6540 | case 269: /* octetStringSubType: '(' SIZE '(' ranges ')' ')' */ | ^~~~~ parser-smi.c:6542:3: error: expected identifier or '(' before 'case' 6542 | { | ^ parser-smi.c:6548:5: error: expected identifier or '(' before 'break' 6548 | case 270: /* ranges: range */ | ^~~~~ parser-smi.c:6550:3: error: expected identifier or '(' before 'case' 6550 | { | ^ parser-smi.c:6556:5: error: expected identifier or '(' before 'break' 6556 | break; | ^~~~~ parser-smi.c:6558:3: error: expected identifier or '(' before 'case' 6558 | case 271: /* ranges: ranges '|' range */ | ^~~~ parser-smi.c:6588:5: error: expected identifier or '(' before 'break' 6588 | (yyval.rangePtr) = smiMalloc(sizeof(Range)); | ^ ~~ parser-smi.c:6590:3: error: expected identifier or '(' before 'case' 6590 | (yyval.rangePtr)->export.maxValue = *(yyvsp[0].valuePtr); | ^ parser-smi.c:6618:5: error: expected identifier or '(' before 'break' 6618 | #line 5297 "parser-smi.y" | ^~~~~ parser-smi.c:6620:3: error: expected identifier or '(' before 'case' 6620 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ parser-smi.c:6659:5: error: expected identifier or '(' before 'break' 6659 | } | ^ ~ parser-smi.c:6661:3: error: expected identifier or '(' before 'case' 6661 | #line 7616 "parser-smi.c" | ^~~~ parser-smi.c:6689:5: error: expected identifier or '(' before 'break' 6689 | } | ^ parser-smi.c:6691:3: error: expected identifier or '(' before 'case' 6691 | break; | ^ ~~ parser-smi.c:6726:5: error: expected identifier or '(' before 'break' 6726 | case 283: /* $@41: %empty */ | ^~~~~ parser-smi.c:6728:3: error: expected identifier or '(' before 'case' 6728 | { | ^ parser-smi.c:6754:5: error: expected identifier or '(' before 'break' 6754 | case 285: /* enumNumber: NUMBER */ | ^~~~~ parser-smi.c:6756:3: error: expected identifier or '(' before 'case' 6756 | { | ^ parser-smi.c:6762:5: error: expected identifier or '(' before 'break' 6762 | ((yyvsp[0].unsigned32) == 0)) { | ^~~~~ parser-smi.c:6764:3: error: expected identifier or '(' before 'case' 6764 | ERR_ENUM_ZERO); | ^ parser-smi.c:6793:5: error: expected identifier or '(' before 'break' 6793 | } else if (!strcmp((yyvsp[0].id), "obsolete")) { | ^ parser-smi.c:6795:3: error: expected identifier or '(' before 'case' 6795 | } else { | ^ parser-smi.c:6825:5: error: expected identifier or '(' before 'break' 6825 | } | ^ ~ parser-smi.c:6827:3: error: expected identifier or '(' before 'case' 6827 | } else { /* it is SPPI */ | ^ parser-smi.c:6867:5: error: expected identifier or '(' before 'break' 6867 | | ^ parser-smi.c:6869:3: error: expected identifier or '(' before 'case' 6869 | smiPrintError(thisParserPtr, | ^ ~~ parser-smi.c:6917:5: error: expected identifier or '(' before 'break' 6917 | } else if (!strcmp((yyvsp[0].id), "read-write")) { | ^~~~~ parser-smi.c:6919:3: error: expected identifier or '(' before 'case' 6919 | } else if (!strcmp((yyvsp[0].id), "read-create")) { | ^ ~~ parser-smi.c:6947:5: error: expected identifier or '(' before 'break' 6947 | (yyvsp[0].id)); | ^ ~ parser-smi.c:6949:3: error: expected identifier or '(' before 'case' 6949 | } | ^ ~ parser-smi.c:6988:5: error: expected identifier or '(' before 'break' 6988 | p->nextPtr = NULL; | ^ parser-smi.c:6990:3: error: expected identifier or '(' before 'case' 6990 | (yyval.index).indexkind = SMI_INDEX_INDEX; | ^ parser-smi.c:7018:5: error: expected identifier or '(' before 'break' 7018 | break; | ^~~~~ parser-smi.c:7020:3: error: expected identifier or '(' before 'case' 7020 | case 298: /* IndexPart: EXTENDS $@43 '{' Entry '}' */ | ^~~~ parser-smi.c:7059:5: error: expected identifier or '(' before 'break' 7059 | } | ^ parser-smi.c:7061:3: error: expected identifier or '(' before 'case' 7061 | /* | ^ parser-smi.c:7089:5: error: expected identifier or '(' before 'break' 7089 | case 303: /* IndexTypes: IndexType */ | ^~~~~ parser-smi.c:7091:3: error: expected identifier or '(' before 'case' 7091 | { | ^ parser-smi.c:7130:5: error: expected identifier or '(' before 'break' 7130 | | ^ parser-smi.c:7132:3: error: expected identifier or '(' before 'case' 7132 | #line 5722 "parser-smi.y" | ^~~~ parser-smi.c:7162:5: error: expected identifier or '(' before 'break' 7162 | } | ^ parser-smi.c:7164:3: error: expected identifier or '(' before 'case' 7164 | (yyval.valuePtr) = NULL; | ^ ~~ parser-smi.c:7192:5: error: expected identifier or '(' before 'break' 7192 | case 313: /* BitsValue: BitNames */ | ^~~~~ parser-smi.c:7194:3: error: expected identifier or '(' before 'case' 7194 | { (yyval.listPtr) = (yyvsp[0].listPtr); } | ^ parser-smi.c:7222:5: error: expected identifier or '(' before 'break' 7222 | for (pp = (yyvsp[-2].listPtr); pp->nextPtr; pp = pp->nextPtr); | ^ ~~ parser-smi.c:7224:3: error: expected identifier or '(' before 'case' 7224 | (yyval.listPtr) = (yyvsp[-2].listPtr); | ^ parser-smi.c:7250:5: error: expected identifier or '(' before 'break' 7250 | if ((yyvsp[0].text) && !strlen((yyvsp[0].text))) { | ^ ~~ parser-smi.c:7252:3: error: expected identifier or '(' before 'case' 7252 | ERR_EMPTY_REFERENCE); | ^ parser-smi.c:7282:5: error: expected identifier or '(' before 'break' 7282 | case 324: /* Revisions: Revisions Revision */ | ^~~~~ parser-smi.c:7284:3: error: expected identifier or '(' before 'case' 7284 | { (yyval.err) = 0; } | ^ parser-smi.c:7326:5: error: expected identifier or '(' before 'break' 7326 | #line 5861 "parser-smi.y" | ^~~~~ parser-smi.c:7328:3: error: expected identifier or '(' before 'case' 7328 | (yyval.listPtr) = (yyvsp[-1].listPtr); | ^ parser-smi.c:7356:5: error: expected identifier or '(' before 'break' 7356 | #line 8311 "parser-smi.c" | ^~~~~ parser-smi.c:7358:3: error: expected identifier or '(' before 'case' 7358 | | ^ parser-smi.c:7385:5: error: expected identifier or '(' before 'break' 7385 | #line 8340 "parser-smi.c" | ^~~~~ parser-smi.c:7387:3: error: expected identifier or '(' before 'case' 7387 | | ^ parser-smi.c:7414:5: error: expected identifier or '(' before 'break' 7414 | for (pp = (yyvsp[-2].listPtr); pp->nextPtr; pp = pp->nextPtr); | ^ ~~ parser-smi.c:7416:3: error: expected identifier or '(' before 'case' 7416 | (yyval.listPtr) = (yyvsp[-2].listPtr); | ^ parser-smi.c:7435:5: error: expected identifier or '(' before 'break' 7435 | #line 5944 "parser-smi.y" | ^~~~~ parser-smi.c:7437:3: error: expected identifier or '(' before 'case' 7437 | int len; | ^ parser-smi.c:7456:5: error: expected identifier or '(' before 'break' 7456 | #line 5960 "parser-smi.y" | ^~~~~ parser-smi.c:7458:3: error: expected identifier or '(' before 'case' 7458 | thisParserPtr->parentNodePtr = smiHandle->rootNodePtr; | ^ parser-smi.c:7478:5: error: expected identifier or '(' before 'break' 7478 | { | ^ parser-smi.c:7480:3: error: expected identifier or '(' before 'case' 7480 | } | ^~ parser-smi.c:7486:5: error: expected identifier or '(' before 'break' 7486 | { | ^ parser-smi.c:7488:3: error: expected identifier or '(' before 'case' 7488 | } | ^~ parser-smi.c:7492:5: error: expected identifier or '(' before 'break' 7492 | case 343: /* subidentifier: fuzzy_lowercase_identifier */ | ^~~~~ parser-smi.c:7494:3: error: expected identifier or '(' before 'case' 7494 | { | ^ parser-smi.c:7500:5: error: expected identifier or '(' before 'break' 7500 | ERR_OIDLABEL_NOT_FIRST, (yyvsp[0].id)); | ^ parser-smi.c:7502:3: error: expected identifier or '(' before 'case' 7502 | objectPtr = findObjectByModuleAndName( | ^ parser-smi.c:7510:5: error: expected identifier or '(' before 'break' 7510 | if (!importPtr || | ^~~~~ parser-smi.c:7512:3: error: expected identifier or '(' before 'case' 7512 | /* | ^ parser-smi.c:7526:5: error: expected identifier or '(' before 'break' 7526 | addImportFlags(importPtr, | ^ parser-smi.c:7528:3: error: expected identifier or '(' before 'case' 7528 | importPtr->use++; | ^ parser-smi.c:7537:5: error: expected identifier or '(' before 'break' 7537 | } | ^~ parser-smi.c:7539:3: error: expected identifier or '(' before 'case' 7539 | objectPtr = | ^ ~ parser-smi.c:7549:5: error: expected identifier or '(' before 'break' 7549 | addImportFlags(importPtr, | ^ parser-smi.c:7551:3: error: expected identifier or '(' before 'case' 7551 | importPtr->use++; | ^ parser-smi.c:7559:5: error: expected identifier or '(' before 'break' 7559 | thisParserPtr->capabilitiesModulePtr->export.name); | ^ parser-smi.c:7561:3: error: expected identifier or '(' before 'case' 7561 | } else { | ^ parser-smi.c:7569:5: error: expected identifier or '(' before 'break' 7569 | 0, | ^ parser-smi.c:7571:3: error: expected identifier or '(' before 'case' 7571 | thisParserPtr); | ^ parser-smi.c:7579:5: error: expected identifier or '(' before 'break' 7579 | (yyval.objectPtr) = findObjectByModulenameAndName( | ^ ~ parser-smi.c:7581:3: error: expected identifier or '(' before 'case' 7581 | smiFree((yyvsp[0].id)); | ^ parser-smi.c:7589:5: error: expected identifier or '(' before 'break' 7589 | | ^ parser-smi.c:7591:3: error: expected identifier or '(' before 'case' 7591 | #line 6083 "parser-smi.y" | ^~~~ parser-smi.c:7616:5: error: expected identifier or '(' before 'break' 7616 | /* TODO: check: $1 == thisModule ? */ | ^~~~~ parser-smi.c:7618:3: error: expected identifier or '(' before 'case' 7618 | * If we are in a MODULE-COMPLIANCE | ^ parser-smi.c:7645:5: error: expected identifier or '(' before 'break' 7645 | findObjectByModuleAndName( | ^ ~~~ parser-smi.c:7647:3: error: expected identifier or '(' before 'case' 7647 | if (objectPtr) { | ^ parser-smi.c:7653:5: error: expected identifier or '(' before 'break' 7653 | export.name); | ^ parser-smi.c:7655:3: error: expected identifier or '(' before 'case' 7655 | FLAG_INCOMPLIANCE); | ^ parser-smi.c:7663:5: error: expected identifier or '(' before 'break' 7663 | ERR_IDENTIFIER_NOT_IN_MODULE, (yyvsp[-2].id), | ^ parser-smi.c:7665:3: error: expected identifier or '(' before 'case' 7665 | } | ^ parser-smi.c:7678:5: error: expected identifier or '(' before 'break' 7678 | } | ^~ parser-smi.c:7680:3: error: expected identifier or '(' before 'case' 7680 | } else { | ^ parser-smi.c:7695:5: error: expected identifier or '(' before 'break' 7695 | #line 8650 "parser-smi.c" | ^~~~~ parser-smi.c:7697:3: error: expected identifier or '(' before 'case' 7697 | | ^ parser-smi.c:7706:5: error: expected identifier or '(' before 'break' 7706 | if (nodePtr && nodePtr->lastObjectPtr && | ^ ~~ parser-smi.c:7708:3: error: expected identifier or '(' before 'case' 7708 | /* | ^ ~~ parser-smi.c:7725:5: error: expected identifier or '(' before 'break' 7725 | | ^ parser-smi.c:7727:3: error: expected identifier or '(' before 'case' 7727 | #line 6211 "parser-smi.y" | ^~~~ parser-smi.c:7736:5: error: expected identifier or '(' before 'break' 7736 | | ^ parser-smi.c:7738:3: error: expected identifier or '(' before 'case' 7738 | thisParserPtr->parentNodePtr, (yyvsp[-1].unsigned32)); | ^ ~~ parser-smi.c:7797:5: error: expected identifier or '(' before 'break' 7797 | | ^ parser-smi.c:7799:3: error: expected identifier or '(' before 'case' 7799 | (strlen((yyvsp[-5].id)) + strlen((yyvsp[-3].id)) + 2)); | ^ parser-smi.c:7815:5: error: expected identifier or '(' before 'break' 7815 | smiPrintErrorAtLine(thisParserPtr, | ^~~~~ parser-smi.c:7817:3: error: expected identifier or '(' before 'case' 7817 | oldObjectPtr->line, | ^ parser-smi.c:7828:5: error: expected identifier or '(' before 'break' 7828 | strcmp(oldNodePtr->lastObjectPtr->export.name, (yyvsp[-3].id))) { | ^ parser-smi.c:7830:3: error: expected identifier or '(' before 'case' 7830 | ERR_ILLEGALLY_QUALIFIED, md); | ^ parser-smi.c:7836:5: error: expected identifier or '(' before 'break' 7836 | oldNodePtr->lastObjectPtr->line, | ^ parser-smi.c:7838:3: error: expected identifier or '(' before 'case' 7838 | objectPtr = addObject((yyvsp[-3].id), | ^ ~~ parser-smi.c:7849:5: error: expected identifier or '(' before 'break' 7849 | (yyvsp[-1].unsigned32), 0, | ^ parser-smi.c:7851:3: error: expected identifier or '(' before 'case' 7851 | setObjectDecl(objectPtr, | ^ ~~ parser-smi.c:7857:5: error: expected identifier or '(' before 'break' 7857 | } | ^ parser-smi.c:7859:3: error: expected identifier or '(' before 'case' 7859 | break; | ^ ~~ parser-smi.c:7925:5: error: expected identifier or '(' before 'break' 7925 | | ^ parser-smi.c:7927:3: error: expected identifier or '(' before 'case' 7927 | #line 6385 "parser-smi.y" | ^~~~ parser-smi.c:7934:5: error: expected identifier or '(' before 'break' 7934 | case 356: /* objectGroupClause: LOWERCASE_IDENTIFIER $@47 OBJECT_GROUP $@48 ObjectGroupObjectsPart STATUS Status DESCRIPTION Text $@49 ReferPart COLON_COLON_EQUAL '{' objectIdentifier '}' */ | ^~~~~ parser-smi.c:7936:3: error: expected identifier or '(' before 'case' 7936 | { | ^ parser-smi.c:7951:5: error: expected identifier or '(' before 'break' 7951 | if ((yyvsp[-4].text)) { | ^ ~~ parser-smi.c:7953:3: error: expected identifier or '(' before 'case' 7953 | } | ^ parser-smi.c:7963:5: error: expected identifier or '(' before 'break' 7963 | #line 6416 "parser-smi.y" | ^~~~~ parser-smi.c:7965:3: error: expected identifier or '(' before 'case' 7965 | thisParserPtr->firstStatementLine = thisParserPtr->line; | ^ parser-smi.c:7972:5: error: expected identifier or '(' before 'break' 7972 | } | ^ parser-smi.c:7974:3: error: expected identifier or '(' before 'case' 7974 | break; | ^ ~~ parser-smi.c:7984:5: error: expected identifier or '(' before 'break' 7984 | thisModulePtr->export.language = SMI_LANGUAGE_SMIV2; | ^~~~~ parser-smi.c:7986:3: error: expected identifier or '(' before 'case' 7986 | importPtr = findImportByName("NOTIFICATION-GROUP", | ^ parser-smi.c:7992:5: error: expected identifier or '(' before 'break' 7992 | ERR_MACRO_NOT_IMPORTED, | ^ parser-smi.c:7994:3: error: expected identifier or '(' before 'case' 7994 | "SNMPv2-CONF"); | ^ parser-smi.c:8022:5: error: expected identifier or '(' before 'break' 8022 | addObjectFlags(objectPtr, FLAG_REGISTERED); | ^ ~~ parser-smi.c:8024:3: error: expected identifier or '(' before 'case' 8024 | setObjectStatus(objectPtr, (yyvsp[-8].status)); | ^ parser-smi.c:8033:5: error: expected identifier or '(' before 'break' 8033 | } | ^ parser-smi.c:8035:3: error: expected identifier or '(' before 'case' 8035 | break; | ^ ~~ parser-smi.c:8041:5: error: expected identifier or '(' before 'break' 8041 | thisParserPtr->currentDecl = SMI_DECL_MODULECOMPLIANCE; | ^ ~~ parser-smi.c:8043:3: error: expected identifier or '(' before 'case' 8043 | checkNameLen(thisParserPtr, (yyvsp[0].id), | ^ parser-smi.c:8051:5: error: expected identifier or '(' before 'break' 8051 | case 362: /* $@54: %empty */ | ^~~~~ parser-smi.c:8053:3: error: expected identifier or '(' before 'case' 8053 | { | ^ parser-smi.c:8066:5: error: expected identifier or '(' before 'break' 8066 | "SNMPv2-CONF"); | ^ parser-smi.c:8068:3: error: expected identifier or '(' before 'case' 8068 | } | ^~ parser-smi.c:8075:5: error: expected identifier or '(' before 'break' 8075 | checkDescr(thisParserPtr, (yyvsp[0].text)); | ^ ~~ parser-smi.c:8077:3: error: expected identifier or '(' before 'case' 8077 | #line 9032 "parser-smi.c" | ^~~~ parser-smi.c:8083:5: error: expected identifier or '(' before 'break' 8083 | Object *objectPtr; | ^ ~~ parser-smi.c:8085:3: error: expected identifier or '(' before 'case' 8085 | Refinement *refinementPtr; | ^ parser-smi.c:8091:5: error: expected identifier or '(' before 'break' 8091 | | ^ parser-smi.c:8093:3: error: expected identifier or '(' before 'case' 8093 | setObjectDecl(objectPtr, | ^ parser-smi.c:8099:5: error: expected identifier or '(' before 'break' 8099 | setObjectStatus(objectPtr, (yyvsp[-9].status)); | ^ ~~ parser-smi.c:8101:3: error: expected identifier or '(' before 'case' 8101 | if ((yyvsp[-5].text)) { | ^ parser-smi.c:8122:5: error: expected identifier or '(' before 'break' 8122 | * refinement list: | ^ ~ parser-smi.c:8124:3: error: expected identifier or '(' before 'case' 8124 | * ``++writetype'' | ^ parser-smi.c:8128:5: error: expected identifier or '(' before 'break' 8128 | listPtr; | ^ parser-smi.c:8130:3: error: expected identifier or '(' before 'case' 8130 | refinementPtr = | ^ parser-smi.c:8134:5: error: expected identifier or '(' before 'break' 8134 | } | ^ ~ parser-smi.c:8136:3: error: expected identifier or '(' before 'case' 8136 | (yyval.err) = 0; | ^ parser-smi.c:8144:5: error: expected identifier or '(' before 'break' 8144 | (yyval.compl) = (yyvsp[0].compl); | ^ ~~ parser-smi.c:8146:3: error: expected identifier or '(' before 'case' 8146 | #line 9101 "parser-smi.c" | ^~~~ parser-smi.c:8150:5: error: expected identifier or '(' before 'break' 8150 | #line 6579 "parser-smi.y" | ^~~~~ parser-smi.c:8152:3: error: expected identifier or '(' before 'case' 8152 | (yyval.compl) = (yyvsp[0].compl); | ^ parser-smi.c:8156:5: error: expected identifier or '(' before 'break' 8156 | | ^ parser-smi.c:8158:3: error: expected identifier or '(' before 'case' 8158 | #line 6583 "parser-smi.y" | ^~~~ parser-smi.c:8166:5: error: expected identifier or '(' before 'break' 8166 | listPtr = listPtr->nextPtr); | ^ parser-smi.c:8168:3: error: expected identifier or '(' before 'case' 8168 | (yyval.compl).mandatorylistPtr = (yyvsp[-1].compl).mandatorylistPtr; | ^ ~~ parser-smi.c:8181:5: error: expected identifier or '(' before 'break' 8181 | if ((yyvsp[-1].compl).refinementlistPtr) { | ^ ~~ parser-smi.c:8183:3: error: expected identifier or '(' before 'case' 8183 | listPtr->nextPtr; | ^ parser-smi.c:8189:5: error: expected identifier or '(' before 'break' 8189 | } | ^ ~ parser-smi.c:8191:3: error: expected identifier or '(' before 'case' 8191 | #line 9146 "parser-smi.c" | ^~~~ parser-smi.c:8197:5: error: expected identifier or '(' before 'break' 8197 | /* | ^ ~~ parser-smi.c:8199:3: error: expected identifier or '(' before 'case' 8199 | * design to allow subsequent clauses to | ^ parser-smi.c:8210:5: error: expected identifier or '(' before 'break' 8210 | #line 9165 "parser-smi.c" | ^~~~~ parser-smi.c:8212:3: error: expected identifier or '(' before 'case' 8212 | | ^ parser-smi.c:8216:5: error: expected identifier or '(' before 'break' 8216 | (yyval.compl).mandatorylistPtr = (yyvsp[-1].listPtr); | ^ ~~ parser-smi.c:8218:3: error: expected identifier or '(' before 'case' 8218 | (yyval.compl).refinementlistPtr = (yyvsp[0].compl).refinementlistPtr; | ^ parser-smi.c:8222:5: error: expected identifier or '(' before 'break' 8222 | thisParserPtr->complianceModulePtr = NULL; | ^~~~~ parser-smi.c:8224:3: error: expected identifier or '(' before 'case' 8224 | } | ^~ parser-smi.c:8228:5: error: expected identifier or '(' before 'break' 8228 | case 370: /* ComplianceModuleName: UPPERCASE_IDENTIFIER objectIdentifier */ | ^~~~~ parser-smi.c:8230:3: error: expected identifier or '(' before 'case' 8230 | { | ^ parser-smi.c:8234:5: error: expected identifier or '(' before 'break' 8234 | (yyval.modulePtr) = loadModule((yyvsp[-1].id), thisParserPtr); | ^~~~~ parser-smi.c:8236:3: error: expected identifier or '(' before 'case' 8236 | smiFree((yyvsp[-1].id)); | ^ parser-smi.c:8240:5: error: expected identifier or '(' before 'break' 8240 | | ^ parser-smi.c:8242:3: error: expected identifier or '(' before 'case' 8242 | #line 6656 "parser-smi.y" | ^~~~ parser-smi.c:8259:5: error: expected identifier or '(' before 'break' 8259 | break; | ^~~~~ parser-smi.c:8261:3: error: expected identifier or '(' before 'case' 8261 | case 373: /* MandatoryPart: MANDATORY_GROUPS '{' MandatoryGroups '}' */ | ^~~~ parser-smi.c:8277:5: error: expected identifier or '(' before 'break' 8277 | case 375: /* MandatoryGroups: MandatoryGroup */ | ^~~~~ parser-smi.c:8279:3: error: expected identifier or '(' before 'case' 8279 | { | ^ parser-smi.c:8285:5: error: expected identifier or '(' before 'break' 8285 | break; | ^~~~~ parser-smi.c:8287:3: error: expected identifier or '(' before 'case' 8287 | case 376: /* MandatoryGroups: MandatoryGroups ',' MandatoryGroup */ | ^~~~ parser-smi.c:8293:5: error: expected identifier or '(' before 'break' 8293 | p->ptr = (yyvsp[0].objectPtr); | ^ ~~ parser-smi.c:8295:3: error: expected identifier or '(' before 'case' 8295 | for (pp = (yyvsp[-2].listPtr); pp->nextPtr; pp = pp->nextPtr); | ^ parser-smi.c:8301:5: error: expected identifier or '(' before 'break' 8301 | | ^ parser-smi.c:8303:3: error: expected identifier or '(' before 'case' 8303 | #line 6700 "parser-smi.y" | ^~~~ parser-smi.c:8311:5: error: expected identifier or '(' before 'break' 8311 | if (thisParserPtr->complianceModulePtr) { | ^ ~~ parser-smi.c:8313:3: error: expected identifier or '(' before 'case' 8313 | thisParserPtr->complianceModulePtr, | ^ parser-smi.c:8326:5: error: expected identifier or '(' before 'break' 8326 | | ^ parser-smi.c:8328:3: error: expected identifier or '(' before 'case' 8328 | #line 6723 "parser-smi.y" | ^~~~ parser-smi.c:8340:5: error: expected identifier or '(' before 'break' 8340 | (yyval.compl).mandatorylistPtr = NULL; | ^ ~~ parser-smi.c:8342:3: error: expected identifier or '(' before 'case' 8342 | (yyval.compl).refinementlistPtr = NULL; | ^ parser-smi.c:8348:5: error: expected identifier or '(' before 'break' 8348 | #line 6737 "parser-smi.y" | ^~~~~ parser-smi.c:8350:3: error: expected identifier or '(' before 'case' 8350 | (yyval.compl) = (yyvsp[0].compl); | ^ parser-smi.c:8358:5: error: expected identifier or '(' before 'break' 8358 | List *listPtr; | ^ ~~ parser-smi.c:8360:3: error: expected identifier or '(' before 'case' 8360 | | ^ parser-smi.c:8373:5: error: expected identifier or '(' before 'break' 8373 | stop = 1; | ^~~~~ parser-smi.c:8375:3: error: expected identifier or '(' before 'case' 8375 | } | ^ parser-smi.c:8386:5: error: expected identifier or '(' before 'break' 8386 | } | ^ parser-smi.c:8388:3: error: expected identifier or '(' before 'case' 8388 | } else { | ^ parser-smi.c:8399:5: error: expected identifier or '(' before 'break' 8399 | smiPrintError(thisParserPtr, | ^~~~~ parser-smi.c:8401:3: error: expected identifier or '(' before 'case' 8401 | ((Refinement *)(yyvsp[0].compl).refinementlistPtr->ptr)->objectPtr->export.name); | ^ parser-smi.c:8407:5: error: expected identifier or '(' before 'break' 8407 | | ^ parser-smi.c:8409:3: error: expected identifier or '(' before 'case' 8409 | if ((yyvsp[-1].compl).refinementlistPtr) { | ^ parser-smi.c:8415:5: error: expected identifier or '(' before 'break' 8415 | } | ^ parser-smi.c:8417:3: error: expected identifier or '(' before 'case' 8417 | } else { | ^ parser-smi.c:8428:5: error: expected identifier or '(' before 'break' 8428 | (yyval.compl).optionlistPtr = (yyvsp[0].listPtr); | ^ ~~ parser-smi.c:8430:3: error: expected identifier or '(' before 'case' 8430 | } | ^~ parser-smi.c:8436:5: error: expected identifier or '(' before 'break' 8436 | { | ^ parser-smi.c:8438:3: error: expected identifier or '(' before 'case' 8438 | (yyval.compl).optionlistPtr = NULL; | ^ parser-smi.c:8444:5: error: expected identifier or '(' before 'break' 8444 | case 384: /* $@57: %empty */ | ^~~~~ parser-smi.c:8446:3: error: expected identifier or '(' before 'case' 8446 | { | ^ parser-smi.c:8542:5: error: expected identifier or '(' before 'break' 8542 | } else { | ^ ~~ parser-smi.c:8544:3: error: expected identifier or '(' before 'case' 8544 | } | ^ parser-smi.c:8650:5: error: expected identifier or '(' before 'break' 8650 | if (importPtr) { | ^ ~~ parser-smi.c:8652:3: error: expected identifier or '(' before 'case' 8652 | } else { | ^ parser-smi.c:8678:5: error: expected identifier or '(' before 'break' 8678 | | ^ parser-smi.c:8680:3: error: expected identifier or '(' before 'case' 8680 | setObjectDecl(objectPtr, | ^ parser-smi.c:8742:5: error: expected identifier or '(' before 'break' 8742 | #line 9697 "parser-smi.c" | ^~~~~ parser-smi.c:8744:3: error: expected identifier or '(' before 'case' 8744 | | ^ parser-smi.c:8813:5: error: expected identifier or '(' before 'break' 8813 | #line 7120 "parser-smi.y" | ^~~~~ parser-smi.c:8815:3: error: expected identifier or '(' before 'case' 8815 | (yyval.modulePtr) = findModuleByName((yyvsp[0].id)); | ^ parser-smi.c:8819:5: error: expected identifier or '(' before 'break' 8819 | smiFree((yyvsp[0].id)); | ^ ~~ parser-smi.c:8821:3: error: expected identifier or '(' before 'case' 8821 | #line 9776 "parser-smi.c" | ^~~~ parser-smi.c:8825:5: error: expected identifier or '(' before 'break' 8825 | #line 7130 "parser-smi.y" | ^~~~~ parser-smi.c:8827:3: error: expected identifier or '(' before 'case' 8827 | #line 9782 "parser-smi.c" | ^~~~ parser-smi.c:8831:5: error: expected identifier or '(' before 'break' 8831 | #line 7132 "parser-smi.y" | ^~~~~ parser-smi.c:8833:3: error: expected identifier or '(' before 'case' 8833 | #line 9788 "parser-smi.c" | ^~~~ parser-smi.c:8837:5: error: expected identifier or '(' before 'break' 8837 | #line 7136 "parser-smi.y" | ^~~~~ parser-smi.c:8839:3: error: expected identifier or '(' before 'case' 8839 | #line 9794 "parser-smi.c" | ^~~~ parser-smi.c:8843:5: error: expected identifier or '(' before 'break' 8843 | #line 7138 "parser-smi.y" | ^~~~~ parser-smi.c:8845:3: error: expected identifier or '(' before 'case' 8845 | #line 9800 "parser-smi.c" | ^~~~ parser-smi.c:8857:5: error: expected identifier or '(' before 'break' 8857 | #line 9812 "parser-smi.c" | ^~~~~ parser-smi.c:8859:3: error: expected identifier or '(' before 'case' 8859 | | ^ parser-smi.c:8878:5: error: expected identifier or '(' before 'break' 8878 | thisParserPtr->flags &= ~FLAG_CREATABLE; | ^ ~~ parser-smi.c:8880:3: error: expected identifier or '(' before 'case' 8880 | variationkind = SMI_NODEKIND_UNKNOWN; | ^ parser-smi.c:8886:5: error: expected identifier or '(' before 'break' 8886 | | ^ parser-smi.c:8888:3: error: expected identifier or '(' before 'case' 8888 | #line 7175 "parser-smi.y" | ^~~~ parser-smi.c:8914:5: error: expected identifier or '(' before 'break' 8914 | } else if (!strcmp((yyvsp[0].id), "read-only")) { | ^ ~~ parser-smi.c:8916:3: error: expected identifier or '(' before 'case' 8916 | SMI_NODEKIND_NOTIFICATION) { | ^ parser-smi.c:8928:5: error: expected identifier or '(' before 'break' 8928 | ERR_INVALID_NOTIFICATION_VARIATION_ACCESS, | ^ parser-smi.c:8930:3: error: expected identifier or '(' before 'case' 8930 | (yyval.access) = SMI_ACCESS_UNKNOWN; | ^ parser-smi.c:8952:5: error: expected identifier or '(' before 'break' 8952 | (yyval.access) = SMI_ACCESS_READ_WRITE; /* TODO */ | ^ ~ parser-smi.c:8954:3: error: expected identifier or '(' before 'case' 8954 | ERR_SMIV2_WRITE_ONLY); | ^ parser-smi.c:8960:5: error: expected identifier or '(' before 'break' 8960 | (yyval.access) = SMI_ACCESS_UNKNOWN; | ^~~~~ parser-smi.c:8962:3: error: expected identifier or '(' before 'case' 8962 | } | ^~ parser-smi.c:8989:5: error: expected identifier or '(' before 'break' 8989 | break; | ^~~~~ parser-smi.c:8991:3: error: expected identifier or '(' before 'case' 8991 | case 424: /* Cells: Cells ',' Cell */ | ^~~~ parser-smi.c:9003:5: error: expected identifier or '(' before 'break' 9003 | | ^ parser-smi.c:9005:3: error: expected identifier or '(' before 'case' 9005 | | ^ parser-smi.c:9024:5: error: expected identifier or '(' before 'break' 9024 | *++yyvsp = yyval; | ^~~~~ parser-smi.c:9026:3: error: expected identifier or '(' before 'case' 9026 | /* Now 'shift' the result of the reduction. Determine what state | ^~~~ parser-smi.c:9032:5: error: expected identifier or '(' before 'break' 9032 | yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp | ^~~~~ parser-smi.c:9034:3: error: expected identifier or '(' before 'case' 9034 | : yydefgoto[yylhs]); | ^ parser-smi.c:9093:5: error: expected identifier or '(' before 'break' 9093 | goto yyerrlab1; | ^~~~~ parser-smi.c:9095:3: error: expected identifier or '(' before 'case' 9095 | | ^ parser-smi.c:9101:5: error: expected identifier or '(' before 'break' 9101 | | ^ parser-smi.c:9103:3: error: expected identifier or '(' before 'case' 9103 | for (;;) | ^~~~ parser-smi.c:9109:5: error: expected identifier or '(' before 'break' 9109 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | ^ parser-smi.c:9111:3: error: expected identifier or '(' before 'case' 9111 | yyn = yytable[yyn]; | ^ parser-smi.c:9146:5: error: expected identifier or '(' before 'break' 9146 | goto yyreturn; | ^~~~~ parser-smi.c:9148:3: error: expected identifier or '(' before 'case' 9148 | | ^ parser-smi.c:9165:5: error: expected identifier or '(' before 'break' 9165 | #endif | ^~ parser-smi.c:9167:3: error: expected identifier or '(' before 'case' 9167 | | ^ parser-smi.c:9180:5: error: expected identifier or '(' before 'break' 9180 | /* Do not reclaim the symbols of the rule whose action triggered | ^~~~~ parser-smi.c:9182:3: error: expected identifier or '(' before 'case' 9182 | YYPOPSTACK (yylen); | ^~~~ parser-smi.c:9193:5: error: expected identifier or '(' before 'break' 9193 | #endif | ^~ parser-smi.c:9195:3: error: expected identifier or '(' before 'case' 9195 | return yyresult; | ^~~~ parser-smi.c:9205:5: error: expected identifier or '(' before 'break' parser-smi.c:9207:3: error: expected identifier or '(' before 'case' parser-smi.c:9213:5: error: expected identifier or '(' before 'break' parser-smi.c:9215:3: error: expected identifier or '(' before 'case' parser-smi.c:9221:5: error: expected identifier or '(' before 'break' parser-smi.c:9223:3: error: expected identifier or '(' before 'case' parser-smi.c:9229:5: error: expected identifier or '(' before 'break' parser-smi.c:9231:3: error: expected identifier or '(' before 'case' parser-smi.c:9239:5: error: expected identifier or '(' before 'break' parser-smi.c:9241:3: error: expected identifier or '(' before 'case' parser-smi.c:9254:5: error: expected identifier or '(' before 'break' parser-smi.c:9256:3: error: expected identifier or '(' before 'case' parser-smi.c:9279:5: error: expected identifier or '(' before 'break' parser-smi.c:9281:3: error: expected identifier or '(' before 'case' parser-smi.c:9289:5: error: expected identifier or '(' before 'break' parser-smi.c:9291:3: error: expected identifier or '(' before 'case' parser-smi.c:9299:5: error: expected identifier or '(' before 'break' parser-smi.c:9301:3: error: expected identifier or '(' before 'case' parser-smi.c:9307:5: error: expected identifier or '(' before 'break' parser-smi.c:9309:3: error: expected identifier or '(' before 'case' parser-smi.c:9376:5: error: expected identifier or '(' before 'break' parser-smi.c:9378:3: error: expected identifier or '(' before 'case' parser-smi.c:9386:5: error: expected identifier or '(' before 'break' parser-smi.c:9388:3: error: expected identifier or '(' before 'case' parser-smi.c:9396:5: error: expected identifier or '(' before 'break' parser-smi.c:9398:3: error: expected identifier or '(' before 'case' parser-smi.c:9404:5: error: expected identifier or '(' before 'break' parser-smi.c:9406:3: error: expected identifier or '(' before 'case' parser-smi.c:9434:5: error: expected identifier or '(' before 'break' parser-smi.c:9436:3: error: expected identifier or '(' before 'case' parser-smi.c:9443:5: error: expected identifier or '(' before 'break' parser-smi.c:9445:3: error: expected identifier or '(' before 'case' parser-smi.c:9484:5: error: expected identifier or '(' before 'break' parser-smi.c:9486:3: error: expected identifier or '(' before 'case' parser-smi.c:9501:5: error: expected identifier or '(' before 'break' parser-smi.c:9503:3: error: expected identifier or '(' before 'case' parser-smi.c:9509:5: error: expected identifier or '(' before 'break' parser-smi.c:9511:3: error: expected identifier or '(' before 'case' parser-smi.c:9530:5: error: expected identifier or '(' before 'break' parser-smi.c:9532:3: error: expected identifier or '(' before 'case' parser-smi.c:9538:5: error: expected identifier or '(' before 'break' parser-smi.c:9540:3: error: expected identifier or '(' before 'case' parser-smi.c:9546:5: error: expected identifier or '(' before 'break' parser-smi.c:9548:3: error: expected identifier or '(' before 'case' parser-smi.c:9556:5: error: expected identifier or '(' before 'break' parser-smi.c:9558:3: error: expected identifier or '(' before 'case' parser-smi.c:9568:5: error: expected identifier or '(' before 'break' parser-smi.c:9570:3: error: expected identifier or '(' before 'case' parser-smi.c:9576:5: error: expected identifier or '(' before 'break' parser-smi.c:9578:3: error: expected identifier or '(' before 'case' parser-smi.c:9590:5: error: expected identifier or '(' before 'break' parser-smi.c:9592:3: error: expected identifier or '(' before 'case' parser-smi.c:9614:5: error: expected identifier or '(' before 'break' parser-smi.c:9616:3: error: expected identifier or '(' before 'case' parser-smi.c:9622:5: error: expected identifier or '(' before 'break' parser-smi.c:9624:3: error: expected identifier or '(' before 'case' parser-smi.c:9654:5: error: expected identifier or '(' before 'break' parser-smi.c:9656:3: error: expected identifier or '(' before 'case' parser-smi.c:9660:5: error: expected identifier or '(' before 'break' parser-smi.c:9662:3: error: expected identifier or '(' before 'case' parser-smi.c:9666:5: error: expected identifier or '(' before 'break' parser-smi.c:9668:3: error: expected identifier or '(' before 'case' parser-smi.c:9672:5: error: expected identifier or '(' before 'break' parser-smi.c:9674:3: error: expected identifier or '(' before 'case' parser-smi.c:9678:5: error: expected identifier or '(' before 'break' parser-smi.c:9680:3: error: expected identifier or '(' before 'case' parser-smi.c:9697:5: error: expected identifier or '(' before 'break' parser-smi.c:9699:3: error: expected identifier or '(' before 'case' parser-smi.c:9710:5: error: expected identifier or '(' before 'break' parser-smi.c:9712:3: error: expected identifier or '(' before 'case' parser-smi.c:9724:5: error: expected identifier or '(' before 'break' parser-smi.c:9726:3: error: expected identifier or '(' before 'case' parser-smi.c:9743:5: error: expected identifier or '(' before 'break' parser-smi.c:9745:3: error: expected identifier or '(' before 'case' parser-smi.c:9751:5: error: expected identifier or '(' before 'break' parser-smi.c:9753:3: error: expected identifier or '(' before 'case' parser-smi.c:9764:5: error: expected identifier or '(' before 'break' parser-smi.c:9766:3: error: expected identifier or '(' before 'case' parser-smi.c:9776:5: error: expected identifier or '(' before 'break' parser-smi.c:9778:3: error: expected identifier or '(' before 'case' parser-smi.c:9782:5: error: expected identifier or '(' before 'break' parser-smi.c:9784:3: error: expected identifier or '(' before 'case' parser-smi.c:9788:5: error: expected identifier or '(' before 'break' parser-smi.c:9790:3: error: expected identifier or '(' before 'case' parser-smi.c:9794:5: error: expected identifier or '(' before 'break' parser-smi.c:9796:3: error: expected identifier or '(' before 'case' parser-smi.c:9800:5: error: expected identifier or '(' before 'break' parser-smi.c:9802:3: error: expected identifier or '(' before 'case' parser-smi.c:9812:5: error: expected identifier or '(' before 'break' parser-smi.c:9814:3: error: expected identifier or '(' before 'case' parser-smi.c:9827:5: error: expected identifier or '(' before 'break' parser-smi.c:9829:3: error: expected identifier or '(' before 'case' parser-smi.c:9839:5: error: expected identifier or '(' before 'break' parser-smi.c:9841:3: error: expected identifier or '(' before 'case' parser-smi.c:9845:5: error: expected identifier or '(' before 'break' parser-smi.c:9847:3: error: expected identifier or '(' before 'case' parser-smi.c:9851:5: error: expected identifier or '(' before 'break' parser-smi.c:9853:3: error: expected identifier or '(' before 'case' parser-smi.c:9918:5: error: expected identifier or '(' before 'break' parser-smi.c:9920:3: error: expected identifier or '(' before 'case' parser-smi.c:9931:5: error: expected identifier or '(' before 'break' parser-smi.c:9933:3: error: expected identifier or '(' before 'case' parser-smi.c:9937:5: error: expected identifier or '(' before 'break' parser-smi.c:9939:3: error: expected identifier or '(' before 'case' parser-smi.c:9943:5: error: expected identifier or '(' before 'break' parser-smi.c:9945:3: error: expected identifier or '(' before 'case' parser-smi.c:9949:5: error: expected identifier or '(' before 'break' parser-smi.c:9951:3: error: expected identifier or '(' before 'case' parser-smi.c:9955:5: error: expected identifier or '(' before 'break' parser-smi.c:9960:7: error: expected identifier or '(' before 'default' parser-smi.c:9961:5: error: expected identifier or '(' before '}' token parser-smi.c:9973:20: error: expected declaration specifiers or '...' before string constant parser-smi.c:1344:31: error: expected declaration specifiers or '...' before '(' token 1344 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-smi.c:9973:31: note: in expansion of macro 'YY_CAST' parser-smi.c:9973:69: error: expected declaration specifiers or '...' before '&' token parser-smi.c:9973:77: error: expected declaration specifiers or '...' before '&' token parser-smi.c:9975:3: warning: data definition has no type or storage class parser-smi.c:9975:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:9975:3: warning: parameter names (without types) in function declaration parser-smi.c:9976:3: warning: data definition has no type or storage class parser-smi.c:9976:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:9978:4: error: expected identifier or '(' before '++' token parser-smi.c:9983:3: error: expected identifier or '(' before '{' token parser-smi.c:9991:3: error: expected identifier or '(' before 'goto' parser-smi.c:9997:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10002:3: error: expected identifier or '(' before 'if' parser-smi.c:10008:3: error: expected identifier or '(' before 'if' parser-smi.c:10029:3: error: expected identifier or '(' before 'goto' parser-smi.c:10035:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10043:3: warning: data definition has no type or storage class parser-smi.c:10043:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10043:3: warning: parameter names (without types) in function declaration parser-smi.c:10044:3: warning: data definition has no type or storage class parser-smi.c:10044:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:10044:3: error: redefinition of 'yylen' parser-smi.c:9976:3: note: previous definition of 'yylen' was here parser-smi.c:10045:3: warning: data definition has no type or storage class parser-smi.c:10045:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10045:3: warning: parameter names (without types) in function declaration parser-smi.c:10046:3: warning: data definition has no type or storage class parser-smi.c:10046:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10046:14: error: 'yyssp' undeclared here (not in a function) parser-smi.c:10047:3: error: expected identifier or '(' before 'goto' parser-smi.c:10053:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10057:3: error: expected identifier or '(' before 'for' parser-smi.c:10057:10: error: expected identifier or '(' before ')' token parser-smi.c:10084:4: error: expected identifier or '(' before '++' token parser-smi.c:10089:20: error: expected declaration specifiers or '...' before string constant parser-smi.c:1344:31: error: expected declaration specifiers or '...' before '(' token 1344 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-smi.c:2130:36: note: in expansion of macro 'YY_CAST' 2130 | #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) | ^~~~~~~ parser-smi.c:10089:32: note: in expansion of macro 'YY_ACCESSING_SYMBOL' parser-smi.c:10089:59: error: expected declaration specifiers or '...' before 'yyvsp' parser-smi.c:10089:66: error: unknown type name 'yylsp' parser-smi.c:10091:3: warning: data definition has no type or storage class parser-smi.c:10091:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10091:3: error: redefinition of 'yystate' parser-smi.c:10046:3: note: previous definition of 'yystate' was here parser-smi.c:10091:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-smi.c:10092:3: error: expected identifier or '(' before 'goto' parser-smi.c:10098:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10100:3: error: expected identifier or '(' before 'goto' parser-smi.c:10106:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10108:3: error: expected identifier or '(' before 'goto' parser-smi.c:10115:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10117:3: warning: data definition has no type or storage class parser-smi.c:10117:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-smi.c:10118:3: error: expected identifier or '(' before 'goto' parser-smi.c:10125:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10136:3: warning: data definition has no type or storage class parser-smi.c:10136:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10136:3: warning: parameter names (without types) in function declaration parser-smi.c:10137:3: warning: data definition has no type or storage class parser-smi.c:10137:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10137:3: warning: parameter names (without types) in function declaration parser-smi.c:10138:3: error: expected identifier or '(' before 'while' parser-smi.c:10145:3: error: expected identifier or '(' before 'if' parser-smi.c:10149:3: error: expected identifier or '(' before 'return' parser-smi.c:10150:1: error: expected identifier or '(' before '}' token parser-smi.c:2683:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 2683 | static const yytype_int16 yyr1[] = | ^~~~ parser-smi.c:2607:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 2607 | static const yytype_int16 yystos[] = | ^~~~~~ parser-smi.c:2534:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 2534 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-smi.c:2463:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 2463 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-smi.c:2433:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 2433 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-smi.c:2405:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 2405 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-smi.c:2329:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 2329 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-smi.c:2251:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 2251 | static const yytype_int16 yypact[] = | ^~~~~~ parser-smi.c:2081:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 2081 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-smi.c:2039:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 2039 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-smi.y:1199:1: warning: 'checkDate' defined but not used [-Wunused-function] 1199 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-smi.y:1144:1: warning: 'checkImportsUsage' defined but not used [-Wunused-function] 1144 | checkImportsUsage(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~ parser-smi.y:1118:1: warning: 'checkDefvals' defined but not used [-Wunused-function] 1118 | checkDefvals(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:946:1: warning: 'checkTypes' defined but not used [-Wunused-function] 946 | checkTypes(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~ parser-smi.y:202:1: warning: 'checkObjects' defined but not used [-Wunused-function] 202 | checkObjects(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:187:1: warning: 'checkModuleIdentity' defined but not used [-Wunused-function] 187 | checkModuleIdentity(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~~~ parser-smi.y:139:1: warning: 'checkModuleName' defined but not used [-Wunused-function] 139 | checkModuleName(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~ parser-smi.y:125:1: warning: 'checkNameLen' defined but not used [-Wunused-function] 125 | checkNameLen(Parser *parser, char *name, int error_32, int error_64) | ^~~~~~~~~~~~ parser-smi.y:111:1: warning: 'checkDescr' defined but not used [-Wunused-function] 111 | checkDescr(Parser *parser, char *descr) | ^~~~~~~~~~ parser-smi.y:65:15: warning: 'indexFlag' defined but not used [-Wunused-variable] 65 | static int indexFlag; | ^~~~~~~~~ parser-smi.y:64:20: warning: 'defaultBasetype' defined but not used [-Wunused-variable] 64 | static SmiBasetype defaultBasetype; | ^~~~~~~~~~~~~~~ parser-smi.y:63:20: warning: 'variationkind' defined but not used [-Wunused-variable] 63 | static SmiNodekind variationkind; | ^~~~~~~~~~~~~ parser-smi.y:62:15: warning: 'impliedFlag' defined but not used [-Wunused-variable] 62 | static int impliedFlag; | ^~~~~~~~~~~ make[2]: *** [Makefile:570: parser-smi.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psmi -t -o scanner-smi.c scanner-smi.l > scanner-smi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o scanner-sming.lo scanner-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c scanner-sming.c -fPIC -DPIC -o .libs/scanner-sming.o scanner-sming.c:7240:16: warning: 'input' defined but not used [-Wunused-function] 7240 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o scanner-yang.lo scanner-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c scanner-yang.c -fPIC -DPIC -o .libs/scanner-yang.o scanner-yang.l: In function 'yanglex': scanner-yang.l:790:11: warning: statement with no effect [-Wunused-value] 790 | return identifier; | ^ scanner-yang.l:796:11: warning: statement with no effect [-Wunused-value] 796 | return identifier; | ^ scanner-yang.l:806:11: warning: statement with no effect [-Wunused-value] 806 | return identifierRefArg; | ^ scanner-yang.l:812:11: warning: statement with no effect [-Wunused-value] 812 | return identifierRefArgStr; | ^ scanner-yang.l:822:11: warning: statement with no effect [-Wunused-value] 822 | return dateString; | ^ scanner-yang.l:829:11: warning: statement with no effect [-Wunused-value] 829 | return dateString; | ^ scanner-yang.l:839:11: warning: statement with no effect [-Wunused-value] 839 | return yangVersion; | ^ scanner-yang.l:846:11: warning: statement with no effect [-Wunused-value] 846 | return yangVersion; | ^ scanner-yang.l:887:15: warning: statement with no effect [-Wunused-value] 887 | return qString; | ^ scanner-yang.l:926:15: warning: statement with no effect [-Wunused-value] 926 | return uqString; | ^ At top level: scanner-yang.c:11675:16: warning: 'input' defined but not used [-Wunused-function] 11675 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parser-sming.lo parser-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c parser-sming.c -fPIC -DPIC -o .libs/parser-sming.o parser-sming.y: In function 'checkTypes': parser-sming.y:182:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 182 | if (! parserPtr->flags & SMI_FLAG_NODESCR | ^~~~~~~~~~~~~~~~~~ parser-sming.y: In function 'checkDate': parser-sming.y:258:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.y: In function 'smingparse': parser-sming.y:879:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if(typePtr = | ^~~~~~~ parser-sming.y:914:40: warning: pointer targets in passing argument 2 of 'findNamedNumberByName' differ in signedness [-Wpointer-sign] 914 | $11->value.ptr)) { | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from error.h:17, from parser-sming.y:42: smi-data.h:748:20: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | const char *name); | ~~~~~~~~~~~~^~~~ parser-sming.y:913:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:9: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.y:2157:54: warning: passing argument 2 of 'setAttributeList' makes pointer from integer without a cast [-Wint-conversion] 2157 | setAttributeList($$, $1); | ^ | | | int In file included from error.h:17, from parser-sming.y:42: smi-data.h:705:61: note: expected 'List *' but argument is of type 'int' 705 | extern void setAttributeList(Attribute *attributePtr, List *listPtr); | ~~~~~~^~~~~~~ parser-sming.y:2158:12: warning: assignment to 'List *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.y:2197:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.y:2760:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2760 | $$->value.ptr = smiStrdup($1); | ^ parser-sming.y:2817:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2865:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2962:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2962 | $$->value.ptr = $1; | ^ parser-sming.y:2978:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2978 | $$->value.ptr = $1; | ^ parser-sming.y:2985:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2985 | $$->value.ptr = $1; | ^ parser-sming.y:2992:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2992 | $$->value.ptr = $1; | ^ parser-sming.y:3008:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ At top level: parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parser-yang.lo parser-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.y: In function 'yangparse': parser-yang.y:615:21: warning: implicit declaration of function 'yangSemanticAnalysis' [-Wimplicit-function-declaration] 615 | yangSemanticAnalysis(thisModulePtr); | ^~~~~~~~~~~~~~~~~~~~ parser-yang.y:965:21: warning: implicit declaration of function 'yangValidateInclude' [-Wimplicit-function-declaration] 965 | yangValidateInclude(thisModulePtr, includedModule); | ^~~~~~~~~~~~~~~~~~~ parser-yang.y:1017:25: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 1017 | createIdentifierRef(node, getPrefix($2), getIdentifier($2)); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef In file included from util.h:21, from parser-yang.y:42: error.h:25:33: warning: implicit declaration of function 'smiyyerror'; did you mean 'yyerror'? [-Wimplicit-function-declaration] 25 | #define yyerror(parserPtr, msg) smiyyerror(msg, parserPtr) | ^~~~~~~~~~ parser-yang.c:4913:7: note: in expansion of macro 'yyerror' 4913 | yyerror (parserPtr, YY_("syntax error")); | ^~~~~~~ At top level: parser-yang.y:87:13: warning: 'pushDecl' defined but not used [-Wunused-function] 87 | static void pushDecl(YangDecl decl) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.56242 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.56242 (%build) Command exited with non-zero status 1 22.00user 3.90system 0:16.35elapsed 158%CPU (0avgtext+0avgdata 51436maxresident)k 0inputs+0outputs (0major+1103255minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt2.src.rpm' failed. Command exited with non-zero status 1 31.25user 7.39system 0:28.65elapsed 134%CPU (0avgtext+0avgdata 106532maxresident)k 19128inputs+0outputs (0major+1373356minor)pagefaults 0swaps