All seems to be working oke, but FYI Peter.
Cheers,
André
Description: Red Hat Enterprise Linux 9.4 (Plow)
5.14.0-427.18.1.el9_4.x86_64 phaag/nfsen#1 SMP PREEMPT_DYNAMIC
nfdump/.libs/lt-nfdump: Version: 1.7.4-ce52547 Options: ZSTD BZIP2 Date: 2024-06-24 07:40:09 +0200
./configure --enable-nftrack --enable-nfprofile --enable-sflow --enable-readpcap
make
.....
output_csv.c: In function ‘String_flowId’:
output_csv.c:2054:27: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
2054
nfstat.c: In function ‘PrintJsonStatLine’:
nfstat.c:1234:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 10 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1234
nfstat.c:1234:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 11 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1234
nfstat.c:1234:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 12 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1234
nfstat.c:1234:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 13 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1234
nfstat.c:1234:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 14 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1234
nfstat.c:1240:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1240
nfstat.c:1240:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 10 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1240
nfstat.c:1240:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 11 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1240
nfstat.c:1240:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 12 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1240
nfstat.c:1240:13: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 13 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
1240
All seems to be working oke, but FYI Peter. Cheers, André
Description: Red Hat Enterprise Linux 9.4 (Plow) 5.14.0-427.18.1.el9_4.x86_64 phaag/nfsen#1 SMP PREEMPT_DYNAMIC nfdump/.libs/lt-nfdump: Version: 1.7.4-ce52547 Options: ZSTD BZIP2 Date: 2024-06-24 07:40:09 +0200
~^ ~~~~~~~~~echo output_fmt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\~^~~~~~~~echo output_json.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\~^ ~~~~echo output_raw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\~^~~~~~~rm -f liboutput.a ar cru liboutput.a output.o output_util.o output_csv.o output_fmt.o output_json.o output_raw.o
~~~~~~~~~~~~~~~~~~~~~~ ...... 1237~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1237~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1237~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1237~~~~~~~~~~~~~~~~~~~~~~ ...... 1237~~~~~~~~~~~~~~~~~...... 1243~~~~~~~~~~~~~~~~~~~~...... 1243~~~~~~~~~~~~~~~~~~~~~~...... 1243~~~~~~~~~~~~~~~~~~~~...... 1243~~~~~~~~~~~~~~~~~...... 1243nfstat.c:1101:10: warning: variable ‘tag_string’ set but not used [-Wunused-but-set-variable] 1101 | char tag_string[2] = {'\0', '\0'}; | ^
~~~~~ depbase=echo nflowcache.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -Icompat_1_6_x -I../include -I../libnffile -I../libnfdump -I../output -I../tor -I../netflow -I../collector -I../inline -g -O3 -std=gnu17 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -pthread -MT nflowcache.o -MD -MP -MF $depbase.Tpo -c -o nflowcache.o nflowcache.c &&\ mv -f $depbase.Tpo $depbase.Po nflowcache.c: In function ‘AddFlowCache’: nflowcache.c:876:13: warning: array subscript ‘int128 unsigned[1]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 876 | memcpy((void )keyptr->dstAddr, (void )ipv6Flow->dstAddr, 16); | ^~~~~~~~~~~~~~ nflowcache.c:1475:17: note: while referencing ‘hashValue’ 1475 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:877:29: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 877 | keyptr->srcPort = genericFlow->srcPort; |~~~~^~~~~~ nflowcache.c:1475:17: note: while referencing ‘hashValue’ 1475 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:878:29: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 878 | keyptr->dstPort = genericFlow->dstPort; |~~~~^~~~~~ nflowcache.c:1475:17: note: while referencing ‘hashValue’ 1475 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:879:27: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 879 | keyptr->proto = genericFlow->proto; |~~~~^~~~~~ nflowcache.c:1475:17: note: while referencing ‘hashValue’ 1475 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:880:24: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 880 | keyptr->af = AF_INET6; | ^ nflowcache.c:1475:17: note: while referencing ‘hashValue’ 1475 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:876:13: warning: array subscript ‘int128 unsigned[1]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 876 | memcpy((void )keyptr->dstAddr, (void )ipv6Flow->dstAddr, 16); | ^~~~~~~~~~~~~~ nflowcache.c:1321:17: note: while referencing ‘hashValue’ 1321 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:877:29: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 877 | keyptr->srcPort = genericFlow->srcPort; |~~~~^~~~~~ nflowcache.c:1321:17: note: while referencing ‘hashValue’ 1321 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:878:29: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 878 | keyptr->dstPort = genericFlow->dstPort; |~~~~^~~~~~ nflowcache.c:1321:17: note: while referencing ‘hashValue’ 1321 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:879:27: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 879 | keyptr->proto = genericFlow->proto; |~~~~^~~~~~ nflowcache.c:1321:17: note: while referencing ‘hashValue’ 1321 | hashValue_t hashValue = {0}; | ^~~~~ nflowcache.c:880:24: warning: array subscript ‘FlowKeyV6_t {aka struct FlowKeyV6_s}[0]’ is partly outside array bounds of ‘hashValue_t[1]’ {aka ‘struct hashValue_s[1]’} [-Warray-bounds] 880 | keyptr->af = AF_INET6; | ^ nflowcache.c:1321:17: note: while referencing ‘hashValue’ 1321 | hashValue_t hashValue = {0}; | ^~~~~ depbase=echo nfprof.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\