On Fri, 26 Dec 2025 at 10:23, Wes Hardaker <[email protected]> wrote:
> Bart Van Assche via Net-snmp-coders > <[email protected]> writes: > > > One possible solution is to modify net-snmp-config such that all -W > > flags are filtered out. There may be better solutions. > > IMHO, the --enable-developer was created for adding options like this > and they should never be on anywhere in default builds. We should > remove all warning flags everywhere by default (IMHO, but that's the > point of a discussion: I could be alone in my thinking). > The net-snmp-config has had minor but long-lasting issues for years. It's one of those things I (as the Debian maintainer) keep coming back and then do nothing. Check out --agent-libs, for example: -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lsensors -lpci -lm -lnetsnmpagent -lwrap -Wl,-E -lnetsnmp -lm -lssl -lssl -lssl -lssl -lcrypto That could be boiled down to -lnetsnmpmibs -lnetsnmpagent -lnetsnmp, which is what "pkg-config --libs netsnmp-agent" gives. No idea why it's got four libssl's I'm also not sure why net-snmp-config gives you one answer and pkg-config gives you a different answer. The standard way most people do is use pkg-config, but perhaps there's reasons for using the other way? - Craig BTW, 5.9.5.2 has been uploaded for Debian Sid. A patched 5.9.4 is uploaded but not available yet for Trixie, it's just gurgling through the release process.
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
