I tried to compile all the 440 mib modules as follows:
( find . -name '*.h' | \
sed -e 's;./\(.*\)\.h;\1;' | \
while read target ; do
echo === $target === | tee /dev/tty ; \
( rm -rf /tmp/foo ; \
mkdir /tmp/foo ; \
cd /tmp/foo ; \
if /usr/local/src/net-snmp/clean/configure --with-defaults \
--prefix=/tmp/foo/dist --disable-deprecated \
--with-out-mib-modules=default_modules \
--with-mib-modules=$target && make ; then \
echo === $target OK === ; \
else \
echo === $target FAIL === | tee /dev/tty ; \
fi ) ; \
done ; \
rm -rf /tmp/foo ) > /tmp/logfile 2>&1
Was this worthwile?
182 modules (of 440) failed to compile on x86_64 linux.
A. Some was quite unsurprising like winDLL, *_aix4 and so on, but
in many cases the error messages could have been better.
B. It seems MFD doesn't set up interdependencies between the files
that make up the module, it is debatable if this is a bug or
not.
C. Some files have unspecified dependencies e.g. tunnel/tunnel
depends on var_ifEntry from mibII/interfaces.
D. mibincl and host_res depends on SocketBase. This seems to be a
clash between the socket module and the mib module namespaces.
E. tcp-mib/tcpConnTable require nonexisting modules under
tcp-mib/tcpConnTable but there is no such directory.
The C errors are complicated by the fact that in some cases it is
unclear what to depend on when there are multiple version and
architecture dependent files that implements the missing interface.
ucd-snmp/lmSensors is a prime example of this.
/MF
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders