alam linux 9 make error
Why is the version after CentOS 7 not supported?
[root@localhost nfdump-1.6.13]# cat /etc/redhat-release AlmaLinux release 9.4 (Seafoam Ocelot)
gcc -ggdb -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -fno-strict-aliasing -o nfreplay nfreplay.o nf_common.o util.o minilzo.o nffile.o nfx.o nfxstat.o flist.o fts_compat.o grammar.o scanner.o nftree.o ipconv.o nfprof.o nfnet.o collector.o netflow_v1.o netflow_v9.o netflow_v5_v7.o ipfix.o exporter.o -lresolv /usr/bin/ld: exporter.o:/home/nfsen/nfdump-1.6.13/bin/exporter.c:78: multiple definition of `exporter_list'; nfreplay.o:/home/nfsen/nfdump-1.6.13/bin/nfreplay.c:109: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:880: nfreplay] Error 1 make[3]: Leaving directory '/home/nfsen/nfdump-1.6.13/bin' make[2]: *** [Makefile:762: all] Error 2 make[2]: Leaving directory '/home/nfsen/nfdump-1.6.13/bin' make[1]: *** [Makefile:353: all-recursive] Error 1 make[1]: Leaving directory '/home/nfsen/nfdump-1.6.13' make: *** [Makefile:293: all] Error 2
Are you really using nfdump-1.6.13? 🤔 That’s a 10 years old release! I wouldn’t be surprised, if it no longer compiles on Alma Linux … give the latest repo a change ..