On Fri, May 28, 2010 at 5:47 PM, Leonardo Chiquitto <
[email protected]> wrote:

> On Fri, May 28, 2010 at 12:33 PM, Bart Van Assche <[email protected]>
> wrote:
> > On Fri, May 28, 2010 at 3:30 PM, Leonardo Chiquitto
> > <[email protected]> wrote:
> >>
> >> Some weeks ago, our build checks started to complain about "portability
> >> issues"
> >> when building net-snmp from trunk:
> >>
> >>  E: net-snmp 64bit-portability-issue host/hr_swinst.c:573, 574, 679, 681
> >
> > Which arguments do you pass to the configure script ?
>
> Taken from config.log.bz2 (attached to the first message):
>
> ./configure --host=x86_64-unknown-linux-gnu
>  --build=x86_64-unknown-linux-gnu
>  --program-prefix=
>  --prefix=/usr
>  --exec-prefix=/usr
>  --bindir=/usr/bin
>  --sbindir=/usr/sbin
>  --sysconfdir=/etc
>  --datadir=/usr/share
>  --includedir=/usr/include
>  --libdir=/usr/lib64
>  --libexecdir=/usr/lib
>  --localstatedir=/var
>  --sharedstatedir=/usr/com
>  --mandir=/usr/share/man
>  --infodir=/usr/share/info
>  --with-sys-contact=r...@localhost
>  --with-mib-modules=misc/ipfwacc
>         ucd-snmp/diskio
>         etherlike-mib rmon-mib  velocity
>        smux
>    ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable
>     ip-mib/ipDefaultRouterTable ip-mib/ipAddressPrefixTable
>         ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable
>  --with-persistent-directory=/var/lib/net-snmp
>  --with-agentx-socket=/var/run/agentx/master
>  --with-sys-location=unknown
>  --with-logfile=/var/log/net-snmpd.log
>  --with-libwrap=/usr --with-defaults
>  --enable-shared
>  --disable-static
>  --enable-as-needed
>  --without-root-access
>  --enable-local-smux
>  --enable-ipv6
>  --enable-ucd-snmp-compatibility
>

Can you reproduce this issue with an unmodified tree ? The above configure
command refers to a MIB called "velocity", which is not present on the
trunk. And the above configure command causes host/hr_swinst to be excluded
from compilation: host/data_access/swinst.h contains the line
"config_exclude(host/hr_swinst)".

Bart.
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to