On Thu, 2010-12-02 at 07:02 +0100, Niels Baggesen wrote:
> Den 02-12-2010 04:39, Robert Story skrev:
> > MF>  So the result of this is that the tunnel mib is unsupported on linux,
> > MF>  *bsd, solaris and darwin* nowadays.
> >
> > :-(
> 
> It DOES compile in my standard setup, which is CentOS and Ubuntu with (I 
> have a feeling that it uses ioctls which are Linux specific)
> 
> > ../net-snmp-src/configure \
> >     --enable-new-features \
> >     --enable-mfd-rewrites \
> >     --enable-ipv6 \
> >     --with-mib-modules="smux ucd-snmp/lmSensors ucd-snmp/diskio sctp-mib \
> >         ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
> >         disman/expression disman/nslookup-mib \
> >         etherlike-mib tunnel \
> >         tsm-mib tlstm-mib snmp-usm-dh-objects-mib" \
> >     --with-transports="Callback Alias IPX DTLSUDP TLSTCP SSH" \
> >     --with-security-modules="tsm" \
> >     --with-mysql \
> >     --with-defaults \
> >     --enable-developer \
> >     --with-cflags="-g -Wchar-subscripts" \
> >     --enable-silent-libtool

Yes, it seems you are using if-mib/ifTable/ifTable and there is an
if-def in tunnel/tunnel.c that checks that.

This one breaks:

./configure --with-defaults --with-mib-modules=tunnel \
--enable-mini-agent

when linking snmpd:

./.libs/libnetsnmpmibs.so: undefined reference to `var_ifEntry'
collect2: ld returned 1 exit status

/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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to