******************************************************************************** conan install pcapplusplus/21.05@#845cb08ddfb6a00f5879901feb2b808f --build=pcapplusplus -pr /home/conan/w/prod/BuildSingleReference/196872/9f8af6ad-4edb-44a7-a1e0-1f9fbe3c4e0f/profile_linux_13_libstdcpp_clang_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 13.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=13 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=13 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libpcap/1.10.1: Not found in local cache, looking in remotes... libpcap/1.10.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpcap/1.10.1: Downloaded recipe revision 8f3b574225696428bb77beffbb4aa20b pcapplusplus/21.05: Forced build from source Installing package: pcapplusplus/21.05 Requirements libpcap/1.10.1 from 'conan-center' - Downloaded pcapplusplus/21.05 from local cache - Cache Packages libpcap/1.10.1:63c2a85d57849e261f98f935b93ecac31ba71b84 - Download pcapplusplus/21.05:83dbcc9e764adeccf8d95de8e0bb209b697888b4 - Build Installing (downloading, building) binaries... libpcap/1.10.1: Retrieving package 63c2a85d57849e261f98f935b93ecac31ba71b84 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpcap/1.10.1: Package installed 63c2a85d57849e261f98f935b93ecac31ba71b84 libpcap/1.10.1: Downloaded package revision b4ea481e722340f22e34e50a622f8ed6 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK pcapplusplus/21.05: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/source/src pcapplusplus/21.05: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK pcapplusplus/21.05: Copying sources to build folder pcapplusplus/21.05: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4 pcapplusplus/21.05: Generator txt created conanbuildinfo.txt pcapplusplus/21.05: Calling generate() pcapplusplus/21.05: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK pcapplusplus/21.05: Calling build() pcapplusplus/21.05: Apply patch (conan): Pass CXXFLAGS and CPPFLAGS when-compiling 3rd party source pcapplusplus/21.05: Apply patch (conan): Use pthreads4w from conan center pcapplusplus/21.05: Apply patch (conan): Fix md5 include configuration pcapplusplus/21.05: Calling: > "/home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4/src/configure" '--libpcap-include-dir' '/home/conan/w/prod/BuildSingleReference/.conan/data/libpcap/1.10.1/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include' '--libpcap-lib-dir' '/home/conan/w/prod/BuildSingleReference/.conan/data/libpcap/1.10.1/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include' ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4/build-release/conan/conanbuild.sh" && "/home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4/src/configure" '--libpcap-include-dir' '/home/conan/w/prod/BuildSingleReference/.conan/data/libpcap/1.10.1/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include' '--libpcap-lib-dir' '/home/conan/w/prod/BuildSingleReference/.conan/data/libpcap/1.10.1/_/_/package/63c2a85d57849e261f98f935b93ecac31ba71b84/include' ----------------- **************************************** PcapPlusPlus Linux configuration script **************************************** Number of arguments: 4 PcapPlusPlus configuration is complete. Files created (or modified): mk/platform.mk, mk/PcapPlusPlus.mk, mk/install.sh, mk/uninstall.sh ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4/build-release/conan/conanbuild.sh" && make libs -j3 ----------------- ==== Building target: Common++ ==== Building file: src/GeneralUtils.cpp Building file: src/SystemUtils.cpp Building file: src/TablePrinter.cpp Building file: src/IpAddress.cpp Building file: src/MacAddress.cpp Building file: src/PcapPlusPlusVersion.cpp Building file: src/IpUtils.cpp Building file: src/Logger.cpp Finished successfully building: Common++.debug Finished successfully building: Common++.lib ==== Building target: Packet++ ==== Building file: src/Layer.cpp Building file: src/RadiusLayer.cpp Building file: src/IPReassembly.cpp Building file: src/ArpLayer.cpp Building file: src/VlanLayer.cpp Building file: src/DnsLayer.cpp Building file: src/IgmpLayer.cpp Building file: src/SipLayer.cpp Building file: src/BgpLayer.cpp Building file: src/GtpLayer.cpp Building file: src/SllLayer.cpp Building file: src/SSLLayer.cpp Building file: src/PacketTrailerLayer.cpp Building file: src/GreLayer.cpp Building file: src/VxlanLayer.cpp Building file: src/DnsResourceData.cpp Building file: src/IPv4Layer.cpp Building file: src/IPSecLayer.cpp Building file: src/EthLayer.cpp Building file: src/TextBasedProtocol.cpp Building file: src/IPv6Layer.cpp Building file: src/TcpReassembly.cpp Building file: src/SdpLayer.cpp Building file: src/PacketUtils.cpp Building file: src/NullLoopbackLayer.cpp Building file: src/DnsResource.cpp Building file: src/IcmpLayer.cpp Building file: src/UdpLayer.cpp Building file: src/MplsLayer.cpp Building file: src/SSLCommon.cpp Building file: src/HttpLayer.cpp Building file: src/RawPacket.cpp Building file: src/EthDot3Layer.cpp Building file: src/DhcpLayer.cpp Building file: src/IPv6Extensions.cpp Building file: src/SSHLayer.cpp Building file: src/TLVData.cpp Building file: src/PPPoELayer.cpp Building file: src/SSLHandshake.cpp Building file: src/PayloadLayer.cpp Building file: src/Packet.cpp Building file: src/TcpLayer.cpp Building file: md5.cpp Finished successfully building: Packet++ ==== Building target: Pcap++ ==== Building file: src/PcapRemoteDeviceList.cpp Building file: src/PcapFilter.cpp Building file: src/MBufRawPacket.cpp Building file: src/DpdkDevice.cpp Building file: src/PcapLiveDevice.cpp Building file: src/LinuxNicInformationSocket.cpp Building file: src/RawSocketDevice.cpp Building file: src/PcapDevice.cpp Building file: src/KniDeviceList.cpp Building file: src/KniDevice.cpp Building file: src/PfRingDevice.cpp Building file: src/PfRingDeviceList.cpp Building file: src/PcapFileDevice.cpp Building file: src/NetworkUtils.cpp Building file: src/PcapLiveDeviceList.cpp Building file: src/DpdkDeviceList.cpp Building file: src/PcapRemoteDevice.cpp Building file: src/WinPcapLiveDevice.cpp Building file: LightPcapNg/src/light_manipulate.c Building file: LightPcapNg/src/light_compression.c Building file: LightPcapNg/src/light_pcapng.c Building file: LightPcapNg/src/light_platform.c Building file: LightPcapNg/src/light_io.c Building file: LightPcapNg/src/light_option.c Building file: LightPcapNg/src/light_pcapng_ext.c Building file: LightPcapNg/src/light_zstd_compression.c Building file: LightPcapNg/src/light_pcapng_cont.c Building file: LightPcapNg/src/light_advanced.c Building file: LightPcapNg/src/light_internal.c Building file: LightPcapNg/src/light_alloc.c Building file: LightPcapNg/src/light_null_compression.c Finished successfully building: Pcap++ Finished successfully building PcapPlusPlus libs pcapplusplus/21.05: Package '83dbcc9e764adeccf8d95de8e0bb209b697888b4' built pcapplusplus/21.05: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/83dbcc9e764adeccf8d95de8e0bb209b697888b4/build-release pcapplusplus/21.05: Generated conaninfo.txt pcapplusplus/21.05: Generated conanbuildinfo.txt pcapplusplus/21.05: Generating the package pcapplusplus/21.05: Package folder /home/conan/w/prod/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/83dbcc9e764adeccf8d95de8e0bb209b697888b4 pcapplusplus/21.05: Calling package() pcapplusplus/21.05: Copied 1 file: LICENSE pcapplusplus/21.05: Copied 75 '.h' files pcapplusplus/21.05: Copied 3 '.a' files: libCommon++.a, libPacket++.a, libPcap++.a [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK pcapplusplus/21.05 package(): Packaged 75 '.h' files pcapplusplus/21.05 package(): Packaged 1 file: LICENSE pcapplusplus/21.05 package(): Packaged 3 '.a' files: libCommon++.a, libPacket++.a, libPcap++.a pcapplusplus/21.05: Package '83dbcc9e764adeccf8d95de8e0bb209b697888b4' created pcapplusplus/21.05: Created package revision c8eea421620126898595d6adace0523b [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK Aggregating env generators fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ar: ar: creating Lib/Release/libCommon++.acreating Lib/Debug/libCommon++.a In file included from src/BgpLayer.cpp:5: ./header/BgpLayer.h:147:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_open_message ./header/BgpLayer.h:147:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:159:5: note: type is given name 'bgp_open_message' for linkage purposes by this typedef declaration } bgp_open_message; ^ ./header/BgpLayer.h:474:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_notification_message ./header/BgpLayer.h:474:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:480:5: note: type is given name 'bgp_notification_message' for linkage purposes by this typedef declaration } bgp_notification_message; ^ ./header/BgpLayer.h:628:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_route_refresh_message ./header/BgpLayer.h:628:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:636:5: note: type is given name 'bgp_route_refresh_message' for linkage purposes by this typedef declaration } bgp_route_refresh_message; ^ 3 warnings generated. In file included from src/IPv4Layer.cpp:8: ./header/IcmpLayer.h:130:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_echo_hdr ./header/IcmpLayer.h:130:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:138:4: note: type is given name 'icmp_echo_hdr' for linkage purposes by this typedef declaration } icmp_echo_hdr; ^ ./header/IcmpLayer.h:169:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_timestamp_request ./header/IcmpLayer.h:169:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:181:4: note: type is given name 'icmp_timestamp_request' for linkage purposes by this typedef declaration } icmp_timestamp_request; ^ ./header/IcmpLayer.h:197:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_destination_unreachable ./header/IcmpLayer.h:197:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:203:4: note: type is given name 'icmp_destination_unreachable' for linkage purposes by this typedef declaration } icmp_destination_unreachable; ^ ./header/IcmpLayer.h:212:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_time_exceeded ./header/IcmpLayer.h:212:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:216:4: note: type is given name 'icmp_time_exceeded' for linkage purposes by this typedef declaration } icmp_time_exceeded; ^ ./header/IcmpLayer.h:232:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_param_problem ./header/IcmpLayer.h:232:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:240:4: note: type is given name 'icmp_param_problem' for linkage purposes by this typedef declaration } icmp_param_problem; ^ ./header/IcmpLayer.h:255:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_redirect ./header/IcmpLayer.h:255:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:259:4: note: type is given name 'icmp_redirect' for linkage purposes by this typedef declaration } icmp_redirect; ^ ./header/IcmpLayer.h:297:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_router_advertisement_hdr ./header/IcmpLayer.h:297:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:306:4: note: type is given name 'icmp_router_advertisement_hdr' for linkage purposes by this typedef declaration } icmp_router_advertisement_hdr; ^ ./header/IcmpLayer.h:334:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_address_mask_request ./header/IcmpLayer.h:334:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:342:4: note: type is given name 'icmp_address_mask_request' for linkage purposes by this typedef declaration } icmp_address_mask_request; ^ ./header/IcmpLayer.h:358:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_info_request ./header/IcmpLayer.h:358:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:364:4: note: type is given name 'icmp_info_request' for linkage purposes by this typedef declaration } icmp_info_request; ^ 9 warnings generated. In file included from src/PacketUtils.cpp:7: ./header/IcmpLayer.h:130:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_echo_hdr ./header/IcmpLayer.h:130:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:138:4: note: type is given name 'icmp_echo_hdr' for linkage purposes by this typedef declaration } icmp_echo_hdr; ^ ./header/IcmpLayer.h:169:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_timestamp_request ./header/IcmpLayer.h:169:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:181:4: note: type is given name 'icmp_timestamp_request' for linkage purposes by this typedef declaration } icmp_timestamp_request; ^ ./header/IcmpLayer.h:197:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_destination_unreachable ./header/IcmpLayer.h:197:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:203:4: note: type is given name 'icmp_destination_unreachable' for linkage purposes by this typedef declaration } icmp_destination_unreachable; ^ ./header/IcmpLayer.h:212:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_time_exceeded ./header/IcmpLayer.h:212:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:216:4: note: type is given name 'icmp_time_exceeded' for linkage purposes by this typedef declaration } icmp_time_exceeded; ^ ./header/IcmpLayer.h:232:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_param_problem ./header/IcmpLayer.h:232:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:240:4: note: type is given name 'icmp_param_problem' for linkage purposes by this typedef declaration } icmp_param_problem; ^ ./header/IcmpLayer.h:255:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_redirect ./header/IcmpLayer.h:255:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:259:4: note: type is given name 'icmp_redirect' for linkage purposes by this typedef declaration } icmp_redirect; ^ ./header/IcmpLayer.h:297:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_router_advertisement_hdr ./header/IcmpLayer.h:297:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:306:4: note: type is given name 'icmp_router_advertisement_hdr' for linkage purposes by this typedef declaration } icmp_router_advertisement_hdr; ^ ./header/IcmpLayer.h:334:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_address_mask_request ./header/IcmpLayer.h:334:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:342:4: note: type is given name 'icmp_address_mask_request' for linkage purposes by this typedef declaration } icmp_address_mask_request; ^ ./header/IcmpLayer.h:358:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_info_request ./header/IcmpLayer.h:358:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:364:4: note: type is given name 'icmp_info_request' for linkage purposes by this typedef declaration } icmp_info_request; ^ 9 warnings generated. In file included from src/IcmpLayer.cpp:3: ./header/IcmpLayer.h:130:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_echo_hdr ./header/IcmpLayer.h:130:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:138:4: note: type is given name 'icmp_echo_hdr' for linkage purposes by this typedef declaration } icmp_echo_hdr; ^ ./header/IcmpLayer.h:169:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_timestamp_request ./header/IcmpLayer.h:169:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:181:4: note: type is given name 'icmp_timestamp_request' for linkage purposes by this typedef declaration } icmp_timestamp_request; ^ ./header/IcmpLayer.h:197:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_destination_unreachable ./header/IcmpLayer.h:197:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:203:4: note: type is given name 'icmp_destination_unreachable' for linkage purposes by this typedef declaration } icmp_destination_unreachable; ^ ./header/IcmpLayer.h:212:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_time_exceeded ./header/IcmpLayer.h:212:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:216:4: note: type is given name 'icmp_time_exceeded' for linkage purposes by this typedef declaration } icmp_time_exceeded; ^ ./header/IcmpLayer.h:232:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_param_problem ./header/IcmpLayer.h:232:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:240:4: note: type is given name 'icmp_param_problem' for linkage purposes by this typedef declaration } icmp_param_problem; ^ ./header/IcmpLayer.h:255:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_redirect ./header/IcmpLayer.h:255:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:259:4: note: type is given name 'icmp_redirect' for linkage purposes by this typedef declaration } icmp_redirect; ^ ./header/IcmpLayer.h:297:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_router_advertisement_hdr ./header/IcmpLayer.h:297:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:306:4: note: type is given name 'icmp_router_advertisement_hdr' for linkage purposes by this typedef declaration } icmp_router_advertisement_hdr; ^ ./header/IcmpLayer.h:334:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_address_mask_request ./header/IcmpLayer.h:334:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:342:4: note: type is given name 'icmp_address_mask_request' for linkage purposes by this typedef declaration } icmp_address_mask_request; ^ ./header/IcmpLayer.h:358:16: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : icmphdr ^ icmp_info_request ./header/IcmpLayer.h:358:19: note: type is not C-compatible due to this base class typedef struct : icmphdr ^~~~~~~ ./header/IcmpLayer.h:364:4: note: type is given name 'icmp_info_request' for linkage purposes by this typedef declaration } icmp_info_request; ^ 9 warnings generated. In file included from src/TcpLayer.cpp:11: ./header/BgpLayer.h:147:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_open_message ./header/BgpLayer.h:147:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:159:5: note: type is given name 'bgp_open_message' for linkage purposes by this typedef declaration } bgp_open_message; ^ ./header/BgpLayer.h:474:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_notification_message ./header/BgpLayer.h:474:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:480:5: note: type is given name 'bgp_notification_message' for linkage purposes by this typedef declaration } bgp_notification_message; ^ ./header/BgpLayer.h:628:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct : bgp_common_header ^ bgp_route_refresh_message ./header/BgpLayer.h:628:20: note: type is not C-compatible due to this base class typedef struct : bgp_common_header ^~~~~~~~~~~~~~~~~ ./header/BgpLayer.h:636:5: note: type is given name 'bgp_route_refresh_message' for linkage purposes by this typedef declaration } bgp_route_refresh_message; ^ 3 warnings generated. ar: creating Lib/libPacket++.a ar: creating Lib/libPcap++.a pcapplusplus/21.05: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior