Compilation error

"Rabindra Paikaray" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

I am new to this group and started using net-snmp recently .
I am configuring it for a cross-compiler , but while running make
I am getting an error like :

mibII/at.c: In function `ARP_Scan_Next':
mibII/at.c:729: error: `ifIndex' undeclared (first use in this function)
mibII/at.c:729: error: (Each undeclared identifier is reported only once
mibII/at.c:729: error: for each function it appears in.)
make[2]: *** [mibII/at.lo] Error 1
make[2]: Leaving directory
`/tmp/snmp/snmp.exp/net-snmp-5.4.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/snmp/snmp.exp/net-snmp-5.4.1/agent'
make: *** [subdirs] Error 1


my configuration option is like
./configure  --quiet --prefix=/tmp/snmp
--sbindir=/home/dlink/DIR-300/dir300_v1.03/rootfs/sbin/ --host=mipsel
--with-cc=mips-linux-gcc --with-ar=mips-linux-ar --with-endianness=big
--with-cflags="-Os -mtune=mips32 -mips32 -pipe  -DCAN_USE_SYSCTL=1 -Dlinux"
--disable-debugging --disable-privacy--without-opaque-special-types
--with-persistent-directory=/tmp/snmp-persist --with-default-snmp-version=3
--with-sys-contact=root --with-sys-location=Unknown --with-logfile=/dev/null
--with-out-transports=UDPIPv6,TCPIPv6,AAL5PVC,IPX,TCP,Unix
--enable-mfd-rewrites --enable-shared=no --enable-static --with-gnu-ld
--enable-internal-md5 --with-copy-persistent-files=no --without-openssl
-sysconfdir=/tmp
--with-mib-modules=mibII,host,mibII/ip,mibII/tcp,mibII/udp,mibII/icmp,mibII/var_route,mibII/kernel_linux,ucd_snmp,notification,target,disman/event
--with-out-mib-modules=snmpv3mibs,agent_mips,agentx,utilities --disable-ipv6
--with-defaults --without-efence--without-rsaref --without-kmem-usage
--without-rpm --without-dmalloc


Any idea why I am getting like this error

Any help will be highly appreciated.

Thanks in advance
Rabindra

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.