Does disman require IPv6?

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm trying to add DISMAN MIB support to an existing configuration,
cross-compiling Net-SNMP v5.2.2 from Intel Linux to ARM Linux.  I
configure like this:

export CROSS_COMPILE=arm-linux
ac_cv_CAN_USE_SYSCTL=no \
export CFLAG=-I/opt/denx/arm/usr/include/linux
./configure --prefix=/usr \
            --target=arm-linux \
            --host=arm-linux \
            --build=i386-pc-linux \
            --with-openssl=/usr/local/ssl/bin \
            --with-endianness=little \
            --with-cc=arm-linux-gcc \
            --with-ar=arm-linux-ar \
            --with-install-prefix=/IPm \
            --with-cflags="-O2" \
            --enable-applications \
            --disable-scripts \
            --disable-debugging \
            --without-kmem-usage \
            --disable-mib-loading \
            --with-out-mib-modules=examples/ucdDemoPublic \
            --with-mib-modules=disman \
            --disable-ipv6 \
            --with-sys-location="<Set location of switch>" \
            --with-sys-contact="<Set name (and e-mail) of contact for
switch>" \
            --with-logfile="/var/log/snmpd.log" \
            --with-default-snmp-version="3" \
            --with-persistent-directory="/var/net-snmp" \
            --with-persistent-mask=007

and the build complains that pingCtlTable.h can't find in6.h and ipv6.h
to include.  But I've disabled IPv6.  Does disman require ipv6?  If so,
it'd be nice if configure told me that.  Or is pingCtrTable.h not
sufficiently parameterized with #ifdef stuff to disable ipv6 when ipv6
isn't to be used?  I'll take a crack at fixing this but I'm not sure
what direction to go in.

                                         Chris

P.S. I'm also curious about this section in pingCtlTable.h:

  /* #include <linux/in6.h> */
  /* #include <linux/ipv6.h> */

  #include "in6.h"
  #include "ipv6.h"

which looks a little weird and inconsistent.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.