Comments (5)
This is not an 1.7.4 issue, as that code did not change. It looks like you add your own build flags which add lots of other compiler options along with -Werror=format-security
. This makes the potential warning of ‘const char **’ but argument is of type ‘char **’ to an error. You could leave that option out or reduce it to -Wformat-security
.
from nfdump.
What rrdtool version have you installed?
from nfdump.
Fedora features rrdtool 1.8.0. But it can be built fine.
The issue, as you have mentioned, is in the build option(s) — and unfortunately I can't opt them out as a hardening requirement in the distro (probably, other distros will have the same issue).
from nfdump.
hmm .. but the released rrdtool-1.8.0 does not have the const char **)
arguments. This was a change introduced in Dec 2023: oetiker/rrdtool-1.x#1242. This means Fedora uses the master repo for its package. But it also means that this breaks compatibility with the release version.
As long as there is no new release of rrdtool, I do not want to change the code, as this would break all other Linux distros, or *BSDs.
Therefore, you could patch nfdump-1.7.4 and add the const
keyword to the rrd_arg array in nftrack_rrd.c as well as in profile.c
from nfdump.
I can confirm, it is a rather early change introduced as a patch to fix GCC14 compat in rrdtool: link.
I'll probably apply the same in devel branches, thanks for the hint.
from nfdump.
Related Issues (20)
- Can't find ftlib.h durning configure ft2nfdump HOT 2
- RAM consumption HOT 2
- NEL Port Block Allocation / Deallocation Events HOT 1
- Is it possible to know if a flow contained fragmented traffic? HOT 6
- nfdump current (1.7.3) has a bug exporting NSEL (cisco ASA) fw events HOT 3
- when daemonizing, requesting to set uid and gid to some user AND writing PIDfile -> permission denied encountered HOT 4
- feature: it will be very cool if nfcapd switch '-n' allow specifying port to listen to. not globally single '-p' but per-configured exporter HOT 3
- sfcapd -T Extensions 1.6.x missing in 1.7.x HOT 2
- nfprofile: Skip unknown record type 13 (after upgrrading from 1.6.20 to 1.7.3) HOT 8
- Sfcapd not processing netflow... HOT 2
- Include dependencies? HOT 4
- sfcapd not working properly after last commits HOT 4
- nfdump: Skip unknown record type 9 HOT 6
- Troubleshooting NetFlow Data Collection and Router Address Display HOT 4
- Support for NetFlow version 10 HOT 2
- Decreased nfdump performance after upgrading from 1.6.17 HOT 2
- sfcapd not acknowledging -W <Worker> HOT 3
- IPFIX (V10) support for dot1q VLAN IDs HOT 23
- Typo in IPFIX fields HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfdump.