You are not logged in.

#1 2023-05-12 07:41:06

apeiron
Member
Registered: 2022-09-14
Posts: 23

[Solved!]Failed to Build Package Snort

I was trying to install snort via paru but failed to build it and tried it manually also the same problem!

[av@archav ~]$ git clone https://aur.archlinux.org/snort.git
Cloning into 'snort'...
remote: Enumerating objects: 228, done.
remote: Counting objects: 100% (228/228), done.
remote: Compressing objects: 100% (137/137), done.
remote: Total 228 (delta 93), reused 219 (delta 90), pack-reused 0
Receiving objects: 100% (228/228), 60.99 KiB | 297.00 KiB/s, done.
Resolving deltas: 100% (93/93), done.
[av@archav ~]$ cd snort
[av@archav snort]$ makepkg -si
==> Making package: snort 3.1.58.0-1 (Fri 12 May 2023 12:54:12 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading snort3-3.1.58.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3156k    0 3156k    0     0  2136k      0 --:--:--  0:00:01 --:--:--     0
  -> Downloading snort-openappid-26425.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   467    0   467    0     0   1059      0 --:--:-- --:--:-- --:--:--  1061
100  548k  100  548k    0     0  95791      0  0:00:05  0:00:05 --:--:--  114k
  -> Found local.lua
  -> Found snort.logrotate
  -> Found snort.sysusers
  -> Found snort.tmpfiles
  -> Found snort.service
==> Validating source files with sha256sums...
    snort3-3.1.58.0.tar.gz ... Passed
    snort-openappid-26425.tar.gz ... Passed
    local.lua ... Passed
    snort.logrotate ... Passed
    snort.sysusers ... Passed
    snort.tmpfiles ... Passed
    snort.service ... Passed
==> Extracting sources...
  -> Extracting snort3-3.1.58.0.tar.gz with bsdtar
  -> Extracting snort-openappid-26425.tar.gz with bsdtar
==> Starting build()...
./configure_cmake.sh: line 486: [: : integer expression expected
Build Directory : build
Source Directory: /home/av/snort/src/snort3-3.1.58.0
CMake Warning:
  Ignoring empty string ("") provided on the command line.


-- The CXX compiler identification is GNU 13.1.1
-- The C compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Checking for module 'libdaq>=3.0.10'
--   Found libdaq, version 3.0.11
-- Found DAQ: /usr/lib/libdaq.so  
-- Found DNET: /usr/include  
-- Found FLEX: /usr/bin/flex (found suitable version "2.6.4", minimum required is "2.6.0") 
-- Checking for module 'hwloc'
--   Found hwloc, version 2.9.1
-- Found HWLOC: /usr/lib/libhwloc.so  
-- Checking for module 'luajit'
--   Found luajit, version 2.1.0-beta3
-- Found LuaJIT: /usr/lib/libluajit-5.1.so (found version "2.1.0-beta3") 
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "3.0.8", minimum required is "1.1.1")  
-- Found PCAP: /usr/lib/libpcap.so  
-- Performing Test PCAP_LINKS_SOLO
-- Performing Test PCAP_LINKS_SOLO - Success
-- Checking for module 'libpcre'
--   Found libpcre, version 8.45
-- Found PCRE: /usr/include  
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")  
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (W3M) does
  not match the name of the calling package (Asciidoc).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindAsciidoc.cmake:34 (find_package_handle_standard_args)
  cmake/include_libraries.cmake:20 (find_package)
  CMakeLists.txt:27 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- install w3m to build all-in-one text user manual (missing: W3M_EXE) 
-- Checking for module 'libhs'
--   Found libhs, version 5.4.2
-- Checking for module 'libsafec'
--   Package 'libsafec', required by 'virtual:world', not found
-- Performing Test ICONV_IS_BUILT_IN
-- Performing Test ICONV_IS_BUILT_IN - Success
-- Checking for module 'uuid'
--   Found uuid, version 2.38.1
-- Checking for module 'libunwind'
--   Found libunwind, version 1.6.2
-- Found Libunwind: /usr/lib/libunwind.so (found version "1.6.2") 
-- Performing Test HAS_C_HIDDEN
-- Performing Test HAS_C_HIDDEN - Success
-- Performing Test HAS_CXX_HIDDEN
-- Performing Test HAS_CXX_HIDDEN - Success
-- Checking for module 'libtcmalloc'
--   Found libtcmalloc, version 2.10
-- Found TCMalloc: /usr/lib/libtcmalloc.so (found version "2.10") 
-- Looking for malloc_trim
-- Looking for malloc_trim - found
-- Looking for memrchr
-- Looking for memrchr - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for basename_r
-- Looking for basename_r - not found
-- Performing Test HAVE_GNU_STRERROR_R
-- Performing Test HAVE_GNU_STRERROR_R - Success
-- Looking for getrpcent
-- Looking for getrpcent - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long int
-- Check size of long int - done
-- Check size of unsigned long int
-- Check size of unsigned long int - done
-- Performing Test INLINE
-- Performing Test INLINE - Success
-- Performing Test RESTRICT
-- Performing Test RESTRICT - Success
-- Looking for hs_scan in /usr/lib/libhs.so
-- Looking for hs_scan in /usr/lib/libhs.so - found
-- Looking for hs_compile_lit
-- Looking for hs_compile_lit - found
-- Looking for lzma_code in /usr/lib/liblzma.so
-- Looking for lzma_code in /usr/lib/liblzma.so - found
-- Looking for backtrace in /usr/lib/libunwind.so
-- Looking for backtrace in /usr/lib/libunwind.so - found
-- Looking for uuid_parse in /usr/lib/libuuid.so
-- Looking for uuid_parse in /usr/lib/libuuid.so - found

-------------------------------------------------------
snort version 3.1.58.0

Install options:
    prefix:     /usr
    includes:   /usr/include/snort
    plugins:    /usr/lib/snort

Compiler options:
    CC:             /usr/bin/cc
    CXX:            /usr/bin/c++
    CFLAGS:         -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -fvisibility=hidden   -DNDEBUG -g -ggdb  -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free  
    CXXFLAGS:       -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS  -fvisibility=hidden   -DNDEBUG -g -ggdb  -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free  
    EXE_LDFLAGS:    -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now    
    MODULE_LDFLAGS: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now    

Feature options:
    DAQ Modules:    Dynamic
    libatomic:      User-specified
    Hyperscan:      ON
    ICONV:          ON
    Libunwind:      ON
    LZMA:           ON
    RPC DB:         Built-in
    SafeC:          OFF
    TCMalloc:       ON
    JEMalloc:       OFF
    UUID:           ON
-------------------------------------------------------

-- Configuring done (2.9s)
-- Generating done (0.2s)
-- Build files have been written to: /home/av/snort/src/snort3-3.1.58.0/build
make: Entering directory '/home/av/snort/src/snort3-3.1.58.0/build'
[  0%] Building CXX object src/connectors/tcp_connector/CMakeFiles/tcp_connector.dir/tcp_connector.cc.o
[  0%] Building CXX object src/connectors/tcp_connector/CMakeFiles/tcp_connector.dir/tcp_connector_module.cc.o
[  0%] Built target tcp_connector
[  0%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/actions.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/ips_actions.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_alert.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_block.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_drop.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_file_id.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_log.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_pass.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_reject.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_replace.cc.o
[  1%] Building CXX object src/actions/CMakeFiles/ips_actions.dir/act_react.cc.o
[  1%] Built target ips_actions
[  1%] Building CXX object src/codecs/CMakeFiles/codecs.dir/codec_api.cc.o
[  2%] Building CXX object src/codecs/CMakeFiles/codecs.dir/codec_module.cc.o
[  2%] Built target codecs
[  2%] Building CXX object src/codecs/root/CMakeFiles/root_codecs.dir/cd_eth.cc.o
[  3%] Building CXX object src/codecs/root/CMakeFiles/root_codecs.dir/cd_raw.cc.o
[  3%] Built target root_codecs
[  3%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_arp.cc.o
[  3%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_erspan2.cc.o
[  3%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_erspan3.cc.o
[  3%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_ciscometadata.cc.o
[  3%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_fabricpath.cc.o
[  4%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_mpls.cc.o
[  4%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_ppp_encap.cc.o
[  4%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_pppoe.cc.o
[  4%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_trans_bridge.cc.o
[  4%] Building CXX object src/codecs/link/CMakeFiles/link_codecs.dir/cd_vlan.cc.o
[  4%] Built target link_codecs
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_ipv4.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_hop_opts.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_tcp.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_auth.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_bad_proto.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_dst_opts.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_esp.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_frag.cc.o
[  4%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_gre.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_icmp4.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_icmp6.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_igmp.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_ipv6.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_no_next.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_mobility.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_pgm.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_routing.cc.o
[  5%] Building CXX object src/codecs/ip/CMakeFiles/ip_codecs.dir/cd_udp.cc.o
[  5%] Built target ip_codecs
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_default.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_gtp.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_icmp4_ip.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_icmp6_ip.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_llc.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_teredo.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_user.cc.o
[  5%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_vxlan.cc.o
[  6%] Building CXX object src/codecs/misc/CMakeFiles/misc_codecs.dir/cd_geneve.cc.o
[  6%] Built target misc_codecs
[  6%] Building CXX object src/control/CMakeFiles/control.dir/control.cc.o
[  6%] Built target control
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/context_switcher.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detect.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detection_engine.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detection_module.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detection_options.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detection_util.cc.o
[  6%] Building CXX object src/detection/CMakeFiles/detection.dir/detect_trace.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/fp_config.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/fp_create.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/fp_detect.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/fp_utils.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/ips_context.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/ips_context_chain.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/ips_context_data.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/pcrm.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/regex_offload.cc.o
[  7%] Building CXX object src/detection/CMakeFiles/detection.dir/rtn_checks.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/rules.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/service_map.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/sfrim.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/signature.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/treenodes.cc.o
[  8%] Building CXX object src/detection/CMakeFiles/detection.dir/tag.cc.o
[  8%] Built target detection
[  8%] Building CXX object src/dump_config/CMakeFiles/dump_config.dir/config_data.cc.o
[  9%] Building CXX object src/dump_config/CMakeFiles/dump_config.dir/config_output.cc.o
[  9%] Building CXX object src/dump_config/CMakeFiles/dump_config.dir/json_config_output.cc.o
[  9%] Building CXX object src/dump_config/CMakeFiles/dump_config.dir/text_config_output.cc.o
[  9%] Built target dump_config
[  9%] Building CXX object src/events/CMakeFiles/events.dir/event.cc.o
[  9%] Building CXX object src/events/CMakeFiles/events.dir/event_queue.cc.o
[  9%] Building CXX object src/events/CMakeFiles/events.dir/sfeventq.cc.o
[  9%] Built target events
[  9%] Building CXX object src/file_api/CMakeFiles/file_api.dir/circular_buffer.cc.o
[  9%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_api.cc.o
[  9%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_capture.cc.o
[  9%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_cache.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_config.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_flows.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_identifier.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_lib.cc.o
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc: In member function ‘void snort::FileContext::process_file_signature_sha256(const uint8_t*, int, FilePosition)’:
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:694:20: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  694 |         SHA256_Init((SHA256_CTX*)file_signature_context);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:32:
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:695:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  695 |         SHA256_Update((SHA256_CTX*)file_signature_context, file_data, data_size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:704:25: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  704 |             SHA256_Final(sha256, (SHA256_CTX*)file_signature_context);
      |             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:712:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  712 |         SHA256_Update((SHA256_CTX*)file_signature_context, file_data, data_size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:722:25: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  722 |             SHA256_Final(sha256, (SHA256_CTX*)file_signature_context);
      |             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:731:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  731 |         SHA256_Update((SHA256_CTX*)file_signature_context, file_data, data_size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:733:21: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  733 |         SHA256_Final(sha256, (SHA256_CTX*)file_signature_context);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:742:20: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  742 |         SHA256_Init((SHA256_CTX*)file_signature_context);
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:743:22: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  743 |         SHA256_Update((SHA256_CTX*)file_signature_context, file_data, data_size);
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/file_api/file_lib.cc:745:21: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  745 |         SHA256_Final(sha256, (SHA256_CTX*)file_signature_context);
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_log.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_mempool.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_module.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_segment.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_service.cc.o
[ 10%] Building CXX object src/file_api/CMakeFiles/file_api.dir/file_stats.cc.o
[ 10%] Built target file_api
[ 10%] Building CXX object src/filters/CMakeFiles/filter.dir/detection_filter.cc.o
[ 10%] Building CXX object src/filters/CMakeFiles/filter.dir/rate_filter.cc.o
[ 10%] Building CXX object src/filters/CMakeFiles/filter.dir/sfthreshold.cc.o
[ 10%] Building CXX object src/filters/CMakeFiles/filter.dir/sfrf.cc.o
[ 10%] Building CXX object src/filters/CMakeFiles/filter.dir/sfthd.cc.o
[ 10%] Built target filter
[ 10%] Building CXX object src/flow/CMakeFiles/flow.dir/deferred_trust.cc.o
[ 10%] Building CXX object src/flow/CMakeFiles/flow.dir/expect_cache.cc.o
[ 10%] Building CXX object src/flow/CMakeFiles/flow.dir/flow.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/flow_cache.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/flow_control.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/flow_data.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/flow_key.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/flow_stash.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/ha.cc.o
[ 11%] Building CXX object src/flow/CMakeFiles/flow.dir/ha_module.cc.o
[ 11%] Built target flow
[ 11%] Building CXX object src/framework/CMakeFiles/framework.dir/codec.cc.o
[ 11%] Building CXX object src/framework/CMakeFiles/framework.dir/cursor.cc.o
[ 11%] Building CXX object src/framework/CMakeFiles/framework.dir/data_bus.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/file_policy.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/inspector.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/ips_option.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/packet_constraints.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/parameter.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/module.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/mpse.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/mpse_batch.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/range.cc.o
[ 12%] Building CXX object src/framework/CMakeFiles/framework.dir/value.cc.o
[ 12%] Built target framework
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/ghash.cc.o
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/hashes.cc.o
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc: In function ‘void snort::sha256(const unsigned char*, size_t, unsigned char*)’:
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:34:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   34 |     SHA256_Init(&c);
      |     ~~~~~~~~~~~^~~~
In file included from /home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:27:
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:35:18: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   35 |     SHA256_Update(&c, data, size);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:36:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   36 |     SHA256_Final(digest, &c);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc: In function ‘void snort::sha512(const unsigned char*, size_t, unsigned char*)’:
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:42:16: warning: ‘int SHA512_Init(SHA512_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   42 |     SHA512_Init(&c);
      |     ~~~~~~~~~~~^~~~
/usr/include/openssl/sha.h:123:27: note: declared here
  123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:43:18: warning: ‘int SHA512_Update(SHA512_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   43 |     SHA512_Update(&c, data, size);
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/sha.h:124:27: note: declared here
  124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:44:17: warning: ‘int SHA512_Final(unsigned char*, SHA512_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   44 |     SHA512_Final(digest, &c);
      |     ~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/openssl/sha.h:126:27: note: declared here
  126 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc: In function ‘void snort::md5(const unsigned char*, size_t, unsigned char*)’:
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:50:13: warning: ‘int MD5_Init(MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   50 |     MD5_Init(&c);
      |     ~~~~~~~~^~~~
In file included from /home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:26:
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:51:15: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   51 |     MD5_Update(&c, data, size);
      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/md5.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/hash/hashes.cc:52:14: warning: ‘int MD5_Final(unsigned char*, MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   52 |     MD5_Final(digest, &c);
      |     ~~~~~~~~~^~~~~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/hash_lru_cache.cc.o
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/hash_key_operations.cc.o
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/lru_cache_shared.cc.o
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/primetable.cc.o
[ 12%] Building CXX object src/hash/CMakeFiles/hash.dir/xhash.cc.o
[ 13%] Building CXX object src/hash/CMakeFiles/hash.dir/zhash.cc.o
[ 13%] Built target hash
[ 13%] [FLEX][pdf_tokenizer] Building scanner with flex 2.6.4
[ 13%] [FLEX][js_tokenizer] Building scanner with flex 2.6.4
[ 13%] Generating js_tokenizer.cc
[ 13%] Generating pdf_tokenizer.cc
[ 13%] Building CXX object src/js_norm/CMakeFiles/js_norm.dir/pdf_tokenizer.cc.o
[ 14%] Building CXX object src/js_norm/CMakeFiles/js_norm.dir/js_tokenizer.cc.o
[ 14%] Building CXX object src/js_norm/CMakeFiles/js_norm.dir/js_identifier_ctx.cc.o
In file included from /home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:24:
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:59:36: error: ‘uint32_t’ has not been declared
   59 |     JSIdentifierCtx(int32_t depth, uint32_t max_scope_depth,
      |                                    ^~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:79:9: error: ‘uint8_t’ does not name a type
   79 |         uint8_t type = 0;
      |         ^~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:28:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   27 | #include <vector>
  +++ |+#include <cstdint>
   28 | 
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:123:5: error: ‘uint32_t’ does not name a type
  123 |     uint32_t max_scope_depth;
      |     ^~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:123:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:66:1: error: no declaration matches ‘jsn::JSIdentifierCtx::JSIdentifierCtx(int32_t, uint32_t, const std::unordered_set<std::__cxx11::basic_string<char> >&, const std::unordered_set<std::__cxx11::basic_string<char> >&)’
   66 | JSIdentifierCtx::JSIdentifierCtx(int32_t depth, uint32_t max_scope_depth,
      | ^~~~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:56:7: note: candidates are: ‘jsn::JSIdentifierCtx::JSIdentifierCtx(jsn::JSIdentifierCtx&&)’
   56 | class JSIdentifierCtx : public JSIdentifier
      |       ^~~~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:56:7: note:                 ‘jsn::JSIdentifierCtx::JSIdentifierCtx(const jsn::JSIdentifierCtx&)’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:59:5: note:                 ‘jsn::JSIdentifierCtx::JSIdentifierCtx(int32_t, int, const std::unordered_set<std::__cxx11::basic_string<char> >&, const std::unordered_set<std::__cxx11::basic_string<char> >&)’
   59 |     JSIdentifierCtx(int32_t depth, uint32_t max_scope_depth,
      |     ^~~~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:56:7: note: ‘class jsn::JSIdentifierCtx’ defined here
   56 | class JSIdentifierCtx : public JSIdentifier
      |       ^~~~~~~~~~~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc: In member function ‘bool jsn::JSIdentifierCtx::is_substituted(const NormId&, bool)’:
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:110:17: error: ‘const struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  110 |     return ((id.type & TYPE_NORMALIZED) != 0) ||
      |                 ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:111:31: error: ‘const struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  111 |         (!is_property && ((id.type & TYPE_IGNORED_ID) != 0)) ||
      |                               ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:112:30: error: ‘const struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  112 |         (is_property && ((id.type & TYPE_IGNORED_PROP) != 0));
      |                              ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc: In member function ‘const char* jsn::JSIdentifierCtx::acquire_norm_name(NormId&)’:
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:126:12: error: ‘struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  126 |         id.type |= TYPE_NORMALIZED;
      |            ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:127:17: error: ‘struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  127 |         if ((id.type & TYPE_IGNORED_ID) != 0)
      |                 ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:129:22: error: ‘struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  129 |         else if ((id.type & TYPE_IGNORED_PROP) != 0)
      |                      ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:133:40: error: no match for ‘operator=’ (operand types are ‘jsn::JSIdentifierCtx::NormId’ and ‘<brace-enclosed initializer list>’)
  133 |     return (id = {n, n, TYPE_NORMALIZED}).id_name;
      |                                        ^
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(const jsn::JSIdentifierCtx::NormId&)’
   75 |     struct NormId
      |            ^~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const jsn::JSIdentifierCtx::NormId&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(jsn::JSIdentifierCtx::NormId&&)’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘jsn::JSIdentifierCtx::NormId&&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc: In member function ‘void jsn::JSIdentifierCtx::init_ignored_names()’:
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:140:79: error: no match for ‘operator=’ (operand types are ‘jsn::JSIdentifierCtx::NormId’ and ‘<brace-enclosed initializer list>’)
  140 |             id_fast[(unsigned)iid[0]] = {iid.c_str(), nullptr, TYPE_IGNORED_ID};
      |                                                                               ^
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(const jsn::JSIdentifierCtx::NormId&)’
   75 |     struct NormId
      |            ^~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const jsn::JSIdentifierCtx::NormId&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(jsn::JSIdentifierCtx::NormId&&)’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘jsn::JSIdentifierCtx::NormId&&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:142:67: error: no match for ‘operator=’ (operand types are ‘std::unordered_map<std::__cxx11::basic_string<char>, jsn::JSIdentifierCtx::NormId>::mapped_type’ {aka ‘jsn::JSIdentifierCtx::NormId’} and ‘<brace-enclosed initializer list>’)
  142 |             id_names[iid] = {iid.c_str(), nullptr, TYPE_IGNORED_ID};
      |                                                                   ^
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(const jsn::JSIdentifierCtx::NormId&)’
   75 |     struct NormId
      |            ^~~~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const jsn::JSIdentifierCtx::NormId&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note: candidate: ‘constexpr jsn::JSIdentifierCtx::NormId& jsn::JSIdentifierCtx::NormId::operator=(jsn::JSIdentifierCtx::NormId&&)’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.h:75:12: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘jsn::JSIdentifierCtx::NormId&&’
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:149:41: error: ‘struct jsn::JSIdentifierCtx::NormId’ has no member named ‘type’
  149 |             id_fast[(unsigned)iprop[0]].type |= TYPE_IGNORED_PROP;
      |                                         ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:154:29: error: ‘std::unordered_map<std::__cxx11::basic_string<char>, jsn::JSIdentifierCtx::NormId>::mapped_type’ {aka ‘struct jsn::JSIdentifierCtx::NormId’} has no member named ‘type’
  154 |             id_names[iprop].type |= TYPE_IGNORED_PROP;
      |                             ^~~~
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc: In member function ‘virtual bool jsn::JSIdentifierCtx::scope_push(jsn::JSProgramScopeType)’:
/home/av/snort/src/snort3-3.1.58.0/src/js_norm/js_identifier_ctx.cc:163:26: error: ‘max_scope_depth’ was not declared in this scope
  163 |     if (scopes.size() >= max_scope_depth)
      |                          ^~~~~~~~~~~~~~~
make[2]: *** [src/js_norm/CMakeFiles/js_norm.dir/build.make:120: src/js_norm/CMakeFiles/js_norm.dir/js_identifier_ctx.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3203: src/js_norm/CMakeFiles/js_norm.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/av/snort/src/snort3-3.1.58.0/build'
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by apeiron (2023-05-18 18:30:19)

Offline

#2 2023-05-18 06:50:53

jake-penguins
Member
Registered: 2022-04-05
Posts: 1

Re: [Solved!]Failed to Build Package Snort

I've noticed the same issue recently when trying to build other C++ packages. If a source file declares an unsigned integer variable, the package won't build until I go into the source and add to the header of each affected file:

#include <cstdint>

An example from trying to build monero-feather:

[ 48%] Building CXX object monero/src/wallet/api/CMakeFiles/obj_wallet_api.dir/wallet.cpp.o
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:34,
                 from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:32:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:45:18: error: found ‘:’ in nested-name-specifier, expected ‘::’
   45 | enum NetworkType : uint8_t {
      |                  ^
      |                  ::
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:45:6: error: ‘NetworkType’ has not been declared
   45 | enum NetworkType : uint8_t {
      |      ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:45:28: error: expected unqualified-id before ‘{’ token
   45 | enum NetworkType : uint8_t {
      |                            ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:75:23: error: expected ‘)’ before ‘_amount’
   75 |         Input(uint64_t _amount, const std::string &_pubkey);
      |              ~        ^~~~~~~~
      |                       )
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:76:15: error: ‘uint64_t’ does not name a type
   76 |         const uint64_t amount;
      |               ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:40:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   39 | #include <iostream>
  +++ |+#include <cstdint>
   40 | #include <stdexcept>
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:81:24: error: expected ‘)’ before ‘_amount’
   81 |         Output(uint64_t _amount, const std::string &_address);
      |               ~        ^~~~~~~~
      |                        )
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:82:15: error: ‘uint64_t’ does not name a type
   82 |         const uint64_t amount;
      |               ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:82:15: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:87:13: error: ‘uint64_t’ does not name a type
   87 |     virtual uint64_t unlockTime() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:87:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:88:27: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
   88 |     virtual std::set<std::uint32_t> subaddressIndices() const = 0;
      |                           ^~~~~~~~
      |                           wint_t
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:88:27: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
   88 |     virtual std::set<std::uint32_t> subaddressIndices() const = 0;
      |                           ^~~~~~~~
      |                           wint_t
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:88:35: error: template argument 1 is invalid
   88 |     virtual std::set<std::uint32_t> subaddressIndices() const = 0;
      |                                   ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:88:35: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:88:35: error: template argument 3 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:90:13: error: ‘uint64_t’ does not name a type
   90 |     virtual uint64_t minMixinCount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:90:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:102:13: error: ‘uint64_t’ does not name a type
  102 |     virtual uint64_t fee() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:102:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:103:13: error: ‘uint64_t’ does not name a type
  103 |     virtual uint64_t dust() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:103:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:134:13: error: ‘uint64_t’ does not name a type
  134 |     virtual uint64_t amount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:134:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:135:13: error: ‘uint64_t’ does not name a type
  135 |     virtual uint64_t dust() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:135:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:136:13: error: ‘uint64_t’ does not name a type
  136 |     virtual uint64_t fee() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:136:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:142:13: error: ‘uint64_t’ does not name a type
  142 |     virtual uint64_t txCount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:142:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:143:25: error: ‘uint32_t’ was not declared in this scope
  143 |     virtual std::vector<uint32_t> subaddrAccount() const = 0;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:143:25: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:143:33: error: template argument 1 is invalid
  143 |     virtual std::vector<uint32_t> subaddrAccount() const = 0;
      |                                 ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:143:33: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:34: error: ‘uint32_t’ was not declared in this scope
  144 |     virtual std::vector<std::set<uint32_t>> subaddrIndices() const = 0;
      |                                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:34: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:34: error: template argument 1 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:34: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:34: error: template argument 3 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:42: error: template argument 1 is invalid
  144 |     virtual std::vector<std::set<uint32_t>> subaddrIndices() const = 0;
      |                                          ^~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:42: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:192:25: error: ‘uint64_t’ was not declared in this scope
  192 |     virtual std::vector<uint64_t> amount() const = 0;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:192:25: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:192:33: error: template argument 1 is invalid
  192 |     virtual std::vector<uint64_t> amount() const = 0;
      |                                 ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:192:33: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:193:25: error: ‘uint64_t’ was not declared in this scope
  193 |     virtual std::vector<uint64_t>  fee() const = 0;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:193:25: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:193:33: error: template argument 1 is invalid
  193 |     virtual std::vector<uint64_t>  fee() const = 0;
      |                                 ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:193:33: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:194:25: error: ‘uint64_t’ was not declared in this scope
  194 |     virtual std::vector<uint64_t> mixin() const = 0;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:194:25: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:194:33: error: template argument 1 is invalid
  194 |     virtual std::vector<uint64_t> mixin() const = 0;
      |                                 ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:194:33: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:199:13: error: ‘uint64_t’ does not name a type
  199 |     virtual uint64_t minMixinCount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:199:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:204:13: error: ‘uint64_t’ does not name a type
  204 |     virtual uint64_t txCount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:204:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:227:26: error: expected ‘)’ before ‘_amount’
  227 |         Transfer(uint64_t _amount, const std::string &address);
      |                 ~        ^~~~~~~~
      |                          )
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:228:15: error: ‘uint64_t’ does not name a type
  228 |         const uint64_t amount;
      |               ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:228:15: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:237:13: error: ‘uint64_t’ does not name a type
  237 |     virtual uint64_t amount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:237:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:238:13: error: ‘uint64_t’ does not name a type
  238 |     virtual uint64_t fee() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:238:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:239:13: error: ‘uint64_t’ does not name a type
  239 |     virtual uint64_t blockHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:239:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:241:22: error: ‘uint32_t’ was not declared in this scope
  241 |     virtual std::set<uint32_t> subaddrIndex() const = 0;
      |                      ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:241:22: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:241:30: error: template argument 1 is invalid
  241 |     virtual std::set<uint32_t> subaddrIndex() const = 0;
      |                              ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:241:30: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:241:30: error: template argument 3 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:242:13: error: ‘uint32_t’ does not name a type
  242 |     virtual uint32_t subaddrAccount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:242:13: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:244:13: error: ‘uint64_t’ does not name a type
  244 |     virtual uint64_t confirmations() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:244:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:245:13: error: ‘uint64_t’ does not name a type
  245 |     virtual uint64_t unlockTime() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:245:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:66: error: ‘uint64_t’ was not declared in this scope
  252 |     virtual const std::vector<std::pair<std::string, std::vector<uint64_t>>> & rings() const = 0;
      |                                                                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:66: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:66: error: template argument 1 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:66: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:74: error: template argument 2 is invalid
  252 |     virtual const std::vector<std::pair<std::string, std::vector<uint64_t>>> & rings() const = 0;
      |                                                                          ^~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:76: error: template argument 1 is invalid
  252 |     virtual const std::vector<std::pair<std::string, std::vector<uint64_t>>> & rings() const = 0;
      |                                                                            ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:252:76: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:323:13: error: ‘uint64_t’ does not name a type
  323 |     virtual uint64_t blockHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:323:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:326:13: error: ‘uint64_t’ does not name a type
  326 |     virtual uint64_t globalOutputIndex() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:326:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:329:13: error: ‘uint64_t’ does not name a type
  329 |     virtual uint64_t spentHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:329:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:330:13: error: ‘uint64_t’ does not name a type
  330 |     virtual uint64_t amount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:330:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:334:13: error: ‘uint32_t’ does not name a type
  334 |     virtual uint32_t subaddrIndex() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:334:13: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:335:13: error: ‘uint32_t’ does not name a type
  335 |     virtual uint32_t subaddrAccount() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:335:13: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:339:13: error: ‘uint64_t’ does not name a type
  339 |     virtual uint64_t unlockTime() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:339:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:357:37: error: ‘uint64_t’ has not been declared
  357 |     virtual bool isTransferUnlocked(uint64_t unlockTime, uint64_t blockHeight) = 0;
      |                                     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:357:58: error: ‘uint64_t’ has not been declared
  357 |     virtual bool isTransferUnlocked(uint64_t unlockTime, uint64_t blockHeight) = 0;
      |                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:386:25: error: ‘uint32_t’ has not been declared
  386 |     virtual bool addRow(uint32_t accountIndex, const std::string &label) = 0;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:387:27: error: ‘uint32_t’ has not been declared
  387 |     virtual bool setLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) = 0;
      |                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:387:50: error: ‘uint32_t’ has not been declared
  387 |     virtual bool setLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) = 0;
      |                                                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:390:26: error: ‘uint32_t’ has not been declared
  390 |     virtual bool refresh(uint32_t accountIndex) = 0;
      |                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:422:27: error: ‘uint32_t’ has not been declared
  422 |     virtual void setLabel(uint32_t accountIndex, const std::string &label) = 0;
      |                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:431:5: error: ‘uint32_t’ does not name a type
  431 |     uint32_t threshold;
      |     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:431:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:432:5: error: ‘uint32_t’ does not name a type
  432 |     uint32_t total;
      |     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:432:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In constructor ‘Monero::MultisigState::MultisigState()’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:427:58: error: class ‘Monero::MultisigState’ does not have any field named ‘threshold’
  427 |     MultisigState() : isMultisig(false), isReady(false), threshold(0), total(0) {}
      |                                                          ^~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:427:72: error: class ‘Monero::MultisigState’ does not have any field named ‘total’
  427 |     MultisigState() : isMultisig(false), isReady(false), threshold(0), total(0) {}
      |                                                                        ^~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: At global scope:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:457:54: error: ‘uint64_t’ has not been declared
  457 |     virtual void moneySpent(const std::string &txId, uint64_t amount) = 0;
      |                                                      ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:464:57: error: ‘uint64_t’ has not been declared
  464 |     virtual void moneyReceived(const std::string &txId, uint64_t amount) = 0;
      |                                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:471:68: error: ‘uint64_t’ has not been declared
  471 |     virtual void unconfirmedMoneyReceived(const std::string &txId, uint64_t amount) = 0;
      |                                                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:477:27: error: ‘uint64_t’ has not been declared
  477 |     virtual void newBlock(uint64_t height) = 0;
      |                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:493:40: error: ‘uint64_t’ has not been declared
  493 |     virtual void onDeviceButtonRequest(uint64_t code) { (void)code; }
      |                                        ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:570:33: error: ‘uint32_t’ has not been declared
  570 |     virtual std::string address(uint32_t accountIndex = 0, uint32_t addressIndex = 0) const = 0;
      |                                 ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:570:60: error: ‘uint32_t’ has not been declared
  570 |     virtual std::string address(uint32_t accountIndex = 0, uint32_t addressIndex = 0) const = 0;
      |                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:65: error: ‘uint32_t’ was not declared in this scope
  571 |     virtual bool subaddressIndex(std::string address, std::pair<uint32_t, uint32_t> &index) const = 0;
      |                                                                 ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:65: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:75: error: ‘uint32_t’ was not declared in this scope
  571 |     virtual bool subaddressIndex(std::string address, std::pair<uint32_t, uint32_t> &index) const = 0;
      |                                                                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:75: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:83: error: template argument 1 is invalid
  571 |     virtual bool subaddressIndex(std::string address, std::pair<uint32_t, uint32_t> &index) const = 0;
      |                                                                                   ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:571:83: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:574:13: error: ‘NetworkType’ does not name a type
  574 |     virtual NetworkType nettype() const = 0;
      |             ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:579:31: error: ‘uint8_t’ has not been declared
  579 |     virtual void hardForkInfo(uint8_t &version, uint64_t &earliest_height) const = 0;
      |                               ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:579:49: error: ‘uint64_t’ has not been declared
  579 |     virtual void hardForkInfo(uint8_t &version, uint64_t &earliest_height) const = 0;
      |                                                 ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:581:31: error: ‘uint8_t’ has not been declared
  581 |     virtual bool useForkRules(uint8_t version, int64_t early_blocks) const = 0;
      |                               ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:656:58: error: ‘uint64_t’ has not been declared
  656 |     virtual bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit = 0, const std::string &daemon_username = "", const std::string &daemon_password = "", bool use_ssl = false, bool lightWallet = false, const std::string &proxy_address = "", bool use_dns = false) = 0;
      |                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:675:44: error: ‘uint64_t’ has not been declared
  675 |     virtual void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) = 0;
      |                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:681:13: error: ‘uint64_t’ does not name a type
  681 |     virtual uint64_t getRefreshFromBlockHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:681:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:703:41: error: ‘uint32_t’ has not been declared
  703 |     virtual void setSubaddressLookahead(uint32_t major, uint32_t minor) = 0;
      |                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:703:57: error: ‘uint32_t’ has not been declared
  703 |     virtual void setSubaddressLookahead(uint32_t major, uint32_t minor) = 0;
      |                                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:725:13: error: ‘uint64_t’ does not name a type
  725 |     virtual uint64_t balance(uint32_t accountIndex = 0) const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:725:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:726:5: error: ‘uint64_t’ does not name a type
  726 |     uint64_t balanceAll() const {
      |     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:726:5: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:732:13: error: ‘uint64_t’ does not name a type
  732 |     virtual uint64_t unlockedBalance(uint32_t accountIndex = 0) const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:732:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:733:5: error: ‘uint64_t’ does not name a type
  733 |     uint64_t unlockedBalanceAll() const {
      |     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:733:5: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:756:13: error: ‘uint64_t’ does not name a type
  756 |     virtual uint64_t blockChainHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:756:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:762:13: error: ‘uint64_t’ does not name a type
  762 |     virtual uint64_t approximateBlockChainHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:762:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:769:13: error: ‘uint64_t’ does not name a type
  769 |     virtual uint64_t estimateBlockChainHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:769:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:775:13: error: ‘uint64_t’ does not name a type
  775 |     virtual uint64_t daemonBlockChainHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:775:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:782:13: error: ‘uint64_t’ does not name a type
  782 |     virtual uint64_t daemonBlockChainTargetHeight() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:782:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:790:38: error: ‘uint64_t’ has not been declared
  790 |     static std::string displayAmount(uint64_t amount);
      |                                      ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:791:12: error: ‘uint64_t’ does not name a type
  791 |     static uint64_t amountFromString(const std::string &amount);
      |            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:791:12: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:792:12: error: ‘uint64_t’ does not name a type
  792 |     static uint64_t amountFromDouble(double amount);
      |            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:792:12: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:795:54: error: ‘NetworkType’ has not been declared
  795 |     static bool addressValid(const std::string &str, NetworkType nettype);
      |                                                      ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:800:115: error: ‘NetworkType’ has not been declared
  800 |     static bool keyValid(const std::string &secret_key_string, const std::string &address_string, bool isViewKey, NetworkType nettype, std::string &error);
      |                                                                                                                   ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:805:69: error: ‘NetworkType’ has not been declared
  805 |     static std::string paymentIdFromAddress(const std::string &str, NetworkType nettype);
      |                                                                     ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:810:81: error: ‘NetworkType’ has not been declared
  810 |     static std::string baseAddressFromIntegratedAddress(const std::string &str, NetworkType nettype);
      |                                                                                 ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:811:12: error: ‘uint64_t’ does not name a type
  811 |     static uint64_t maximumAllowedAmount();
      |            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:811:12: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:876:36: error: ‘uint32_t’ has not been declared
  876 |     virtual size_t numSubaddresses(uint32_t accountIndex) const = 0;
      |                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:882:32: error: ‘uint32_t’ has not been declared
  882 |     virtual void addSubaddress(uint32_t accountIndex, const std::string& label) = 0;
      |                                ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:888:44: error: ‘uint32_t’ has not been declared
  888 |     virtual std::string getSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex) const = 0;
      |                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:888:67: error: ‘uint32_t’ has not been declared
  888 |     virtual std::string getSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex) const = 0;
      |                                                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:895:37: error: ‘uint32_t’ has not been declared
  895 |     virtual void setSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) = 0;
      |                                     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:895:60: error: ‘uint32_t’ has not been declared
  895 |     virtual void setSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) = 0;
      |                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:913:76: error: ‘uint32_t’ has not been declared
  913 |     virtual std::string makeMultisig(const std::vector<std::string>& info, uint32_t threshold) = 0;
      |                                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:73: error: ‘uint64_t’ was not declared in this scope
  960 |                                                    optional<std::vector<uint64_t>> amount, uint32_t mixin_count,
      |                                                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:73: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:73: error: template argument 1 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:73: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:81: error: template argument 1 is invalid
  960 |                                                    optional<std::vector<uint64_t>> amount, uint32_t mixin_count,
      |                                                                                 ^~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:960:92: error: ‘uint32_t’ has not been declared
  960 |                                                    optional<std::vector<uint64_t>> amount, uint32_t mixin_count,
      |                                                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:962:52: error: ‘uint32_t’ has not been declared
  962 |                                                    uint32_t subaddr_account = 0,
      |                                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:963:61: error: ‘uint32_t’ was not declared in this scope
  963 |                                                    std::set<uint32_t> subaddr_indices = {}, const std::set<std::string> &preferred_inputs = {}) = 0;
      |                                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:963:61: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:963:69: error: template argument 1 is invalid
  963 |                                                    std::set<uint32_t> subaddr_indices = {}, const std::set<std::string> &preferred_inputs = {}) = 0;
      |                                                                     ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:963:69: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:963:69: error: template argument 3 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:979:61: error: ‘uint64_t’ was not declared in this scope
  979 |                                                    optional<uint64_t> amount, uint32_t mixin_count,
      |                                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:979:61: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:979:69: error: template argument 1 is invalid
  979 |                                                    optional<uint64_t> amount, uint32_t mixin_count,
      |                                                                     ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:979:79: error: ‘uint32_t’ has not been declared
  979 |                                                    optional<uint64_t> amount, uint32_t mixin_count,
      |                                                                               ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:981:52: error: ‘uint32_t’ has not been declared
  981 |                                                    uint32_t subaddr_account = 0,
      |                                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:982:61: error: ‘uint32_t’ was not declared in this scope
  982 |                                                    std::set<uint32_t> subaddr_indices = {},
      |                                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:982:61: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:982:69: error: template argument 1 is invalid
  982 |                                                    std::set<uint32_t> subaddr_indices = {},
      |                                                                     ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:982:69: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:982:69: error: template argument 3 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1064:13: error: ‘uint64_t’ does not name a type
 1064 |     virtual uint64_t estimateTransactionFee(const std::vector<std::pair<std::string, uint64_t>> &destinations,
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1064:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1138:13: error: ‘uint32_t’ does not name a type
 1138 |     virtual uint32_t defaultMixin() const = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1138:13: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1143:34: error: ‘uint32_t’ has not been declared
 1143 |     virtual void setDefaultMixin(uint32_t arg) = 0;
      |                                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1173:102: error: ‘uint64_t’ has not been declared
 1173 |     virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
      |                                                                                                      ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1173:137: error: ‘uint64_t’ has not been declared
 1173 |     virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
      |                                                                                                                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1175:154: error: ‘uint64_t’ has not been declared
 1175 |     virtual bool checkTxProof(const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
      |                                                                                                                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1175:189: error: ‘uint64_t’ has not been declared
 1175 |     virtual bool checkTxProof(const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
      |                                                                                                                                                                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1182:51: error: ‘uint32_t’ has not been declared
 1182 |     virtual std::string getReserveProof(bool all, uint32_t account_index, uint64_t amount, const std::string &message) const = 0;
      |                                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1182:75: error: ‘uint64_t’ has not been declared
 1182 |     virtual std::string getReserveProof(bool all, uint32_t account_index, uint64_t amount, const std::string &message) const = 0;
      |                                                                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1183:134: error: ‘uint64_t’ has not been declared
 1183 |     virtual bool checkReserveProof(const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const = 0;
      |                                                                                                                                      ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1183:151: error: ‘uint64_t’ has not been declared
 1183 |     virtual bool checkReserveProof(const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const = 0;
      |                                                                                                                                                       ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1216:99: error: ‘uint64_t’ has not been declared
 1216 |     virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) = 0;
      |                                                                                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1217:93: error: ‘uint64_t’ has not been declared
 1217 |     virtual std::string make_uri(const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const = 0;
      |                                                                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1244:68: error: ‘uint64_t’ was not declared in this scope
 1244 |     virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const = 0;
      |                                                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1244:68: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1244:76: error: template argument 1 is invalid
 1244 |     virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const = 0;
      |                                                                            ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1244:76: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:99: error: ‘uint64_t’ was not declared in this scope
 1247 |     virtual bool getRings(const std::string &txid, std::vector<std::pair<std::string, std::vector<uint64_t>>> &rings) const = 0;
      |                                                                                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:99: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:99: error: template argument 1 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:99: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:107: error: template argument 2 is invalid
 1247 |     virtual bool getRings(const std::string &txid, std::vector<std::pair<std::string, std::vector<uint64_t>>> &rings) const = 0;
      |                                                                                                           ^~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:109: error: template argument 1 is invalid
 1247 |     virtual bool getRings(const std::string &txid, std::vector<std::pair<std::string, std::vector<uint64_t>>> &rings) const = 0;
      |                                                                                                             ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1247:109: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1250:74: error: ‘uint64_t’ was not declared in this scope
 1250 |     virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) = 0;
      |                                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1250:74: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1250:82: error: template argument 1 is invalid
 1250 |     virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) = 0;
      |                                                                                  ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1250:82: error: template argument 2 is invalid
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1256:36: error: ‘uint64_t’ has not been declared
 1256 |     virtual void segregationHeight(uint64_t height) = 0;
      |                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1265:74: error: ‘uint64_t’ has not been declared
 1265 |     virtual bool lightWalletImportWalletRequest(std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status) = 0;
      |                                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1280:13: error: ‘uint64_t’ does not name a type
 1280 |     virtual uint64_t coldKeyImageSync(uint64_t &spent, uint64_t &unspent) = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1280:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1283:36: error: ‘uint32_t’ has not been declared
 1283 |     virtual void deviceShowAddress(uint32_t accountIndex, uint32_t addressIndex, const std::string &paymentId) = 0;
      |                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1283:59: error: ‘uint32_t’ has not been declared
 1283 |     virtual void deviceShowAddress(uint32_t accountIndex, uint32_t addressIndex, const std::string &paymentId) = 0;
      |                                                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1289:13: error: ‘uint64_t’ does not name a type
 1289 |     virtual uint64_t getBytesReceived() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1289:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1292:13: error: ‘uint64_t’ does not name a type
 1292 |     virtual uint64_t getBytesSent() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1292:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘bool Monero::Wallet::mainnet() const’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:575:35: error: ‘nettype’ was not declared in this scope
  575 |     bool mainnet() const { return nettype() == MAINNET; }
      |                                   ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:575:48: error: ‘MAINNET’ was not declared in this scope
  575 |     bool mainnet() const { return nettype() == MAINNET; }
      |                                                ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘bool Monero::Wallet::testnet() const’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:576:35: error: ‘nettype’ was not declared in this scope
  576 |     bool testnet() const { return nettype() == TESTNET; }
      |                                   ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:576:48: error: ‘TESTNET’ was not declared in this scope
  576 |     bool testnet() const { return nettype() == TESTNET; }
      |                                                ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘bool Monero::Wallet::stagenet() const’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:577:36: error: ‘nettype’ was not declared in this scope
  577 |     bool stagenet() const { return nettype() == STAGENET; }
      |                                    ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:577:49: error: ‘STAGENET’ was not declared in this scope
  577 |     bool stagenet() const { return nettype() == STAGENET; }
      |                                                 ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In static member function ‘static bool Monero::Wallet::addressValid(const std::string&, bool)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:798:44: error: ‘TESTNET’ was not declared in this scope
  798 |         return addressValid(str, testnet ? TESTNET : MAINNET);
      |                                            ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:798:54: error: ‘MAINNET’ was not declared in this scope
  798 |         return addressValid(str, testnet ? TESTNET : MAINNET);
      |                                                      ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In static member function ‘static bool Monero::Wallet::keyValid(const std::string&, const std::string&, bool, bool, std::string&)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:803:81: error: ‘TESTNET’ was not declared in this scope
  803 |         return keyValid(secret_key_string, address_string, isViewKey, testnet ? TESTNET : MAINNET, error);
      |                                                                                 ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:803:91: error: ‘MAINNET’ was not declared in this scope
  803 |         return keyValid(secret_key_string, address_string, isViewKey, testnet ? TESTNET : MAINNET, error);
      |                                                                                           ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In static member function ‘static std::string Monero::Wallet::paymentIdFromAddress(const std::string&, bool)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:808:52: error: ‘TESTNET’ was not declared in this scope
  808 |         return paymentIdFromAddress(str, testnet ? TESTNET : MAINNET);
      |                                                    ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:808:62: error: ‘MAINNET’ was not declared in this scope
  808 |         return paymentIdFromAddress(str, testnet ? TESTNET : MAINNET);
      |                                                              ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: At global scope:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1316:118: error: ‘NetworkType’ has not been declared
 1316 |     virtual Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t kdf_rounds = 1) = 0;
      |                                                                                                                      ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1316:139: error: ‘uint64_t’ has not been declared
 1316 |     virtual Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t kdf_rounds = 1) = 0;
      |                                                                                                                                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1331:87: error: ‘NetworkType’ has not been declared
 1331 |     virtual Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds = 1, const std::string &ringDatabasePath = "", WalletListener * listener = nullptr) = 0;
      |                                                                                       ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1331:108: error: ‘uint64_t’ has not been declared
 1331 |     virtual Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds = 1, const std::string &ringDatabasePath = "", WalletListener * listener = nullptr) = 0;
      |                                                                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1349:37: error: ‘NetworkType’ has not been declared
 1349 |                                     NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1,
      |                                     ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1349:68: error: ‘uint64_t’ has not been declared
 1349 |                                     NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1,
      |                                                                    ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1349:96: error: ‘uint64_t’ has not been declared
 1349 |                                     NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1,
      |                                                                                                ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1352:59: error: ‘uint64_t’ has not been declared
 1352 |                                     bool testnet = false, uint64_t restoreHeight = 0)           // deprecated
      |                                                           ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1366:91: error: ‘NetworkType’ has not been declared
 1366 |     virtual Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight = 0) = 0;
      |                                                                                           ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1366:112: error: ‘uint64_t’ has not been declared
 1366 |     virtual Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight = 0) = 0;
      |                                                                                                                ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1367:105: error: ‘uint64_t’ has not been declared
 1367 |     Wallet * recoveryWallet(const std::string &path, const std::string &mnemonic, bool testnet = false, uint64_t restoreHeight = 0)         // deprecated
      |                                                                                                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1388:53: error: ‘NetworkType’ has not been declared
 1388 |                                                     NetworkType nettype,
      |                                                     ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1389:53: error: ‘uint64_t’ has not been declared
 1389 |                                                     uint64_t restoreHeight,
      |                                                     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1393:53: error: ‘uint64_t’ has not been declared
 1393 |                                                     uint64_t kdf_rounds = 1,
      |                                                     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1399:35: error: ‘uint64_t’ has not been declared
 1399 |                                   uint64_t restoreHeight,
      |                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1421:60: error: ‘NetworkType’ has not been declared
 1421 |                                                            NetworkType nettype,
      |                                                            ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1422:60: error: ‘uint64_t’ has not been declared
 1422 |                                                            uint64_t restoreHeight,
      |                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1424:60: error: ‘uint64_t’ has not been declared
 1424 |                                                            uint64_t kdf_rounds = 1,
      |                                                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1442:53: error: ‘NetworkType’ has not been declared
 1442 |                                                     NetworkType nettype,
      |                                                     ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1443:53: error: ‘uint64_t’ has not been declared
 1443 |                                                     uint64_t restoreHeight,
      |                                                     ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1450:35: error: ‘uint64_t’ has not been declared
 1450 |                                   uint64_t restoreHeight,
      |                                   ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1472:45: error: ‘NetworkType’ has not been declared
 1472 |                                             NetworkType nettype,
      |                                             ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1474:45: error: ‘uint64_t’ has not been declared
 1474 |                                             uint64_t restoreHeight = 0,
      |                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1476:45: error: ‘uint64_t’ has not been declared
 1476 |                                             uint64_t kdf_rounds = 1,
      |                                             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1509:122: error: ‘uint64_t’ has not been declared
 1509 |     virtual bool verifyWalletPassword(const std::string &keys_file_name, const std::string &password, bool no_spend_key, uint64_t kdf_rounds = 1) const = 0;
      |                                                                                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1521:129: error: ‘uint64_t’ has not been declared
 1521 |     virtual bool queryWalletDevice(Wallet::Device& device_type, const std::string &keys_file_name, const std::string &password, uint64_t kdf_rounds = 1) const = 0;
      |                                                                                                                                 ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1537:28: error: ‘uint32_t’ has not been declared
 1537 |     virtual bool connected(uint32_t *version = NULL) = 0;
      |                            ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1540:13: error: ‘uint64_t’ does not name a type
 1540 |     virtual uint64_t blockchainHeight() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1540:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1543:13: error: ‘uint64_t’ does not name a type
 1543 |     virtual uint64_t blockchainTargetHeight() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1543:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1546:13: error: ‘uint64_t’ does not name a type
 1546 |     virtual uint64_t networkDifficulty() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1546:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1552:13: error: ‘uint64_t’ does not name a type
 1552 |     virtual uint64_t blockTarget() = 0;
      |             ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1552:13: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1558:58: error: ‘uint32_t’ has not been declared
 1558 |     virtual bool startMining(const std::string &address, uint32_t threads = 1, bool background_mining = false, bool ignore_battery = true) = 0;
      |                                                          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1349:59: error: ‘MAINNET’ was not declared in this scope
 1349 |                                     NetworkType nettype = MAINNET, uint64_t restoreHeight = 0, uint64_t kdf_rounds = 1,
      |                                                           ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::createWallet(const std::string&, const std::string&, const std::string&, bool)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1319:65: error: ‘TESTNET’ was not declared in this scope
 1319 |         return createWallet(path, password, language, testnet ? TESTNET : MAINNET);
      |                                                                 ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1319:75: error: ‘MAINNET’ was not declared in this scope
 1319 |         return createWallet(path, password, language, testnet ? TESTNET : MAINNET);
      |                                                                           ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::openWallet(const std::string&, const std::string&, bool)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1334:53: error: ‘TESTNET’ was not declared in this scope
 1334 |         return openWallet(path, password, testnet ? TESTNET : MAINNET);
      |                                                     ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1334:63: error: ‘MAINNET’ was not declared in this scope
 1334 |         return openWallet(path, password, testnet ? TESTNET : MAINNET);
      |                                                               ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::recoveryWallet(const std::string&, const std::string&, const std::string&, bool, int)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1354:67: error: ‘TESTNET’ was not declared in this scope
 1354 |         return recoveryWallet(path, password, mnemonic, testnet ? TESTNET : MAINNET, restoreHeight);
      |                                                                   ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1354:77: error: ‘MAINNET’ was not declared in this scope
 1354 |         return recoveryWallet(path, password, mnemonic, testnet ? TESTNET : MAINNET, restoreHeight);
      |                                                                             ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::recoveryWallet(const std::string&, const std::string&, bool, int)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1369:57: error: ‘TESTNET’ was not declared in this scope
 1369 |         return recoveryWallet(path, mnemonic, testnet ? TESTNET : MAINNET, restoreHeight);
      |                                                         ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1369:67: error: ‘MAINNET’ was not declared in this scope
 1369 |         return recoveryWallet(path, mnemonic, testnet ? TESTNET : MAINNET, restoreHeight);
      |                                                                   ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::createWalletFromKeys(const std::string&, const std::string&, const std::string&, bool, int, const std::string&, const std::string&, const std::string&)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1404:73: error: ‘TESTNET’ was not declared in this scope
 1404 |         return createWalletFromKeys(path, password, language, testnet ? TESTNET : MAINNET, restoreHeight, addressString, viewKeyString, spendKeyString);
      |                                                                         ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1404:83: error: ‘MAINNET’ was not declared in this scope
 1404 |         return createWalletFromKeys(path, password, language, testnet ? TESTNET : MAINNET, restoreHeight, addressString, viewKeyString, spendKeyString);
      |                                                                                   ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h: In member function ‘Monero::Wallet* Monero::WalletManager::createWalletFromKeys(const std::string&, const std::string&, bool, int, const std::string&, const std::string&, const std::string&)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1455:63: error: ‘TESTNET’ was not declared in this scope
 1455 |         return createWalletFromKeys(path, language, testnet ? TESTNET : MAINNET, restoreHeight, addressString, viewKeyString, spendKeyString);
      |                                                               ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:1455:73: error: ‘MAINNET’ was not declared in this scope
 1455 |         return createWalletFromKeys(path, language, testnet ? TESTNET : MAINNET, restoreHeight, addressString, viewKeyString, spendKeyString);
      |                                                                         ^~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/wallet2.h:50,
                 from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:35:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/cryptonote_basic/cryptonote_basic_impl.h: At global scope:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/cryptonote_basic/cryptonote_basic_impl.h:43:29: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
   43 |   struct array_hasher: std::unary_function<t_array&, std::size_t>
      |                             ^~~~~~~~~~~~~~
In file included from /usr/include/c++/13.1.1/string:49,
                 from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:34:
/usr/include/c++/13.1.1/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:58:27: error: expected ‘)’ before ‘nettype’
   58 |     WalletImpl(NetworkType nettype = MAINNET, uint64_t kdf_rounds = 1);
      |               ~           ^~~~~~~~
      |                           )
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:146:5: error: ‘NetworkType’ does not name a type
  146 |     NetworkType nettype() const override {return static_cast<NetworkType>(m_wallet->nettype());}
      |     ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:103:17: error: ‘std::string Monero::WalletImpl::address(uint32_t, uint32_t) const’ marked ‘override’, but does not override
  103 |     std::string address(uint32_t accountIndex = 0, uint32_t addressIndex = 0) const override;
      |                 ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:104:10: error: ‘bool Monero::WalletImpl::subaddressIndex(std::string, std::pair<unsigned int, unsigned int>&) const’ marked ‘override’, but does not override
  104 |     bool subaddressIndex(std::string address, std::pair<uint32_t, uint32_t> &index) const override;
      |          ^~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:116:10: error: ‘bool Monero::WalletImpl::init(const std::string&, uint64_t, const std::string&, const std::string&, bool, bool, const std::string&, bool)’ marked ‘override’, but does not override
  116 |     bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit = 0, const std::string &daemon_username = "", const std::string &daemon_password = "", bool use_ssl = false, bool lightWallet = false, const std::string &proxy_address = "", bool use_dns = false) override;
      |          ^~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:123:14: error: ‘uint64_t Monero::WalletImpl::balance(uint32_t) const’ marked ‘override’, but does not override
  123 |     uint64_t balance(uint32_t accountIndex = 0) const override;
      |              ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:124:14: error: ‘uint64_t Monero::WalletImpl::unlockedBalance(uint32_t) const’ marked ‘override’, but does not override
  124 |     uint64_t unlockedBalance(uint32_t accountIndex = 0) const override;
      |              ^~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:125:14: error: ‘uint64_t Monero::WalletImpl::blockChainHeight() const’ marked ‘override’, but does not override
  125 |     uint64_t blockChainHeight() const override;
      |              ^~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:126:14: error: ‘uint64_t Monero::WalletImpl::approximateBlockChainHeight() const’ marked ‘override’, but does not override
  126 |     uint64_t approximateBlockChainHeight() const override;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:127:14: error: ‘uint64_t Monero::WalletImpl::estimateBlockChainHeight() const’ marked ‘override’, but does not override
  127 |     uint64_t estimateBlockChainHeight() const override;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:128:14: error: ‘uint64_t Monero::WalletImpl::daemonBlockChainHeight() const’ marked ‘override’, but does not override
  128 |     uint64_t daemonBlockChainHeight() const override;
      |              ^~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:129:14: error: ‘uint64_t Monero::WalletImpl::daemonBlockChainTargetHeight() const’ marked ‘override’, but does not override
  129 |     uint64_t daemonBlockChainTargetHeight() const override;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:137:10: error: ‘void Monero::WalletImpl::setRefreshFromBlockHeight(uint64_t)’ marked ‘override’, but does not override
  137 |     void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) override;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:138:14: error: ‘uint64_t Monero::WalletImpl::getRefreshFromBlockHeight() const’ marked ‘override’, but does not override
  138 |     uint64_t getRefreshFromBlockHeight() const override { return m_wallet->get_refresh_from_block_height(); };
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:141:10: error: ‘void Monero::WalletImpl::setSubaddressLookahead(uint32_t, uint32_t)’ marked ‘override’, but does not override
  141 |     void setSubaddressLookahead(uint32_t major, uint32_t minor) override;
      |          ^~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:147:10: error: ‘void Monero::WalletImpl::hardForkInfo(uint8_t&, uint64_t&) const’ marked ‘override’, but does not override
  147 |     void hardForkInfo(uint8_t &version, uint64_t &earliest_height) const override;
      |          ^~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:148:10: error: ‘bool Monero::WalletImpl::useForkRules(uint8_t, int64_t) const’ marked ‘override’, but does not override
  148 |     bool useForkRules(uint8_t version, int64_t early_blocks) const override;
      |          ^~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:152:12: error: ‘size_t Monero::WalletImpl::numSubaddresses(uint32_t) const’ marked ‘override’, but does not override
  152 |     size_t numSubaddresses(uint32_t accountIndex) const override;
      |            ^~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:153:10: error: ‘void Monero::WalletImpl::addSubaddress(uint32_t, const std::string&)’ marked ‘override’, but does not override
  153 |     void addSubaddress(uint32_t accountIndex, const std::string& label) override;
      |          ^~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:154:17: error: ‘std::string Monero::WalletImpl::getSubaddressLabel(uint32_t, uint32_t) const’ marked ‘override’, but does not override
  154 |     std::string getSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex) const override;
      |                 ^~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:155:10: error: ‘void Monero::WalletImpl::setSubaddressLabel(uint32_t, uint32_t, const std::string&)’ marked ‘override’, but does not override
  155 |     void setSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) override;
      |          ^~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:159:17: error: ‘std::string Monero::WalletImpl::makeMultisig(const std::vector<std::__cxx11::basic_string<char> >&, uint32_t)’ marked ‘override’, but does not override
  159 |     std::string makeMultisig(const std::vector<std::string>& info, uint32_t threshold) override;
      |                 ^~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:166:26: error: ‘Monero::PendingTransaction* Monero::WalletImpl::createTransactionMultDest(const std::vector<std::__cxx11::basic_string<char> >&, const std::string&, Monero::optional<std::vector<long unsigned int> >, uint32_t, Monero::PendingTransaction::Priority, uint32_t, std::set<unsigned int>, const std::set<std::__cxx11::basic_string<char> >&)’ marked ‘override’, but does not override
  166 |     PendingTransaction * createTransactionMultDest(const std::vector<std::string> &dst_addr, const std::string &payment_id,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:172:26: error: ‘Monero::PendingTransaction* Monero::WalletImpl::createTransaction(const std::string&, const std::string&, Monero::optional<long unsigned int>, uint32_t, Monero::PendingTransaction::Priority, uint32_t, std::set<unsigned int>, const std::set<std::__cxx11::basic_string<char> >&)’ marked ‘override’, but does not override
  172 |     PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id,
      |                          ^~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:217:22: error: ‘virtual uint64_t Monero::WalletImpl::estimateTransactionFee(const std::vector<std::pair<std::__cxx11::basic_string<char>, long unsigned int> >&, Monero::PendingTransaction::Priority) const’ marked ‘override’, but does not override
  217 |     virtual uint64_t estimateTransactionFee(const std::vector<std::pair<std::string, uint64_t>> &destinations,
      |                      ^~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:225:22: error: ‘virtual uint32_t Monero::WalletImpl::defaultMixin() const’ marked ‘override’, but does not override
  225 |     virtual uint32_t defaultMixin() const override;
      |                      ^~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:226:18: error: ‘virtual void Monero::WalletImpl::setDefaultMixin(uint32_t)’ marked ‘override’, but does not override
  226 |     virtual void setDefaultMixin(uint32_t arg) override;
      |                  ^~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:238:18: error: ‘virtual bool Monero::WalletImpl::checkTxKey(const std::string&, std::string, const std::string&, uint64_t&, bool&, uint64_t&)’ marked ‘override’, but does not override
  238 |     virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) override;
      |                  ^~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:240:18: error: ‘virtual bool Monero::WalletImpl::checkTxProof(const std::string&, const std::string&, const std::string&, const std::string&, bool&, uint64_t&, bool&, uint64_t&)’ marked ‘override’, but does not override
  240 |     virtual bool checkTxProof(const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations) override;
      |                  ^~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:243:25: error: ‘virtual std::string Monero::WalletImpl::getReserveProof(bool, uint32_t, uint64_t, const std::string&) const’ marked ‘override’, but does not override
  243 |     virtual std::string getReserveProof(bool all, uint32_t account_index, uint64_t amount, const std::string &message) const override;
      |                         ^~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:244:18: error: ‘virtual bool Monero::WalletImpl::checkReserveProof(const std::string&, const std::string&, const std::string&, bool&, uint64_t&, uint64_t&) const’ marked ‘override’, but does not override
  244 |     virtual bool checkReserveProof(const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const override;
      |                  ^~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:251:18: error: ‘virtual bool Monero::WalletImpl::parse_uri(const std::string&, std::string&, std::string&, uint64_t&, std::string&, std::string&, std::vector<std::__cxx11::basic_string<char> >&, std::string&)’ marked ‘override’, but does not override
  251 |     virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) override;
      |                  ^~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:252:25: error: ‘virtual std::string Monero::WalletImpl::make_uri(const std::string&, const std::string&, uint64_t, const std::string&, const std::string&, std::string&) const’ marked ‘override’, but does not override
  252 |     virtual std::string make_uri(const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const override;
      |                         ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:255:18: error: ‘virtual bool Monero::WalletImpl::lightWalletImportWalletRequest(std::string&, uint64_t&, bool&, bool&, std::string&, std::string&)’ marked ‘override’, but does not override
  255 |     virtual bool lightWalletImportWalletRequest(std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status) override;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:259:18: error: ‘virtual bool Monero::WalletImpl::getRing(const std::string&, std::vector<long unsigned int>&) const’ marked ‘override’, but does not override
  259 |     virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const override;
      |                  ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:260:18: error: ‘virtual bool Monero::WalletImpl::getRings(const std::string&, std::vector<std::pair<std::__cxx11::basic_string<char>, std::vector<long unsigned int> > >&) const’ marked ‘override’, but does not override
  260 |     virtual bool getRings(const std::string &txid, std::vector<std::pair<std::string, std::vector<uint64_t>>> &rings) const override;
      |                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:261:18: error: ‘virtual bool Monero::WalletImpl::setRing(const std::string&, const std::vector<long unsigned int>&, bool)’ marked ‘override’, but does not override
  261 |     virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) override;
      |                  ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:263:18: error: ‘virtual void Monero::WalletImpl::segregationHeight(uint64_t)’ marked ‘override’, but does not override
  263 |     virtual void segregationHeight(uint64_t height) override;
      |                  ^~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:268:22: error: ‘virtual uint64_t Monero::WalletImpl::coldKeyImageSync(uint64_t&, uint64_t&)’ marked ‘override’, but does not override
  268 |     virtual uint64_t coldKeyImageSync(uint64_t &spent, uint64_t &unspent) override;
      |                      ^~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:269:18: error: ‘virtual void Monero::WalletImpl::deviceShowAddress(uint32_t, uint32_t, const std::string&)’ marked ‘override’, but does not override
  269 |     virtual void deviceShowAddress(uint32_t accountIndex, uint32_t addressIndex, const std::string &paymentId) override;
      |                  ^~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:271:22: error: ‘virtual uint64_t Monero::WalletImpl::getBytesReceived()’ marked ‘override’, but does not override
  271 |     virtual uint64_t getBytesReceived() override;
      |                      ^~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.h:272:22: error: ‘virtual uint64_t Monero::WalletImpl::getBytesSent()’ marked ‘override’, but does not override
  272 |     virtual uint64_t getBytesSent() override;
      |                      ^~~~~~~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:33,
                 from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:33:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction_info.h:19:14: error: ‘uint64_t Monero::PendingTransactionInfoImpl::fee() const’ marked ‘override’, but does not override
   19 |     uint64_t fee() const override;
      |              ^~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction_info.h:20:14: error: ‘uint64_t Monero::PendingTransactionInfoImpl::dust() const’ marked ‘override’, but does not override
   20 |     uint64_t dust() const override;
      |              ^~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:50:14: error: ‘uint64_t Monero::PendingTransactionImpl::amount() const’ marked ‘override’, but does not override
   50 |     uint64_t amount() const override;
      |              ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:51:14: error: ‘uint64_t Monero::PendingTransactionImpl::dust() const’ marked ‘override’, but does not override
   51 |     uint64_t dust() const override;
      |              ^~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:52:14: error: ‘uint64_t Monero::PendingTransactionImpl::fee() const’ marked ‘override’, but does not override
   52 |     uint64_t fee() const override;
      |              ^~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:54:14: error: ‘uint64_t Monero::PendingTransactionImpl::txCount() const’ marked ‘override’, but does not override
   54 |     uint64_t txCount() const override;
      |              ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:55:27: error: conflicting return type specified for ‘virtual std::vector<unsigned int> Monero::PendingTransactionImpl::subaddrAccount() const’
   55 |     std::vector<uint32_t> subaddrAccount() const override;
      |                           ^~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:143:35: note: overridden function is ‘virtual int Monero::PendingTransaction::subaddrAccount() const’
  143 |     virtual std::vector<uint32_t> subaddrAccount() const = 0;
      |                                   ^~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/pending_transaction.h:56:37: error: conflicting return type specified for ‘virtual std::vector<std::set<unsigned int> > Monero::PendingTransactionImpl::subaddrIndices() const’
   56 |     std::vector<std::set<uint32_t>> subaddrIndices() const override;
      |                                     ^~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:144:45: note: overridden function is ‘virtual int Monero::PendingTransaction::subaddrIndices() const’
  144 |     virtual std::vector<std::set<uint32_t>> subaddrIndices() const = 0;
      |                                             ^~~~~~~~~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:34:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/unsigned_transaction.h:48:27: error: conflicting return type specified for ‘virtual std::vector<long unsigned int> Monero::UnsignedTransactionImpl::amount() const’
   48 |     std::vector<uint64_t> amount() const override;
      |                           ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:192:35: note: overridden function is ‘virtual int Monero::UnsignedTransaction::amount() const’
  192 |     virtual std::vector<uint64_t> amount() const = 0;
      |                                   ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/unsigned_transaction.h:49:27: error: conflicting return type specified for ‘virtual std::vector<long unsigned int> Monero::UnsignedTransactionImpl::fee() const’
   49 |     std::vector<uint64_t> fee() const override;
      |                           ^~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:193:36: note: overridden function is ‘virtual int Monero::UnsignedTransaction::fee() const’
  193 |     virtual std::vector<uint64_t>  fee() const = 0;
      |                                    ^~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/unsigned_transaction.h:50:27: error: conflicting return type specified for ‘virtual std::vector<long unsigned int> Monero::UnsignedTransactionImpl::mixin() const’
   50 |     std::vector<uint64_t> mixin() const override;
      |                           ^~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:194:35: note: overridden function is ‘virtual int Monero::UnsignedTransaction::mixin() const’
  194 |     virtual std::vector<uint64_t> mixin() const = 0;
      |                                   ^~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/unsigned_transaction.h:53:14: error: ‘uint64_t Monero::UnsignedTransactionImpl::txCount() const’ marked ‘override’, but does not override
   53 |     uint64_t txCount() const override;
      |              ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/unsigned_transaction.h:57:14: error: ‘uint64_t Monero::UnsignedTransactionImpl::minMixinCount() const’ marked ‘override’, but does not override
   57 |     uint64_t minMixinCount() const override;
      |              ^~~~~~~~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:37:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/subaddress.h:43:10: error: ‘bool Monero::SubaddressImpl::refresh(uint32_t)’ marked ‘override’, but does not override
   43 |     bool refresh(uint32_t accountIndex) override;
      |          ^~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/subaddress.h:45:10: error: ‘bool Monero::SubaddressImpl::addRow(uint32_t, const std::string&)’ marked ‘override’, but does not override
   45 |     bool addRow(uint32_t accountIndex, const std::string &label) override;
      |          ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/subaddress.h:46:10: error: ‘bool Monero::SubaddressImpl::setLabel(uint32_t, uint32_t, const std::string&)’ marked ‘override’, but does not override
   46 |     bool setLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) override;
      |          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:387:18: warning: ‘virtual bool Monero::Subaddress::setLabel(int, int, const std::string&)’ was hidden [-Woverloaded-virtual=]
  387 |     virtual bool setLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) = 0;
      |                  ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/subaddress.h:46:10: note:   by ‘bool Monero::SubaddressImpl::setLabel(uint32_t, uint32_t, const std::string&)’
   46 |     bool setLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label) override;
      |          ^~~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:38:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/coins.h:26:10: error: ‘bool Monero::CoinsImpl::isTransferUnlocked(uint64_t, uint64_t)’ marked ‘override’, but does not override
   26 |     bool isTransferUnlocked(uint64_t unlockTime, uint64_t blockHeight) override;
      |          ^~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:357:18: warning: ‘virtual bool Monero::Coins::isTransferUnlocked(int, int)’ was hidden [-Woverloaded-virtual=]
  357 |     virtual bool isTransferUnlocked(uint64_t unlockTime, uint64_t blockHeight) = 0;
      |                  ^~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/coins.h:26:10: note:   by ‘bool Monero::CoinsImpl::isTransferUnlocked(uint64_t, uint64_t)’
   26 |     bool isTransferUnlocked(uint64_t unlockTime, uint64_t blockHeight) override;
      |          ^~~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:422:18: warning: ‘virtual void Monero::SubaddressAccount::setLabel(int, const std::string&)’ was hidden [-Woverloaded-virtual=]
  422 |     virtual void setLabel(uint32_t accountIndex, const std::string &label) = 0;
      |                  ^~~~~~~~
In file included from /home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:39:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/subaddress_account.h:46:10: note:   by ‘void Monero::SubaddressAccountImpl::setLabel(uint32_t, const std::string&)’
   46 |     void setLabel(uint32_t accountIndex, const std::string &label);
      |          ^~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:298:8: error: no declaration matches ‘std::string Monero::Wallet::displayAmount(uint64_t)’
  298 | string Wallet::displayAmount(uint64_t amount)
      |        ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:790:24: note: candidate is: ‘static std::string Monero::Wallet::displayAmount(int)’
  790 |     static std::string displayAmount(uint64_t amount);
      |                        ^~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:535:8: note: ‘struct Monero::Wallet’ defined here
  535 | struct Wallet
      |        ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:303:10: error: no declaration matches ‘uint64_t Monero::Wallet::amountFromString(const std::string&)’
  303 | uint64_t Wallet::amountFromString(const string &amount)
      |          ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:303:10: note: no functions named ‘uint64_t Monero::Wallet::amountFromString(const std::string&)’
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:535:8: note: ‘struct Monero::Wallet’ defined here
  535 | struct Wallet
      |        ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:310:10: error: no declaration matches ‘uint64_t Monero::Wallet::amountFromDouble(double)’
  310 | uint64_t Wallet::amountFromDouble(double amount)
      |          ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:310:10: note: no functions named ‘uint64_t Monero::Wallet::amountFromDouble(double)’
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:535:8: note: ‘struct Monero::Wallet’ defined here
  535 | struct Wallet
      |        ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:335:51: error: ‘NetworkType’ has not been declared
  335 | bool Wallet::addressValid(const std::string &str, NetworkType nettype)
      |                                                   ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:341:112: error: ‘NetworkType’ has not been declared
  341 | bool Wallet::keyValid(const std::string &secret_key_string, const std::string &address_string, bool isViewKey, NetworkType nettype, std::string &error)
      |                                                                                                                ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:377:66: error: ‘NetworkType’ has not been declared
  377 | std::string Wallet::paymentIdFromAddress(const std::string &str, NetworkType nettype)
      |                                                                  ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:387:78: error: ‘NetworkType’ has not been declared
  387 | std::string Wallet::baseAddressFromIntegratedAddress(const std::string &str, NetworkType nettype)
      |                                                                              ^~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:395:10: error: no declaration matches ‘uint64_t Monero::Wallet::maximumAllowedAmount()’
  395 | uint64_t Wallet::maximumAllowedAmount()
      |          ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:395:10: note: no functions named ‘uint64_t Monero::Wallet::maximumAllowedAmount()’
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet2_api.h:535:8: note: ‘struct Monero::Wallet’ defined here
  535 | struct Wallet
      |        ^~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:427:23: error: expected constructor, destructor, or type conversion before ‘(’ token
  427 | WalletImpl::WalletImpl(NetworkType nettype, uint64_t kdf_rounds)
      |                       ^
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp: In member function ‘virtual Monero::MultisigState Monero::WalletImpl::multisig() const’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:1567:66: error: ‘struct Monero::MultisigState’ has no member named ‘threshold’
 1567 |     state.isMultisig = m_wallet->multisig(&state.isReady, &state.threshold, &state.total);
      |                                                                  ^~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:1567:84: error: ‘struct Monero::MultisigState’ has no member named ‘total’
 1567 |     state.isMultisig = m_wallet->multisig(&state.isReady, &state.threshold, &state.total);
      |                                                                                    ^~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp: In member function ‘virtual Monero::PendingTransaction* Monero::WalletImpl::createTransactionSelected(const std::vector<std::__cxx11::basic_string<char> >&, const std::string&, size_t, Monero::PendingTransaction::Priority)’:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:1882:14: warning: unused variable ‘adjusted_priority’ [-Wunused-variable]
 1882 |     uint32_t adjusted_priority = m_wallet->adjust_priority(static_cast<uint32_t>(priority));
      |              ^~~~~~~~~~~~~~~~~
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp: At global scope:
/home/jacob/.cache/yay/monero-feather/src/monero-feather/monero/src/wallet/api/wallet.cpp:116:10: warning: ‘void Monero::{anonymous}::checkMultisigWalletNotReady(const std::unique_ptr<tools::wallet2>&)’ defined but not used [-Wunused-function]
  116 |     void checkMultisigWalletNotReady(const std::unique_ptr<tools::wallet2> &wallet) {
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [monero/src/wallet/api/CMakeFiles/obj_wallet_api.dir/build.make:76: monero/src/wallet/api/CMakeFiles/obj_wallet_api.dir/wallet.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2083: monero/src/wallet/api/CMakeFiles/obj_wallet_api.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

The object it failed on compiled right away after I added <cstdint> in header of the file that produced the error. And I had to repeat this about 4 times while compiling the whole program. And this isn't the only package I've had this problem with that I had no problem building not too long ago.

Did something change with how gcc works? Or is my system just missing something that allows stdint to be included implicitly?

In the meantime, adding "#include <cstdint>" to any affected files and then building with makepkg --noextract seems to work as a temporary solution.

Offline

#3 2023-05-18 11:54:52

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [Solved!]Failed to Build Package Snort

Recently gcc 13 was introduced into the repos. Every gcc major release can trigger such problems. The C++ and C standards are still moving targets.

Offline

#4 2023-05-18 14:34:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,012

Re: [Solved!]Failed to Build Package Snort

jake-penguins wrote:

Did something change with how gcc works? Or is my system just missing something that allows stdint to be included implicitly?

In the meantime, adding "#include <cstdint>" to any affected files and then building with makepkg --noextract seems to work as a temporary solution.

You found the correct solution by adding that include , see https://gcc.gnu.org/gcc-13/porting_to.html
Monero-feather upstream needs to adjust their sourcecode to build with gcc 13.


Apeiron , maybe your error message is also listed on that page.

Last edited by Lone_Wolf (2023-05-18 14:34:44)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-05-18 17:32:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,451
Website

Re: [Solved!]Failed to Build Package Snort

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2023-05-18 17:57:01

loqs
Member
Registered: 2014-03-06
Posts: 18,103

Re: [Solved!]Failed to Build Package Snort

@apeiron https://github.com/snort3/snort3/issues/300

@jake-penguins https://github.com/monero-project/moner … c7c7b425f3

$ git diff
diff --git a/PKGBUILD b/PKGBUILD
index 0c0f876..a4a7de1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,13 +15,16 @@ makedepends=('git' 'cmake' 'boost')
 provides=('monero-feather')
 conflicts=('monero-feather' 'monero-feather-git')
 
-source=("${pkgname}"::"git+https://github.com/feather-wallet/feather.git#tag=${pkgver}")
+source=("${pkgname}"::"git+https://github.com/feather-wallet/feather.git#tag=${pkgver}"
+         https://github.com/monero-project/monero/commit/c32befe4f8385f5f893c0db611060bc7c7b425f3.patch)
 
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+            '3875b705a967af06ad11ca896bbaf37180255b9b9477ad022c2dcc9e4902f4b5')
 
 prepare() {
   cd "${srcdir}/${pkgname}"
   git submodule update --init --recursive
+  patch -Np1 -i "$srcdir"/c32befe4f8385f5f893c0db611060bc7c7b425f3.patch -d monero
   rm -rf build/*
   mkdir -p build
   cd build

Last edited by loqs (2023-05-18 18:14:41)

Offline

#7 2023-05-18 18:29:45

apeiron
Member
Registered: 2022-09-14
Posts: 23

Re: [Solved!]Failed to Build Package Snort

Marking it Solved
Thanks!

Offline

#8 2023-05-18 18:34:38

loqs
Member
Registered: 2014-03-06
Posts: 18,103

Re: [Solved!]Failed to Build Package Snort

In case you need to rebuild snort before upstream fixes the issue,  a patch for gcc 13 which is probably the same as the changes you made:

diff --git a/src/js_norm/js_identifier_ctx.h b/src/js_norm/js_identifier_ctx.h
index b8d5121..8e14fb5 100644
--- a/src/js_norm/js_identifier_ctx.h
+++ b/src/js_norm/js_identifier_ctx.h
@@ -25,6 +25,7 @@
 #include <unordered_map>
 #include <unordered_set>
 #include <vector>
+#include <cstdint>
 
 namespace jsn
 {
diff --git a/src/packet_io/sfdaq_config.h b/src/packet_io/sfdaq_config.h
index 990c457..f229eea 100644
--- a/src/packet_io/sfdaq_config.h
+++ b/src/packet_io/sfdaq_config.h
@@ -23,6 +23,7 @@
 
 #include <string>
 #include <vector>
+#include <cstdint>
 
 using DaqVar = std::pair<std::string, std::string>;
 using DaqVarList = std::vector<DaqVar>;
diff --git a/src/service_inspectors/wizard/magic.h b/src/service_inspectors/wizard/magic.h
index fa24d0b..d976cbf 100644
--- a/src/service_inspectors/wizard/magic.h
+++ b/src/service_inspectors/wizard/magic.h
@@ -23,6 +23,7 @@
 #include <cassert>
 #include <string>
 #include <vector>
+#include <cstdint>
 
 class MagicBook;
 

Offline

Board footer

Powered by FluxBB