You are not logged in.
Hi guys, running an executable gives me the error for missing libcap.so.0.8. I checked what version of libcap i have:
[root@du du]# ls -la /usr/lib/libcap.so.*
lrwxrwxrwx 1 root root 14 Nov 19 08:40 /usr/lib/libcap.so.2 -> libcap.so.2.26
-rw-r--r-- 1 root root 22456 Nov 19 08:40 /usr/lib/libcap.so.2.26
Thank you for helping
EDIT: resolution process starting from post #11
Last edited by jacopastorius (2019-01-16 18:21:46)
Offline
Running *what* executable?
Offline
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
The executable is a software that sets up a client that connects to a server on PC
https://github.com/spacemeowx2/switch-lan-play
Here it is the executable
https://github.com/spacemeowx2/switch-l … play-linux
Last edited by jacopastorius (2019-01-16 09:05:28)
Offline
You should build the software from source whenever possible instead of using precompiled binaries
Offline
ok, i'm going to build it from source, but the dev says that "This project depends on libpcap and libuv, you can install libpcap0.8-dev and libuv1-dev on Ubuntu or Debian:"
sudo apt install libpcap0.8-dev libuv1-dev
Gonna try later by the way
EDIT. Some errors i can't understand occurred after launching cmake:
[du@du Projects]$ cmake build
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- 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 unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Installing libuv via submodule
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at external/libuv/CMakeLists.txt:34 (include):
include could not find load file:
external/external.cmake
CMake Error at external/libuv/CMakeLists.txt:36 (add_subdirectory):
add_subdirectory given source "base" which is not an existing directory.
CMake Error at external/libuv/CMakeLists.txt:37 (add_subdirectory):
add_subdirectory given source "lwip" which is not an existing directory.
CMake Error at external/libuv/CMakeLists.txt:38 (add_subdirectory):
add_subdirectory given source "uv_lwip" which is not an existing directory.
CMake Error at external/libuv/CMakeLists.txt:39 (add_subdirectory):
add_subdirectory given source "src" which is not an existing directory.
CMake Error at external/external.cmake:17 (target_include_directories):
Cannot specify include directories for target "uv_a" which is not built by
this project.
Call Stack (most recent call first):
CMakeLists.txt:34 (include)
error: src/unix/internal.h: No such file or directory
-- Installing uvw via submodule
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at external/external.cmake:38 (add_subdirectory):
The source directory
/home/du/Projects/build/external/uvw
does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:34 (include)
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
git describe --tags output is empty, set version to v0.0.7
-- Found PCAP: /usr/lib/libpcap.so
-- Configuring incomplete, errors occurred!
See also "/home/du/Projects/CMakeFiles/CMakeOutput.log".
Here is CMakeOutput.log
The system is: Linux - 4.20.1-arch1-1-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/du/Projects/CMakeFiles/3.13.2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/du/Projects/CMakeFiles/3.13.2/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4a7fb/fast"
/usr/bin/make -f CMakeFiles/cmTC_4a7fb.dir/build.make CMakeFiles/cmTC_4a7fb.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4a7fb.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_4a7fb.dir/testCCompiler.c.o -c /home/du/Projects/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_4a7fb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a7fb.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_4a7fb.dir/testCCompiler.c.o -o cmTC_4a7fb
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b8087/fast"
/usr/bin/make -f CMakeFiles/cmTC_b8087.dir/build.make CMakeFiles/cmTC_b8087.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_b8087
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8087.dir/link.txt --verbose=1
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -o cmTC_b8087
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 8.2.1 20181127 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_b8087' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuwcZs6.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_b8087 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../.. CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_b8087' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_b8087/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_b8087.dir/build.make CMakeFiles/cmTC_b8087.dir/build]
ignore line: [make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_b8087]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8087.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -o cmTC_b8087 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto]
ignore line: [Thread model: posix]
ignore line: [gcc version 8.2.1 20181127 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_b8087' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuwcZs6.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_b8087 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../.. CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccuwcZs6.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_b8087] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..]
arg [CMakeFiles/cmTC_b8087.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1;/usr/lib;/lib]
implicit fwks: []
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c92e3/fast"
/usr/bin/make -f CMakeFiles/cmTC_c92e3.dir/build.make CMakeFiles/cmTC_c92e3.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c92e3.dir/feature_tests.c.o
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_c92e3.dir/feature_tests.c.o -c /home/du/Projects/CMakeFiles/feature_tests.c
Linking C executable cmTC_c92e3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c92e3.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_c92e3.dir/feature_tests.c.o -o cmTC_c92e3
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_0113c/fast"
/usr/bin/make -f CMakeFiles/cmTC_0113c.dir/build.make CMakeFiles/cmTC_0113c.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0113c.dir/feature_tests.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_0113c.dir/feature_tests.c.o -c /home/du/Projects/CMakeFiles/feature_tests.c
Linking C executable cmTC_0113c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0113c.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_0113c.dir/feature_tests.c.o -o cmTC_0113c
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_545df/fast"
/usr/bin/make -f CMakeFiles/cmTC_545df.dir/build.make CMakeFiles/cmTC_545df.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_545df.dir/feature_tests.c.o
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_545df.dir/feature_tests.c.o -c /home/du/Projects/CMakeFiles/feature_tests.c
Linking C executable cmTC_545df
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_545df.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_545df.dir/feature_tests.c.o -o cmTC_545df
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e69ec/fast"
/usr/bin/make -f CMakeFiles/cmTC_e69ec.dir/build.make CMakeFiles/cmTC_e69ec.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e69ec.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_e69ec.dir/testCXXCompiler.cxx.o -c /home/du/Projects/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_e69ec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e69ec.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_e69ec.dir/testCXXCompiler.cxx.o -o cmTC_e69ec
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_aaad8/fast"
/usr/bin/make -f CMakeFiles/cmTC_aaad8.dir/build.make CMakeFiles/cmTC_aaad8.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_aaad8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aaad8.dir/link.txt --verbose=1
/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aaad8
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 8.2.1 20181127 (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_aaad8' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cceDldTx.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_aaad8 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../.. CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_aaad8' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_aaad8/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_aaad8.dir/build.make CMakeFiles/cmTC_aaad8.dir/build]
ignore line: [make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_aaad8]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aaad8.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aaad8 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper]
ignore line: [Target: x86_64-pc-linux-gnu]
ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto]
ignore line: [Thread model: posix]
ignore line: [gcc version 8.2.1 20181127 (GCC) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_aaad8' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cceDldTx.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_aaad8 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../.. CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cceDldTx.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_aaad8] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..]
arg [CMakeFiles/cmTC_aaad8.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1;/usr/lib;/lib]
implicit fwks: []
Detecting CXX [-std=c++2a] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e6bcc/fast"
/usr/bin/make -f CMakeFiles/cmTC_e6bcc.dir/build.make CMakeFiles/cmTC_e6bcc.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e6bcc.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++2a -o CMakeFiles/cmTC_e6bcc.dir/feature_tests.cxx.o -c /home/du/Projects/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_e6bcc
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6bcc.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_e6bcc.dir/feature_tests.cxx.o -o cmTC_e6bcc
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++17] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2ca1e/fast"
/usr/bin/make -f CMakeFiles/cmTC_2ca1e.dir/build.make CMakeFiles/cmTC_2ca1e.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2ca1e.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++17 -o CMakeFiles/cmTC_2ca1e.dir/feature_tests.cxx.o -c /home/du/Projects/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_2ca1e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2ca1e.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_2ca1e.dir/feature_tests.cxx.o -o cmTC_2ca1e
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_94fa9/fast"
/usr/bin/make -f CMakeFiles/cmTC_94fa9.dir/build.make CMakeFiles/cmTC_94fa9.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_94fa9.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_94fa9.dir/feature_tests.cxx.o -c /home/du/Projects/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_94fa9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94fa9.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_94fa9.dir/feature_tests.cxx.o -o cmTC_94fa9
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4667d/fast"
/usr/bin/make -f CMakeFiles/cmTC_4667d.dir/build.make CMakeFiles/cmTC_4667d.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4667d.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_4667d.dir/feature_tests.cxx.o -c /home/du/Projects/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_4667d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4667d.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_4667d.dir/feature_tests.cxx.o -o cmTC_4667d
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_487ad/fast"
/usr/bin/make -f CMakeFiles/cmTC_487ad.dir/build.make CMakeFiles/cmTC_487ad.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_487ad.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_487ad.dir/feature_tests.cxx.o -c /home/du/Projects/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_487ad
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_487ad.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_487ad.dir/feature_tests.cxx.o -o cmTC_487ad
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:0cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:0cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:0cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:0cxx_default_function_template_args
Feature record: CXX_FEATURE:0cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:0cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
Feature record: CXX_FEATURE:0cxx_explicit_conversions
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
Feature record: CXX_FEATURE:0cxx_extern_templates
Feature record: CXX_FEATURE:0cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:0cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:0cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:0cxx_local_type_template_args
Feature record: CXX_FEATURE:0cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:0cxx_nullptr
Feature record: CXX_FEATURE:0cxx_override
Feature record: CXX_FEATURE:0cxx_range_for
Feature record: CXX_FEATURE:0cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
Feature record: CXX_FEATURE:0cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:0cxx_static_assert
Feature record: CXX_FEATURE:0cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the include file sys/types.h exists passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_13dde/fast"
/usr/bin/make -f CMakeFiles/cmTC_13dde.dir/build.make CMakeFiles/cmTC_13dde.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_13dde.dir/CheckIncludeFile.c.o
/usr/bin/cc -o CMakeFiles/cmTC_13dde.dir/CheckIncludeFile.c.o -c /home/du/Projects/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_13dde
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13dde.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_13dde.dir/CheckIncludeFile.c.o -o cmTC_13dde
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Determining if the include file stdint.h exists passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f3e50/fast"
/usr/bin/make -f CMakeFiles/cmTC_f3e50.dir/build.make CMakeFiles/cmTC_f3e50.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f3e50.dir/CheckIncludeFile.c.o
/usr/bin/cc -o CMakeFiles/cmTC_f3e50.dir/CheckIncludeFile.c.o -c /home/du/Projects/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_f3e50
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3e50.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_f3e50.dir/CheckIncludeFile.c.o -o cmTC_f3e50
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Determining if the include file stddef.h exists passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4ed5e/fast"
/usr/bin/make -f CMakeFiles/cmTC_4ed5e.dir/build.make CMakeFiles/cmTC_4ed5e.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4ed5e.dir/CheckIncludeFile.c.o
/usr/bin/cc -o CMakeFiles/cmTC_4ed5e.dir/CheckIncludeFile.c.o -c /home/du/Projects/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_4ed5e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4ed5e.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_4ed5e.dir/CheckIncludeFile.c.o -o cmTC_4ed5e
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Determining size of unsigned short passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_da431/fast"
/usr/bin/make -f CMakeFiles/cmTC_da431.dir/build.make CMakeFiles/cmTC_da431.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_da431.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o
/usr/bin/cc -o CMakeFiles/cmTC_da431.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /home/du/Projects/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c
Linking C executable cmTC_da431
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_da431.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_da431.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -o cmTC_da431
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Determining if the system is big endian passed with the following output:
Change Dir: /home/du/Projects/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_10fea/fast"
/usr/bin/make -f CMakeFiles/cmTC_10fea.dir/build.make CMakeFiles/cmTC_10fea.dir/build
make[1]: Entering directory '/home/du/Projects/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_10fea.dir/TestEndianess.c.o
/usr/bin/cc -o CMakeFiles/cmTC_10fea.dir/TestEndianess.c.o -c /home/du/Projects/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTC_10fea
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_10fea.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_10fea.dir/TestEndianess.c.o -o cmTC_10fea
make[1]: Leaving directory '/home/du/Projects/CMakeFiles/CMakeTmp'
TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;
/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN."
On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};
/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_little[argc];
require += info_big[argc];
(void)argv;
return require;
}
Last edited by jacopastorius (2019-01-16 09:50:10)
Offline
-- Installing libuv via submodule
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
https://github.com/spacemeowx2/switch-l … gitmodules
Looks like switch-lan-play has 2 external dependencies they integrate by using git submodules .
No idea how to replicate that without switching to a *-git pkgbuild .
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
ok, it seems a situation that could led to dependencies problems in the future. I think i'll give up, unless using the .exe binary with wine. Do you think worth it a try?
Offline
https://github.com/spacemeowx2/switch-l … l.cmake#L1
-DUV_LIBRARY=ON -DUVW_LIBRARY=ON
Should tell cmake to use the system libraries instead of git submodules.
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
thank you WorMzy, where should i insert that line? I mean, i know in what file, but don't know in which line or replacing which line
Offline
Pass the options to cmake.
cmake -DUV_LIBRARY=ON -DUVW_LIBRARY=ON
Offline
Thank you loqs. cmake finished successfully but make returns error i am not able to interpret:
[du@du Projects]$ make
Scanning dependencies of target base
[ 2%] Building C object base/CMakeFiles/base.dir/debug.c.o
[ 4%] Building C object base/CMakeFiles/base.dir/llog.c.o
[ 6%] Linking C static library libbase.a
[ 6%] Built target base
Scanning dependencies of target lwip_lib
[ 9%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/udp.c.o
[ 11%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/memp.c.o
[ 13%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/init.c.o
[ 15%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/pbuf.c.o
[ 18%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp.c.o
[ 20%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_out.c.o
[ 22%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/sys.c.o
[ 25%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/netif.c.o
[ 27%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/def.c.o
[ 29%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/mem.c.o
[ 31%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/tcp_in.c.o
[ 34%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/stats.c.o
[ 36%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ip.c.o
[ 38%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/timeouts.c.o
[ 40%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/inet_chksum.c.o
[ 43%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/icmp.c.o
[ 45%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4.c.o
[ 47%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_addr.c.o
[ 50%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv4/ip4_frag.c.o
[ 52%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6.c.o
[ 54%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/nd6.c.o
[ 56%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/icmp6.c.o
[ 59%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_addr.c.o
[ 61%] Building C object lwip/CMakeFiles/lwip_lib.dir/src/core/ipv6/ip6_frag.c.o
[ 63%] Linking C static library liblwip_lib.a
[ 63%] Built target lwip_lib
Scanning dependencies of target uv_lwip
[ 65%] Building C object uv_lwip/CMakeFiles/uv_lwip.dir/uv_lwip.c.o
[ 68%] Linking C static library libuv_lwip.a
[ 68%] Built target uv_lwip
Scanning dependencies of target lan-play
[ 70%] Building C object src/CMakeFiles/lan-play.dir/main.c.o
[ 72%] Building C object src/CMakeFiles/lan-play.dir/pcaploop.c.o
[ 75%] Building C object src/CMakeFiles/lan-play.dir/packet.c.o
[ 77%] Building C object src/CMakeFiles/lan-play.dir/arp.c.o
[ 79%] Building C object src/CMakeFiles/lan-play.dir/helper.c.o
[ 81%] Building C object src/CMakeFiles/lan-play.dir/lan-client.c.o
[ 84%] Building CXX object src/CMakeFiles/lan-play.dir/gateway.cpp.o
In file included from /home/du/Projects/build/src/gateway.cpp:1:
/home/du/Projects/build/src/proxy.hpp:6:10: fatal error: uvw.hpp: No such file or directory
#include <uvw.hpp>
^~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/lan-play.dir/build.make:141: src/CMakeFiles/lan-play.dir/gateway.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:259: src/CMakeFiles/lan-play.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Offline
Seems to rather depend on https://github.com/skypjack/uvw than on libuv …
Offline
my newbie action was trying to put uvw.hpp in /home/du/Projects/switch-lan-play-master/build/src/ but obviously that didn't help. I suppose that i have to compile uvw from source too?
Offline
It's apparently just a bunch of headers, but they'll have to be in the include path.
Offline
i thought the error message stated that uvw.hpp is in the include path but that file was missing
Offline
No, the compiler is looking at eg. /usr/include/uvw.hpp but the file isn't there.
To be looked up in the source path, the statement would have to be along
#include "uvw.hpp"
(Though chaing this is likely to fail because uvw.hpp will most likely include a lot of "<uvw/foo.hpp>")
Offline
For what i can understand from the shell messages, i checked the file gateway.cpp and at the top of it there is:
#include "proxy.hpp"
#include <uv_lwip.hpp>
#include <base/llog.h>
#include <functional>
#include <memory>
#include "gateway.h"
#include "helper.h"
#include "packet.h"
#include "ipv4/ipv4.h"
#include "uvw.hpp"
Offline
In file included from /home/du/Projects/build/src/gateway.cpp:1:
/home/du/Projects/build/src/proxy.hpp:6:10: fatal error: uvw.hpp: No such file or directory
#include <uvw.hpp>
gateway.cpp includes "proxy.hpp" and that includes <uvw.hpp> and that's where the build failed.
Offline
ok, i think i'll give up. Thank you very much for contributing to make a little progression in my computer knowledge
Offline
Please try installing uvw with the following then try building switch-lan-play again
pkgname=uvw
pkgver=1.12.0
pkgrel=1
pkgdesc="Header-only, event based, tiny and easy to use libuv wrapper in modern C++"
arch=('any')
url="https://github.com/skypjack/uvw"
license=('MIT')
depends=('libuv')
makedepends=('cmake')
source=("https://github.com/skypjack/uvw/archive/v1.12.0_libuv-v1.24.tar.gz")
sha256sums=('b7751294fa00e8a96cd7d70989beda7a6117f5d9f4751306b7b2bbbb4702aac8')
build() {
mkdir -p build
cd build
cmake ../uvw-1.12.0_libuv-v1.24 -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
install -Dm 755 uvw-1.12.0_libuv-v1.24/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd build
make DESTDIR="$pkgdir/" install
}
Offline
i am sorry loqs but i do not get how to install with that. Is it a script that i have to make executable?
Offline
thank you guys, the compiler finished successfully.
[du@du switch-lan-play-master]$ make
[ 6%] Built target base
[ 63%] Built target lwip_lib
[ 68%] Built target uv_lwip
Scanning dependencies of target lan-play
[ 70%] Building CXX object src/CMakeFiles/lan-play.dir/gateway.cpp.o
[ 72%] Building CXX object src/CMakeFiles/lan-play.dir/proxy_direct.cpp.o
[ 75%] Building CXX object src/CMakeFiles/lan-play.dir/proxy_socks5.cpp.o
[ 77%] Building C object src/CMakeFiles/lan-play.dir/ipv4/ipv4.c.o
[ 79%] Building C object src/CMakeFiles/lan-play.dir/ipv4/tcp.c.o
[ 81%] Building C object src/CMakeFiles/lan-play.dir/ipv4/udp.c.o
[ 84%] Building C object src/CMakeFiles/lan-play.dir/ipv4/icmp.c.o
[ 86%] Linking CXX executable lan-play
[100%] Built target lan-play
Do i have to run make install with sudo now?
Last edited by jacopastorius (2019-01-16 16:38:58)
Offline
find -name 'lan-play'
You can but don't necessarily have to (unless it requires to install files in eg. /usr/share)
Last edited by seth (2019-01-16 16:40:42)
Offline