<86>Sep 14 11:49:36 userdel[833465]: delete user 'rooter' <86>Sep 14 11:49:36 userdel[833465]: removed group 'rooter' owned by 'rooter' <86>Sep 14 11:49:36 userdel[833465]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 11:49:36 groupadd[833474]: group added to /etc/group: name=rooter, GID=633 <86>Sep 14 11:49:36 groupadd[833474]: group added to /etc/gshadow: name=rooter <86>Sep 14 11:49:36 groupadd[833474]: new group: name=rooter, GID=633 <86>Sep 14 11:49:36 useradd[833480]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Sep 14 11:49:36 userdel[833492]: delete user 'builder' <86>Sep 14 11:49:36 userdel[833492]: removed group 'builder' owned by 'builder' <86>Sep 14 11:49:36 userdel[833492]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 11:49:36 groupadd[833504]: group added to /etc/group: name=builder, GID=634 <86>Sep 14 11:49:36 groupadd[833504]: group added to /etc/gshadow: name=builder <86>Sep 14 11:49:36 groupadd[833504]: new group: name=builder, GID=634 <86>Sep 14 11:49:36 useradd[833516]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Sep 14 11:49:40 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 11:49:40 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:49:40 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 11:49:40 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Sep 14 11:49:40 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330787 installed <13>Sep 14 11:49:40 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Sep 14 11:49:40 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:49:40 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:49:40 rpmi: mount-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Sep 14 11:49:40 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 11:49:40 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 11:49:40 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Sep 14 11:49:40 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Sep 14 11:49:40 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Sep 14 11:49:40 rpmi: libwayland-cursor-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:49:40 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 11:49:41 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 14 11:49:41 rpmi: liborc-0.4.32-alt1.1 sisyphus+284077.100.1.1 1630142976 installed <13>Sep 14 11:49:41 rpmi: libgudev-1:237-alt1 sisyphus+282754.100.1.1 1629006690 installed <13>Sep 14 11:49:41 rpmi: libfribidi-1.0.10-alt1 sisyphus+277991.100.1.1 1625932304 installed <13>Sep 14 11:49:41 rpmi: libdatrie-0.2.9-alt1_6 sisyphus+278217.100.1.1 1626078473 installed <13>Sep 14 11:49:41 rpmi: libthai-0.1.28-alt1_1 sisyphus+275403.100.1.2 1624502531 installed <13>Sep 14 11:49:41 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476328 installed <13>Sep 14 11:49:41 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478374 installed <13>Sep 14 11:49:41 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444970 installed <13>Sep 14 11:49:41 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Sep 14 11:49:41 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Sep 14 11:49:41 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 11:49:41 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 11:49:41 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 11:49:41 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 11:49:41 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 11:49:41 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed Updating fonts cache: <29>Sep 14 11:49:42 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 14 11:49:42 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975602 installed <13>Sep 14 11:49:42 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Sep 14 11:49:42 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550766 installed <13>Sep 14 11:49:42 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 14 11:49:42 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Sep 14 11:49:42 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Sep 14 11:49:42 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <13>Sep 14 11:49:42 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Sep 14 11:49:43 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530700 installed <13>Sep 14 11:49:43 rpmi: libcups-2.3.3-alt6.op2 sisyphus+274028.100.1.1 1623149062 installed <13>Sep 14 11:49:43 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Sep 14 11:49:43 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220281 installed <13>Sep 14 11:49:43 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219266 installed <13>Sep 14 11:49:43 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Sep 14 11:49:43 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 11:49:43 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Sep 14 11:49:43 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 11:49:43 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 11:49:43 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 11:49:43 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 11:49:43 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 11:49:43 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Sep 14 11:49:43 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 14 11:49:43 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Sep 14 11:49:43 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134584 installed <13>Sep 14 11:49:43 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Sep 14 11:49:43 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Sep 14 11:49:43 rpmi: libXi-1.7.10-alt1 sisyphus+278284.100.1.2 1626151193 installed <13>Sep 14 11:49:43 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573270 installed <13>Sep 14 11:49:43 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573270 installed <13>Sep 14 11:49:43 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477167 installed <13>Sep 14 11:49:43 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Sep 14 11:49:43 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454723 installed <13>Sep 14 11:49:43 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:49:43 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:49:43 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 11:49:43 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:49:43 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:49:43 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 11:49:43 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 14 11:49:43 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Sep 14 11:49:43 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955707 installed <13>Sep 14 11:49:43 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Sep 14 11:49:43 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378268 installed <13>Sep 14 11:49:43 rpmi: shared-mime-info-2.1-alt1 sisyphus+278982.100.1.1 1626350327 installed <13>Sep 14 11:49:43 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Sep 14 11:49:43 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Sep 14 11:49:44 rpmi: libgio-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993714 installed <13>Sep 14 11:49:44 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041559 installed <13>Sep 14 11:49:44 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Sep 14 11:49:44 rpmi: libgstreamer1.0-1.18.5-alt1 sisyphus+284897.100.2.1 1631185299 installed <13>Sep 14 11:49:44 rpmi: libpango-1.48.10-alt1 sisyphus+285076.100.1.1 1631425185 installed <13>Sep 14 11:49:44 rpmi: libgst-plugins1.0-1.18.5-alt1 sisyphus+284897.200.2.1 1631185449 installed <13>Sep 14 11:49:44 rpmi: gtk-update-icon-cache-3.24.30-alt1 sisyphus+277720.100.1.1 1625768759 installed <13>Sep 14 11:49:44 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Sep 14 11:49:44 rpmi: wxGTK-2:2.8.12-alt1.svn20131012.6 sisyphus+277617.100.1.1 1625719355 installed <13>Sep 14 11:49:44 rpmi: libwxGTK-2:2.8.12-alt1.svn20131012.6 sisyphus+277617.100.1.1 1625719355 installed <13>Sep 14 11:49:44 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 14 11:49:45 rpmi: libstdc++11-devel-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 11:49:46 rpmi: gcc11-c++-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 11:49:46 rpmi: libdevmapper-1.02.179-alt1 sisyphus+283298.100.3.1 1629308593 installed <13>Sep 14 11:49:46 rpmi: losetup-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Sep 14 11:49:46 rpmi: lsblk-2.37.2-alt2 sisyphus+284245.100.1.1 1630401233 installed <13>Sep 14 11:49:46 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 11:49:46 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 11:49:46 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 11:49:46 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 11:49:46 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 11:49:47 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 11:49:47 rpmi: libkmod-27.0.9.f5434cf-alt1 sisyphus+278393.100.1.2 1626199724 installed <13>Sep 14 11:49:47 rpmi: kmod-27.0.9.f5434cf-alt1 sisyphus+278393.100.1.2 1626199724 installed <13>Sep 14 11:49:47 rpmi: dmsetup-1.02.179-alt1 sisyphus+283298.100.3.1 1629308593 installed <86>Sep 14 11:49:47 groupadd[845749]: group added to /etc/group: name=tape, GID=499 <86>Sep 14 11:49:47 groupadd[845749]: group added to /etc/gshadow: name=tape <86>Sep 14 11:49:47 groupadd[845749]: new group: name=tape, GID=499 <86>Sep 14 11:49:47 groupadd[845757]: group added to /etc/group: name=dialout, GID=498 <86>Sep 14 11:49:47 groupadd[845757]: group added to /etc/gshadow: name=dialout <86>Sep 14 11:49:47 groupadd[845757]: new group: name=dialout, GID=498 <86>Sep 14 11:49:47 groupadd[845764]: group added to /etc/group: name=input, GID=497 <86>Sep 14 11:49:47 groupadd[845764]: group added to /etc/gshadow: name=input <86>Sep 14 11:49:47 groupadd[845764]: new group: name=input, GID=497 <86>Sep 14 11:49:47 groupadd[845770]: group added to /etc/group: name=video, GID=496 <86>Sep 14 11:49:47 groupadd[845770]: group added to /etc/gshadow: name=video <86>Sep 14 11:49:47 groupadd[845770]: new group: name=video, GID=496 <86>Sep 14 11:49:47 groupadd[845776]: group added to /etc/group: name=render, GID=495 <86>Sep 14 11:49:47 groupadd[845776]: group added to /etc/gshadow: name=render <86>Sep 14 11:49:47 groupadd[845776]: new group: name=render, GID=495 <13>Sep 14 11:49:47 rpmi: udev-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <86>Sep 14 11:49:48 groupadd[847543]: group added to /etc/group: name=fuse, GID=494 <86>Sep 14 11:49:48 groupadd[847543]: group added to /etc/gshadow: name=fuse <86>Sep 14 11:49:48 groupadd[847543]: new group: name=fuse, GID=494 <86>Sep 14 11:49:48 groupadd[847561]: group added to /etc/group: name=cuse, GID=493 <86>Sep 14 11:49:48 groupadd[847561]: group added to /etc/gshadow: name=cuse <86>Sep 14 11:49:48 groupadd[847561]: new group: name=cuse, GID=493 <13>Sep 14 11:49:48 rpmi: fuse-common-1.1.2-alt1 sisyphus+279613.200.2.1 1626617487 installed <13>Sep 14 11:49:48 rpmi: fuse-2.9.9-alt1 sisyphus+275297.100.1.2 1624473996 installed <13>Sep 14 11:49:48 rpmi: libfuse-2.9.9-alt1 sisyphus+275297.100.1.2 1624473996 installed <13>Sep 14 11:49:48 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Sep 14 11:49:48 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 14 11:49:48 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+279749.100.1.1 1626687314 installed <13>Sep 14 11:49:48 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Sep 14 11:49:48 rpmi: libwxGTK-devel-2:2.8.12-alt1.svn20131012.6 sisyphus+277617.100.1.1 1625719355 installed <13>Sep 14 11:49:48 rpmi: libfuse-devel-2.9.9-alt1 sisyphus+275297.100.1.2 1624473996 installed <13>Sep 14 11:49:48 rpmi: gcc-c++-11-alt1 icarus+285089.300.1.1 1631485148 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gostcrypt-1.3-alt3.nosrc.rpm (w1.gzdio) Installing gostcrypt-1.3-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.81790 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf GostCrypt_Linux_1.3 + echo 'Source #0 (GostCrypt_Linux_1.3.tar.gz):' Source #0 (GostCrypt_Linux_1.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/GostCrypt_Linux_1.3.tar.gz + /bin/tar -xf - + cd GostCrypt_Linux_1.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (gostcrypt-fix-conversion.patch):' Patch #0 (gostcrypt-fix-conversion.patch): + /usr/bin/patch -p2 patching file Main/Forms/PreferencesDialog.cpp patching file Main/GraphicUserInterface.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.81790 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd GostCrypt_Linux_1.3 + export 'GST_EXTRA_CFLAGS=-Wno-narrowing -fgnu89-inline' + GST_EXTRA_CFLAGS='-Wno-narrowing -fgnu89-inline' + export 'GST_EXTRA_CXXFLAGS=-Wno-narrowing -fgnu89-inline' + GST_EXTRA_CXXFLAGS='-Wno-narrowing -fgnu89-inline' + make -j8 NOTEST=1 VERBOSE=1 make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Event.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Event.cpp -o Event.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Memory.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Memory.cpp -o Memory.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Buffer.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Buffer.cpp -o Buffer.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling FileCommon.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c FileCommon.cpp -o FileCommon.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Serializable.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Serializable.cpp -o Serializable.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling MemoryStream.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c MemoryStream.cpp -o MemoryStream.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling SerializerFactory.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c SerializerFactory.cpp -o SerializerFactory.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Directory.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Directory.cpp -o Unix/Directory.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling TextReader.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c TextReader.cpp -o TextReader.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Serializer.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Serializer.cpp -o Serializer.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling File.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/File.cpp -o Unix/File.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Exception.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Exception.cpp -o Exception.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling FilesystemPath.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/FilesystemPath.cpp -o Unix/FilesystemPath.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling StringConverter.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c StringConverter.cpp -o StringConverter.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Mutex.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Mutex.cpp -o Unix/Mutex.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling PlatformTest.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c PlatformTest.cpp -o PlatformTest.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling SyncEvent.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/SyncEvent.cpp -o Unix/SyncEvent.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Poller.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Poller.cpp -o Unix/Poller.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling SystemLog.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/SystemLog.cpp -o Unix/SystemLog.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Pipe.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Pipe.cpp -o Unix/Pipe.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Thread.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Thread.cpp -o Unix/Thread.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Process.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Process.cpp -o Unix/Process.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ Unix/Process.cpp: In static member function 'static std::string GostCrypt::Process::Execute(const string&, const std::__cxx11::list >&, int, GostCrypt::ProcessExecFunctor*, const GostCrypt::Buffer*)': Unix/Process.cpp:170:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | auto_ptr deserializedObject; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from Unix/Process.h:13, from Unix/Process.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling SystemInfo.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/SystemInfo.cpp -o Unix/SystemInfo.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling Time.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/Time.cpp -o Unix/Time.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Compiling SystemException.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -c Unix/SystemException.cpp -o Unix/SystemException.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' Updating library Platform.a ar -rcu Platform.a Buffer.o Exception.o Event.o FileCommon.o MemoryStream.o Memory.o PlatformTest.o Serializable.o Serializer.o SerializerFactory.o StringConverter.o TextReader.o Unix/Directory.o Unix/File.o Unix/FilesystemPath.o Unix/Mutex.o Unix/Pipe.o Unix/Poller.o Unix/Process.o Unix/SyncEvent.o Unix/SystemException.o Unix/SystemInfo.o Unix/SystemLog.o Unix/Thread.o Unix/Time.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib Platform.a make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling Cipher.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c Cipher.cpp -o Cipher.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef unsigned char byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef unsigned char byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef unsigned char byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef unsigned char byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Cipher.cpp:12: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef unsigned char byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ Cipher.cpp: In member function 'virtual void GostCrypt::CipherGOST::Decrypt(GostCrypt::byte*) const': Cipher.cpp:116:17: error: 'gost_decrypt' was not declared in this scope; did you mean 'GostCrypt'? 116 | gost_decrypt (data, data, (gost_kds *) ScheduledKey.Ptr()); | ^~~~~~~~~~~~ | GostCrypt Cipher.cpp: In member function 'virtual void GostCrypt::CipherGOST::Encrypt(GostCrypt::byte*) const': Cipher.cpp:121:17: error: 'gost_encrypt' was not declared in this scope; did you mean 'GostCrypt'? 121 | gost_encrypt (data, data, (gost_kds *) ScheduledKey.Ptr()); | ^~~~~~~~~~~~ | GostCrypt Cipher.cpp: In member function 'virtual void GostCrypt::CipherGOST::DecryptWithKS(GostCrypt::byte*, GostCrypt::byte*) const': Cipher.cpp:126:17: error: 'gost_decrypt' was not declared in this scope; did you mean 'GostCrypt'? 126 | gost_decrypt (data, data, (gost_kds *) ks); | ^~~~~~~~~~~~ | GostCrypt Cipher.cpp: In member function 'virtual void GostCrypt::CipherGOST::EncryptWithKS(GostCrypt::byte*, GostCrypt::byte*) const': Cipher.cpp:131:17: error: 'gost_encrypt' was not declared in this scope; did you mean 'GostCrypt'? 131 | gost_encrypt (data, data, (gost_kds *) ks); | ^~~~~~~~~~~~ | GostCrypt Cipher.cpp: In member function 'virtual void GostCrypt::CipherGOST::SetCipherKey(const byte*)': Cipher.cpp:141:17: error: 'gost_set_key' was not declared in this scope 141 | gost_set_key ((byte *)key, (gost_kds *)ScheduledKey.Ptr()); | ^~~~~~~~~~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: Cipher.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling EncryptionAlgorithm.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c EncryptionAlgorithm.cpp -o EncryptionAlgorithm.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionAlgorithm.h:13, from EncryptionAlgorithm.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionAlgorithm.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: EncryptionAlgorithm.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling EncryptionMode.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c EncryptionMode.cpp -o EncryptionMode.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionMode.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from EncryptionMode.cpp:12: EncryptionThreadPool.h:44:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 44 | auto_ptr ItemException; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionMode.h:13, from EncryptionMode.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: EncryptionMode.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling EncryptionModeXTS.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c EncryptionModeXTS.cpp -o EncryptionModeXTS.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from EncryptionModeXTS.h:13, from EncryptionModeXTS.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionModeXTS.h:14, from EncryptionModeXTS.cpp:10: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: EncryptionModeXTS.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling EncryptionThreadPool.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c EncryptionThreadPool.cpp -o EncryptionThreadPool.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionThreadPool.cpp:21: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from EncryptionThreadPool.cpp:22: EncryptionThreadPool.h:44:25: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 44 | auto_ptr ItemException; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ EncryptionThreadPool.cpp: In static member function 'static void GostCrypt::EncryptionThreadPool::DoWork(GostCrypt::EncryptionThreadPool::WorkType::Enum, const GostCrypt::EncryptionMode*, GostCrypt::byte*, GostCrypt::uint64, GostCrypt::uint64, size_t)': EncryptionThreadPool.cpp:125:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 125 | auto_ptr itemException; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/SyncEvent.h:15, from EncryptionThreadPool.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: EncryptionThreadPool.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling EncryptionTest.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c EncryptionTest.cpp -o EncryptionTest.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:6: error: variable or field 'gost_encrypt' declared void 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:19: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:25: error: 'in' was not declared in this scope; did you mean 'int'? 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:29: error: reference to 'byte' is ambiguous 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:35: error: 'out' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:49: error: expected primary-expression before '*' token 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:65:50: error: 'ks' was not declared in this scope 65 | void gost_encrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:6: error: variable or field 'gost_decrypt' declared void 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:19: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:25: error: 'in' was not declared in this scope; did you mean 'int'? 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:29: error: reference to 'byte' is ambiguous 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:35: error: 'out' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:49: error: expected primary-expression before '*' token 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:66:50: error: 'ks' was not declared in this scope 66 | void gost_decrypt(byte *in, byte *out, gost_kds *ks); | ^~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:6: error: variable or field 'gost_set_key' declared void 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:19: error: reference to 'byte' is ambiguous 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:144, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:30:23: note: 'typedef uint8_t byte' 30 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:25: error: 'key' was not declared in this scope; did you mean 'key_t'? 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~~ | key_t /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:39: error: expected primary-expression before '*' token 67 | void gost_set_key(byte *key, gost_kds *ks); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostCipher.h:67:40: error: 'ks' was not declared in this scope 67 | void gost_set_key(byte *key, gost_kds *ks); | ^~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:148, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Cipher.h:13, from EncryptionTest.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/Crypto.h:149, from EncryptionMode.h:14, from EncryptionAlgorithm.h:15, from EncryptionTest.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: EncryptionTest.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling Hash.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c Hash.cpp -o Hash.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:28:9: error: reference to 'byte' is ambiguous 28 | byte N[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:29:9: error: reference to 'byte' is ambiguous 29 | byte hash[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:30:9: error: reference to 'byte' is ambiguous 30 | byte left; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:31:9: error: reference to 'byte' is ambiguous 31 | byte remainder[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:32:9: error: reference to 'byte' is ambiguous 32 | byte v512[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:33:9: error: reference to 'byte' is ambiguous 33 | byte v0[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:34:9: error: reference to 'byte' is ambiguous 34 | byte EPSILON[64]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: reference to 'byte' is ambiguous 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:36: error: 'byte' has not been declared 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: reference to 'byte' is ambiguous 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:20:23: note: 'typedef uint8_t byte' 20 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:41: error: 'byte' has not been declared 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:34:9: error: reference to 'byte' is ambiguous 34 | byte k8[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:35:9: error: reference to 'byte' is ambiguous 35 | byte k7[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:36:9: error: reference to 'byte' is ambiguous 36 | byte k6[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:37:9: error: reference to 'byte' is ambiguous 37 | byte k5[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:38:9: error: reference to 'byte' is ambiguous 38 | byte k4[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:39:9: error: reference to 'byte' is ambiguous 39 | byte k3[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:40:9: error: reference to 'byte' is ambiguous 40 | byte k2[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:41:9: error: reference to 'byte' is ambiguous 41 | byte k1[GOSTHASH_GOST_SBOX_SIZE]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:48:9: error: reference to 'byte' is ambiguous 48 | byte H[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:49:9: error: reference to 'byte' is ambiguous 49 | byte S[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:50:9: error: reference to 'byte' is ambiguous 50 | byte remainder[32]; | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:6: error: variable or field 'GOSTHASH_add' declared void 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:20: error: reference to 'byte' is ambiguous 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:26: error: 'in' was not declared in this scope; did you mean 'int'? 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~ | int /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:41: error: expected primary-expression before 'len' 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:60: error: expected primary-expression before '*' token 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:54:61: error: 'ctx' was not declared in this scope 54 | void GOSTHASH_add (byte *in, gst_udword len, gost_hash_ctx *ctx); | ^~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: reference to 'byte' is ambiguous 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ In file included from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:13, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Platform.h:13, from Hash.h:13, from Hash.cpp:10: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:25:23: note: 'typedef uint8_t byte' 25 | typedef unsigned char byte; | ^~~~ /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:45: error: 'byte' has not been declared 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ^~~~ Hash.cpp: In member function 'virtual void GostCrypt::Stribog::GetDigest(const GostCrypt::BufferPtr&)': Hash.cpp:75:66: error: cannot convert 'const GostCrypt::BufferPtr' to 'int*' 75 | STRIBOG_finalize ((STRIBOG_CTX *) Context.Ptr(), buffer); | ^~~~~~ | | | const GostCrypt::BufferPtr In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:39:47: note: initializing argument 2 of 'void STRIBOG_finalize(STRIBOG_CTX*, int*)' 39 | void STRIBOG_finalize(STRIBOG_CTX *ctx, byte *out); | ~~~~~~^~~ Hash.cpp: In member function 'virtual void GostCrypt::Stribog::ProcessData(const GostCrypt::ConstBufferPtr&)': Hash.cpp:86:61: error: cannot convert 'GostCrypt::byte*' {aka 'unsigned char*'} to 'int*' 86 | STRIBOG_add ((STRIBOG_CTX *) Context.Ptr(), (byte *) data.Get(), data.Size()); | ^~~~~~~~~~~~~~~~~~~ | | | GostCrypt::byte* {aka unsigned char*} In file included from Hash.cpp:13: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/Stribog.h:38:42: note: initializing argument 2 of 'void STRIBOG_add(STRIBOG_CTX*, int*, gst_udword)' 38 | void STRIBOG_add(STRIBOG_CTX *ctx, byte *msg, gst_udword len); | ~~~~~~^~~ Hash.cpp: In member function 'virtual void GostCrypt::GostHash::GetDigest(const GostCrypt::BufferPtr&)': Hash.cpp:99:69: error: cannot convert 'const GostCrypt::BufferPtr' to 'int*' 99 | GOSTHASH_finalize ((gost_hash_ctx *) Context.Ptr(), buffer); | ^~~~~~ | | | const GostCrypt::BufferPtr In file included from Hash.cpp:14: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto/GostHash.h:55:51: note: initializing argument 2 of 'void GOSTHASH_finalize(gost_hash_ctx*, int*)' 55 | void GOSTHASH_finalize (gost_hash_ctx *ctx, byte *out); | ~~~~~~^~~ Hash.cpp: In member function 'virtual void GostCrypt::GostHash::ProcessData(const GostCrypt::ConstBufferPtr&)': Hash.cpp:110:17: error: 'GOSTHASH_add' was not declared in this scope; did you mean 'GOSTHASH_H'? 110 | GOSTHASH_add ((byte *) data.Get(), data.Size(), (gost_hash_ctx *) Context.Ptr()); | ^~~~~~~~~~~~ | GOSTHASH_H make[1]: *** [/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Build/Include/Makefile.inc:13: Hash.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make[1]: Entering directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' Compiling Keyfile.cpp g++ -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3 -I/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Crypto -IPkcs11 -O2 -fno-strict-aliasing -D GST_ARCH_X86 -DGST_UNIX -DGST_LINUX -fdata-sections -ffunction-sections -Wall -Wno-unused-parameter -Wno-narrowing -fgnu89-inline -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c Keyfile.cpp -o Keyfile.o cc1plus: warning: command-line option '-fgnu89-inline' is valid for C/ObjC but not for C++ In file included from Keyfile.cpp:11: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/SecurityToken.h:170:75: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr pinCallback, auto_ptr warningCallback); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Serializer.h:13, from Keyfile.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Keyfile.cpp:11: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/SecurityToken.h:170:113: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | static void InitLibrary (const string &pkcs11LibraryPath, auto_ptr pinCallback, auto_ptr warningCallback); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Serializer.h:13, from Keyfile.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Keyfile.cpp:11: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/SecurityToken.h:187:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | static auto_ptr PinCallback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Serializer.h:13, from Keyfile.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Keyfile.cpp:11: /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Common/SecurityToken.h:191:24: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 191 | static auto_ptr WarningCallback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/PlatformBase.h:16, from /usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Platform/Serializer.h:13, from Keyfile.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/GostCrypt_Linux_1.3/Volume' make: *** [Makefile:263: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.81790 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.81790 (%build) Command exited with non-zero status 1 62.27user 3.85system 0:14.98elapsed 441%CPU (0avgtext+0avgdata 93024maxresident)k 0inputs+0outputs (0major+666691minor)pagefaults 0swaps hsh-rebuild: rebuild of `gostcrypt-1.3-alt3.src.rpm' failed. Command exited with non-zero status 1 77.93user 10.43system 0:37.77elapsed 233%CPU (0avgtext+0avgdata 101048maxresident)k 15632inputs+0outputs (0major+981913minor)pagefaults 0swaps