So, I have been hunting warnings these lasts days, and I can now compile
the trunk on RedHat 5.5 without seeing any warnings - and even a bit
more than the default agent. I hope that others now will try to keep
this the rule more than the exception!
My configuration is:
../net-snmp-svn/trunk/net-snmp/configure \
--enable-new-features \
--enable-mfd-rewrites \
--enable-ipv6 \
--with-mib-modules="ucd-snmp/lmSensors ucd-snmp/diskio sctp-mib \
ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
tsm-mib tlstm-mib snmp-usm-dh-objects-mib" \
--with-transports="Callback Alias IPX DTLSUDP TLSTCP" \
--with-security-modules="tsm" \
--with-mysql \
--with-defaults \
--enable-developer \
--with-cflags="-Wchar-subscripts -Wno-strict-aliasing" \
--enable-silent-libtool
which is very much all modules. I am a bit surprised that the ip-mib
interface tables seems to be required to be named specially to be
included.
I am not going to work at the strict-aliasing thing now, I am going
to look into BSD compilation that seems to be badly broken now :-(
If anybody else have done anything there I would like to know. The
amount of patches that they have in their respective ports/pkgsrc
collections is worrisome ...
/Niels
--
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers --- R W Hamming
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders