pok3r-custom / pok3rtool

Command line tool and library for keyboards using qmk-pok3r
BSD 3-Clause "New" or "Revised" License
41 stars 7 forks source link

rawhid/hiddevice.cpp:11:14: fatal error: usb.h: No such file or directory #7

Closed Soundtoxin closed 3 years ago

Soundtoxin commented 3 years ago

Distro is Void. Apologies for the excessive length, didn't want to cut something out that turned out to be important.

[user@macaroni-novel ~]$ git clone --recursive https://gitlab.com/pok3r-custom/pok3rtool.git
Cloning into 'pok3rtool'...
remote: Enumerating objects: 955, done.
remote: Counting objects: 100% (955/955), done.
remote: Compressing objects: 100% (297/297), done.
remote: Total 955 (delta 698), reused 906 (delta 656), pack-reused 0
Receiving objects: 100% (955/955), 277.45 KiB | 2.43 MiB/s, done.
Resolving deltas: 100% (698/698), done.
Submodule 'libchaos' (https://gitlab.com/ChaoticEnigma/libchaos.git) registered for path 'libchaos'
Submodule 'nlohmann_json' (https://github.com/nlohmann/json) registered for path 'nlohmann_json'
Cloning into '/home/user/pok3rtool/libchaos'...
remote: Enumerating objects: 8402, done.
remote: Counting objects: 100% (8402/8402), done.
remote: Compressing objects: 100% (2053/2053), done.
remote: Total 8402 (delta 6400), reused 8317 (delta 6331), pack-reused 0
Receiving objects: 100% (8402/8402), 4.31 MiB | 14.28 MiB/s, done.
Resolving deltas: 100% (6400/6400), done.
Cloning into '/home/user/pok3rtool/nlohmann_json'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 73247 (delta 141), reused 192 (delta 91), pack-reused 72990
Receiving objects: 100% (73247/73247), 236.69 MiB | 19.49 MiB/s, done.
Resolving deltas: 100% (58622/58622), done.
Submodule path 'libchaos': checked out 'f4f3b224ec4c2329937409e3a3ffd5b79e9e7107'
Submodule path 'nlohmann_json': checked out '7fa4ddf93e4fc51bd6af78a9666e721e3a159828'
[user@macaroni-novel ~]$ mkdir pok3rtool-build
[user@macaroni-novel ~]$ cd pok3rtool-build
[user@macaroni-novel pok3rtool-build]$ cmake ../pok3rtool
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- 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
-- 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
-- LibChaos: Other (Static) - Core - remotes/origin/patches/pok3r-0-gf4f3b22
CMake Deprecation Warning at rawhid/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Using the multi-header code from /home/user/pok3rtool/nlohmann_json/include/
-- Configuring done
CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Allocator´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Pointer´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Storage´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Binary´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Array´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Assoc´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Stack´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Map´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static List´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Queue´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static String´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Path´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static JSON´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Number´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Hash´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static UID´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Thread´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Mutex´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static File´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static Image´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-static PDF´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Allocator´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Pointer´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Storage´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Binary´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Array´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Assoc´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Stack´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Map´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared List´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Queue´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared String´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Path´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared JSON´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Number´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Hash´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared UID´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Thread´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Mutex´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared File´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared Image´

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libchaos/tests/CMakeLists.txt:
  Policy CMP0110 is not set: add_test() supports arbitrary characters in test
  names.  Run "cmake --help-policy CMP0110" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The following name given to add_test() is invalid if CMP0110 is not set or
  set to OLD:

    `testchaos-shared PDF´

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/user/pok3rtool-build
[user@macaroni-novel pok3rtool-build]$ make
Scanning dependencies of target chaos-static
[  2%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/chaos.cpp.o
[  5%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/zclock.cpp.o
[  7%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/zerror.cpp.o
[  7%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/zexception.cpp.o
[ 10%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/zlog.cpp.o
/home/user/pok3rtool/libchaos/chaos/base/zlog.cpp: In constructor 'LibChaos::ZLog::ZLog(LibChaos::ZLog::zlog_level, LibChaos::ZLogWorker*)':
/home/user/pok3rtool/libchaos/chaos/base/zlog.cpp:22:28: warning: implicitly-declared 'constexpr LibChaos::ZTime& LibChaos::ZTime::operator=(const LibChaos::ZTime&)' is deprecated [-Wdeprecated-copy]
   22 |     job->time = ZTime::now();
      |                            ^
In file included from /home/user/pok3rtool/libchaos/chaos/base/zlogworker.h:19,
                 from /home/user/pok3rtool/libchaos/chaos/base/zlog.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/base/zlog.cpp:6:
/home/user/pok3rtool/libchaos/chaos/base/ztime.h:29:5: note: because 'LibChaos::ZTime' has user-provided 'LibChaos::ZTime::ZTime(const LibChaos::ZTime&)'
   29 |     ZTime(const ZTime &other);
      |     ^~~~~
/home/user/pok3rtool/libchaos/chaos/base/zlog.cpp:23:30: warning: implicitly-declared 'constexpr LibChaos::ZClock& LibChaos::ZClock::operator=(const LibChaos::ZClock&)' is deprecated [-Wdeprecated-copy]
   23 |     job->clock = ZClock(clock);
      |                              ^
In file included from /home/user/pok3rtool/libchaos/chaos/base/ztime.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/base/zlogworker.h:19,
                 from /home/user/pok3rtool/libchaos/chaos/base/zlog.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/base/zlog.cpp:6:
/home/user/pok3rtool/libchaos/chaos/base/zclock.h:20:5: note: because 'LibChaos::ZClock' has user-provided 'LibChaos::ZClock::ZClock(const LibChaos::ZClock&)'
   20 |     ZClock(const ZClock &other);
      |     ^~~~~~
[ 13%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/zlogworker.cpp.o
[ 13%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/base/ztime.cpp.o
[ 15%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/data/zbinary.cpp.o
[ 18%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/data/ztable.cpp.o
[ 21%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/file/zfile.cpp.o
[ 21%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/file/zimage.cpp.o
[ 23%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/file/zpdf.cpp.o
[ 26%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/file/image/zbmp.cpp.o
[ 26%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/file/image/zppm.cpp.o
[ 28%] Building C object libchaos/chaos/CMakeFiles/chaos-static.dir/lib/xxhash.c.o
cc1: warning: '-Werror=' argument '-Werror=delete-incomplete' is not valid for C
[ 31%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/math/zexpression.cpp.o
[ 34%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/math/zformula.cpp.o
[ 34%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/math/znumber.cpp.o
[ 36%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/math/zmath.cpp.o
[ 39%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/misc/zencrypt.cpp.o
[ 39%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/misc/zhash.cpp.o
[ 42%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/misc/zoptions.cpp.o
[ 44%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/misc/zrandom.cpp.o
[ 47%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/misc/zuid.cpp.o
[ 47%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zaddress.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zaddress.cpp:20:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zaddress.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
[ 50%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zconnection.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp: In constructor 'LibChaos::ZConnection::ZConnection(LibChaos::zsocktype, LibChaos::ZAddress)':
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:15:107: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   15 | ZConnection::ZConnection(zsocktype fd, ZAddress addr) : ZStreamSocket(fd), _peeraddr(addr), buffer(nullptr){
      |                                                                                                           ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp: In member function 'bool LibChaos::ZConnection::connect(LibChaos::ZAddress)':
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:27:58: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   27 |     return ZStreamSocket::connect(addr, connfd, _peeraddr);
      |                                                          ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:88:27: note:   initializing argument 1 of 'bool LibChaos::ZSocket::connect(LibChaos::ZAddress, LibChaos::zsocktype&, LibChaos::ZAddress&)'
   88 |     bool connect(ZAddress addr, zsocktype &connfd, ZAddress &connaddr);
      |                  ~~~~~~~~~^~~~
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp: In member function 'LibChaos::ZAddress LibChaos::ZConnection::peer()':
/home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:31:12: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   31 |     return _peeraddr;
      |            ^~~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/net/zconnection.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
[ 52%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zdatagramsocket.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zdatagramsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zdatagramsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zdatagramsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zdatagramsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
[ 52%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zmultiplex.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zmultiplex.h:4,
                 from /home/user/pok3rtool/libchaos/chaos/net/zmultiplex.cpp:1:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zmultiplex.h:4,
                 from /home/user/pok3rtool/libchaos/chaos/net/zmultiplex.cpp:1:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
[ 55%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zsocket.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp: In member function 'bool LibChaos::ZSocket::bind(LibChaos::ZAddress)':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:129:51: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  129 |     ZList<SockAddr> addrs = lookupAddr(addr, _type);
      |                                                   ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:148:48: note:   initializing argument 1 of 'static LibChaos::ZList<LibChaos::ZSocket::SockAddr> LibChaos::ZSocket::lookupAddr(LibChaos::ZAddress, int)'
  148 |     static ZList<SockAddr> lookupAddr(ZAddress addr, int type);
      |                                       ~~~~~~~~~^~~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In copy constructor 'LibChaos::ZSocket::SockAddr::SockAddr(const LibChaos::ZSocket::SockAddr&)':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:56:12: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   56 |     struct SockAddr {
      |            ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp: In member function 'bool LibChaos::ZSocket::bind(LibChaos::ZAddress)':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:131:38: note: synthesized method 'LibChaos::ZSocket::SockAddr::SockAddr(const LibChaos::ZSocket::SockAddr&)' first required here
  131 |         SockAddr saddr = addrs.front();
      |                                      ^
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:155:24: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  155 |         _bound = saddr.addr;
      |                        ^~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:34: note:   initializing argument 1 of 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |                         ~~~~~~~~~^~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp: In member function 'bool LibChaos::ZSocket::connect(LibChaos::ZAddress, LibChaos::zsocktype&, LibChaos::ZAddress&)':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:174:51: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  174 |     ZList<SockAddr> addrs = lookupAddr(addr, _type);
      |                                                   ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:148:48: note:   initializing argument 1 of 'static LibChaos::ZList<LibChaos::ZSocket::SockAddr> LibChaos::ZSocket::lookupAddr(LibChaos::ZAddress, int)'
  148 |     static ZList<SockAddr> lookupAddr(ZAddress addr, int type);
      |                                       ~~~~~~~~~^~~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:181:40: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  181 |         ZAddress caddr = addrs.front().addr;
      |                                        ^~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:198:30: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  198 |     connaddr = addrs.front().addr;
      |                              ^~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:34: note:   initializing argument 1 of 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |                         ~~~~~~~~~^~~
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp: In static member function 'static LibChaos::ZList<LibChaos::ZSocket::SockAddr> LibChaos::ZSocket::lookupAddr(LibChaos::ZAddress, int)':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:501:25: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  501 |         sockaddr.addr = newaddr;
      |                         ^~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:34: note:   initializing argument 1 of 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |                         ~~~~~~~~~^~~
[ 57%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/net/zstreamsocket.cpp.o
In file included from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h: In member function 'LibChaos::ZAddress LibChaos::ZSocket::getBoundAddress() const':
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:153:54: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
  153 |     inline ZAddress getBoundAddress() const { return _bound; }
      |                                                      ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
/home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp: In member function 'bool LibChaos::ZStreamSocket::listen(LibChaos::ZAddress)':
/home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:19:31: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   19 |     if(!ZSocket::bind(bindaddr))
      |                               ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zsocket.h:78:24: note:   initializing argument 1 of 'bool LibChaos::ZSocket::bind(LibChaos::ZAddress)'
   78 |     bool bind(ZAddress port);
      |               ~~~~~~~~~^~~~
/home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp: In member function 'LibChaos::ZSocket::socket_error LibChaos::ZStreamSocket::accept(LibChaos::ZPointer<LibChaos::ZConnection>&)':
/home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:31:48: warning: implicitly-declared 'LibChaos::ZAddress::ZAddress(const LibChaos::ZAddress&)' is deprecated [-Wdeprecated-copy]
   31 |         conn = new ZConnection(connfd, connaddr);
      |                                                ^
In file included from /home/user/pok3rtool/libchaos/chaos/net/zsocket.h:12,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.h:9,
                 from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:6:
/home/user/pok3rtool/libchaos/chaos/net/zaddress.h:107:15: note: because 'LibChaos::ZAddress' has user-provided 'LibChaos::ZAddress& LibChaos::ZAddress::operator=(LibChaos::ZAddress)'
  107 |     ZAddress &operator=(ZAddress rhs);
      |               ^~~~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/net/zstreamsocket.cpp:7:
/home/user/pok3rtool/libchaos/chaos/net/zconnection.h:23:40: note:   initializing argument 2 of 'LibChaos::ZConnection::ZConnection(LibChaos::zsocktype, LibChaos::ZAddress)'
   23 |     ZConnection(zsocktype fd, ZAddress addr);
      |                               ~~~~~~~~~^~~~
[ 60%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/string/zjson.cpp.o
/home/user/pok3rtool/libchaos/chaos/string/zjson.cpp: In member function 'LibChaos::ZJSON& LibChaos::ZJSON::operator=(const LibChaos::ZJSON&)':
/home/user/pok3rtool/libchaos/chaos/string/zjson.cpp:54:42: warning: implicitly-declared 'LibChaos::ZMap<LibChaos::ZString, LibChaos::ZJSON>& LibChaos::ZMap<LibChaos::ZString, LibChaos::ZJSON>::operator=(const LibChaos::ZMap<LibChaos::ZString, LibChaos::ZJSON>&)' is deprecated [-Wdeprecated-copy]
   54 |             *_data.object = *other._data.object;
      |                                          ^~~~~~
In file included from /home/user/pok3rtool/libchaos/chaos/string/zjson.h:10,
                 from /home/user/pok3rtool/libchaos/chaos/string/zjson.cpp:6:
/home/user/pok3rtool/libchaos/chaos/data/zmap.h:69:5: note: because 'LibChaos::ZMap<LibChaos::ZString, LibChaos::ZJSON>' has user-provided 'LibChaos::ZMap<K, T>::ZMap(const LibChaos::ZMap<K, T>&) [with K = LibChaos::ZString; T = LibChaos::ZJSON]'
   69 |     ZMap(const ZMap &other) :
      |     ^~~~
[ 60%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/string/zpath.cpp.o
[ 63%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/string/zstring.cpp.o
[ 65%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/string/zstring-unicode.cpp.o
[ 65%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/string/zxml.cpp.o
[ 68%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/thread/zcondition.cpp.o
[ 71%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/thread/zmutex.cpp.o
[ 73%] Building CXX object libchaos/chaos/CMakeFiles/chaos-static.dir/thread/zthread.cpp.o
[ 73%] Linking CXX static library libchaos.a
[ 73%] Built target chaos-static
Scanning dependencies of target rawhid
[ 76%] Building CXX object rawhid/CMakeFiles/rawhid.dir/hiddevice.cpp.o
/home/user/pok3rtool/rawhid/hiddevice.cpp:11:14: fatal error: usb.h: No such file or directory
   11 |     #include <usb.h>
      |              ^~~~~~~
compilation terminated.
make[2]: *** [rawhid/CMakeFiles/rawhid.dir/build.make:82: rawhid/CMakeFiles/rawhid.dir/hiddevice.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1212: rawhid/CMakeFiles/rawhid.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Soundtoxin commented 3 years ago

I was missing libusb-compat-devel. Compilation works fine after installing it.

[user@macaroni-novel pok3rtool-build]$ make
[ 73%] Built target chaos-static
[ 76%] Building CXX object rawhid/CMakeFiles/rawhid.dir/hiddevice.cpp.o
[ 78%] Building C object rawhid/CMakeFiles/rawhid.dir/hid_LINUX.c.o
[ 78%] Linking CXX static library librawhid.a
[ 78%] Built target rawhid
Scanning dependencies of target pok3rlib
[ 81%] Building CXX object CMakeFiles/pok3rlib.dir/kbscan.cpp.o
[ 84%] Building CXX object CMakeFiles/pok3rlib.dir/kbproto.cpp.o
[ 84%] Building CXX object CMakeFiles/pok3rlib.dir/proto_pok3r.cpp.o
[ 86%] Building CXX object CMakeFiles/pok3rlib.dir/proto_cykb.cpp.o
[ 89%] Building CXX object CMakeFiles/pok3rlib.dir/proto_qmk.cpp.o
[ 92%] Building CXX object CMakeFiles/pok3rlib.dir/keymap.cpp.o
[ 92%] Linking CXX static library libpok3rlib.a
[ 92%] Built target pok3rlib
Scanning dependencies of target pok3rtool
[ 94%] Building CXX object CMakeFiles/pok3rtool.dir/main.cpp.o
[ 97%] Building CXX object CMakeFiles/pok3rtool.dir/updatepackage.cpp.o
[ 97%] Linking CXX executable pok3rtool
[100%] Built target pok3rtool

Closing issue.