DEBUG: Executing shell function do_compile
NOTE: make -j 11 libs
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Common++'
==== Building target: Common++ ====
Building file: src/GeneralUtils.cpp
Building file: src/IpAddress.cpp
Building file: src/IpUtils.cpp
Building file: src/Logger.cpp
Building file: src/MacAddress.cpp
Building file: src/PcapPlusPlusVersion.cpp
Building file: src/SystemUtils.cpp
Building file: src/TablePrinter.cpp
riscv32-yoe-linux-llvm-arriscv32-yoe-linux-llvm-ar: : warning: warning: creating creating Lib/Debug/libCommon++.aLib/Release/libCommon++.a

Finished successfully building: Common++.lib
Finished successfully building: Common++.debug
 
 
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Common++'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Packet++'
==== Building target: Packet++ ====
Building file: src/ArpLayer.cpp
Building file: src/BgpLayer.cpp
Building file: src/DhcpLayer.cpp
Building file: src/DhcpV6Layer.cpp
Building file: src/DnsLayer.cpp
Building file: src/DnsResource.cpp
Building file: src/DnsResourceData.cpp
Building file: src/EthDot3Layer.cpp
Building file: src/EthLayer.cpp
Building file: src/GreLayer.cpp
Building file: src/GtpLayer.cpp
Building file: src/HttpLayer.cpp
In file included from src/BgpLayer.cpp:5:
./header/BgpLayer.h:148: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 : bgp_common_header
                      ^
                       bgp_open_message
./header/BgpLayer.h:148:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:160:4: note: type is given name 'bgp_open_message' for linkage purposes by this typedef declaration
        } bgp_open_message;
          ^
./header/BgpLayer.h:475: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 : bgp_common_header
                      ^
                       bgp_notification_message
./header/BgpLayer.h:475:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:481:4: note: type is given name 'bgp_notification_message' for linkage purposes by this typedef declaration
        } bgp_notification_message;
          ^
./header/BgpLayer.h:629: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 : bgp_common_header
                      ^
                       bgp_route_refresh_message
./header/BgpLayer.h:629:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:637:4: note: type is given name 'bgp_route_refresh_message' for linkage purposes by this typedef declaration
        } bgp_route_refresh_message;
          ^
Building file: src/IcmpLayer.cpp
Building file: src/IgmpLayer.cpp
Building file: src/IPReassembly.cpp
Building file: src/IPSecLayer.cpp
Building file: src/IPv4Layer.cpp
Building file: src/IPv6Extensions.cpp
Building file: src/IPv6Layer.cpp
3 warnings generated.
Building file: src/Layer.cpp
Building file: src/MplsLayer.cpp
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;
          ^
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;
          ^
Building file: src/NullLoopbackLayer.cpp
9 warnings generated.
Building file: src/Packet.cpp
Building file: src/PacketTrailerLayer.cpp
Building file: src/PacketUtils.cpp
Building file: src/PayloadLayer.cpp
Building file: src/PPPoELayer.cpp
Building file: src/RadiusLayer.cpp
Building file: src/RawPacket.cpp
9 warnings generated.
Building file: src/SdpLayer.cpp
Building file: src/SipLayer.cpp
Building file: src/SllLayer.cpp
Building file: src/SSHLayer.cpp
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;
          ^
Building file: src/SSLCommon.cpp
Building file: src/SSLHandshake.cpp
Building file: src/SSLLayer.cpp
9 warnings generated.
Building file: src/TcpLayer.cpp
Building file: src/TcpReassembly.cpp
Building file: src/TextBasedProtocol.cpp
Building file: src/TLVData.cpp
Building file: src/UdpLayer.cpp
Building file: src/VlanLayer.cpp
Building file: src/VxlanLayer.cpp
In file included from src/TcpLayer.cpp:11:
./header/BgpLayer.h:148: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 : bgp_common_header
                      ^
                       bgp_open_message
./header/BgpLayer.h:148:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:160:4: note: type is given name 'bgp_open_message' for linkage purposes by this typedef declaration
        } bgp_open_message;
          ^
./header/BgpLayer.h:475: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 : bgp_common_header
                      ^
                       bgp_notification_message
./header/BgpLayer.h:475:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:481:4: note: type is given name 'bgp_notification_message' for linkage purposes by this typedef declaration
        } bgp_notification_message;
          ^
./header/BgpLayer.h:629: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 : bgp_common_header
                      ^
                       bgp_route_refresh_message
./header/BgpLayer.h:629:19: note: type is not C-compatible due to this base class
        typedef struct : bgp_common_header
                         ^~~~~~~~~~~~~~~~~
./header/BgpLayer.h:637:4: note: type is given name 'bgp_route_refresh_message' for linkage purposes by this typedef declaration
        } bgp_route_refresh_message;
          ^
3 warnings generated.
make[2]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/3rdParty/hash-library'
Building file: md5.cpp
make[2]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/3rdParty/hash-library'
riscv32-yoe-linux-llvm-ar: warning: creating Lib/libPacket++.a
Finished successfully building: Packet++
 
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Packet++'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Pcap++'
==== Building target: Pcap++ ====
Building file: src/DpdkDevice.cpp
Building file: src/DpdkDeviceList.cpp
Building file: src/KniDevice.cpp
Building file: src/KniDeviceList.cpp
Building file: src/LinuxNicInformationSocket.cpp
Building file: src/MBufRawPacket.cpp
Building file: src/NetworkUtils.cpp
Building file: src/PcapDevice.cpp
Building file: src/PcapFileDevice.cpp
Building file: src/PcapFilter.cpp
Building file: src/PcapLiveDevice.cpp
Building file: src/PcapLiveDeviceList.cpp
Building file: src/PcapRemoteDevice.cpp
Building file: src/PcapRemoteDeviceList.cpp
Building file: src/PfRingDevice.cpp
Building file: src/PfRingDeviceList.cpp
Building file: src/RawSocketDevice.cpp
Building file: src/WinPcapLiveDevice.cpp
src/NetworkUtils.cpp:172:4: error: non-constant-expression cannot be narrowed from type '__suseconds_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
                        now.tv_usec
                        ^~~~~~~~~~~
src/NetworkUtils.cpp:172:4: note: insert an explicit cast to silence this issue
                        now.tv_usec
                        ^~~~~~~~~~~
                        static_cast<long>( )
src/NetworkUtils.cpp:439:4: error: non-constant-expression cannot be narrowed from type '__suseconds_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
                        now.tv_usec
                        ^~~~~~~~~~~
src/NetworkUtils.cpp:439:4: note: insert an explicit cast to silence this issue
                        now.tv_usec
                        ^~~~~~~~~~~
                        static_cast<long>( )
2 errors generated.
make[1]: *** [Makefile:83: Obj/NetworkUtils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/PcapFileDevice.cpp:191:36: error: non-constant-expression cannot be narrowed from type '__suseconds_t' (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
        timespec ts = { pkthdr.ts.tv_sec, pkthdr.ts.tv_usec }; //because we opened with nano second precision 'tv_usec' is actually nanos
                                          ^~~~~~~~~~~~~~~~~
src/PcapFileDevice.cpp:191:36: note: insert an explicit cast to silence this issue
        timespec ts = { pkthdr.ts.tv_sec, pkthdr.ts.tv_usec }; //because we opened with nano second precision 'tv_usec' is actually nanos
                                          ^~~~~~~~~~~~~~~~~
                                          static_cast<long>( )
1 error generated.
make[1]: *** [Makefile:83: Obj/PcapFileDevice.o] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/git/Pcap++'
make: *** [Makefile:93: libs] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059:172 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059, line 172
	#2: die, TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059, line 156
	#3: oe_runmake, TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059, line 151
	#4: do_compile, TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059, line 146
	#5: main, TOPDIR/build/tmp/work/riscv32-yoe-linux/pcapplusplus/21.11-r0/temp/run.do_compile.1445059, line 185

Error details

Submitted on:
19/02/22 09:37
Error type:
Recipe
Task:
do_compile
Recipe:
pcapplusplus
Recipe version:
21.11-r0
Machine:
qemuriscv32
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv32-yoe-linux
Host distro:
universal/arch
Branch:
yoe/mut
Commit:
c670aaeedb3c9ffbbd4fd670622a71381a51dba9
Build:
#140680
Submitter:
raj.khem@gmail.com
Similar errors:
1
Open a bug