‘ifIndex’ undeclared

Brilliantov Kirill Vladimirovich <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization LLC Byterg
Message-ID <[email protected]>
Hello!
I try cross-compile net-snmp 5.6 for my board with ARM-proccessor.
My configure options:
./configure --prefix=/tmp/net-snmp --host=arm --disable-manuals
--disable-embedded-perl --enable-ipv6=no  --with-cc=arm_v5t_le-gcc
--with-sys-contact="[email protected]" --with-sys-location="ip-camera"
--with-default-snmp-version="2" --with-logfile="/var/log/snmpd.log"
--with-persistent-directory="/var/net-snmp"

I have successfully configured, in config.log two warnings:
$ grep WARNING config.log
configure:8234: WARNING: using cross tools not prefixed with host triplet
configure:49413: WARNING: Can't check sysctl, manually define
NETSNMP_CAN_USE_SYSCTL if platform support available

I get this error when run make:
/bin/sh ../../libtool  --mode=compile arm_v5t_le-gcc -I../../include -I.
-I../../agent -I../../agent/mibgroup -I../../snmplib   -g -O2 -Unone
-Dnone=none  -c -o mibII/at.lo mibII/at.c
libtool: compile:  arm_v5t_le-gcc -I../../include -I. -I../../agent
-I../../agent/mibgroup -I../../snmplib -g -O2 -Unone -Dnone=none -c
mibII/at.c -o mibII/at.o
mibII/at.c: In function ‘ARP_Scan_Next’:
mibII/at.c:733: error: ‘ifIndex’ undeclared (first use in this function)
mibII/at.c:733: error: (Each undeclared identifier is reported only once
mibII/at.c:733: error: for each function it appears in.)
make[2]: *** [mibII/at.lo] Error 1

How can I solve it?

Thank you and excuse me for my bad english.

-- 
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru    http://www.bestdvr.ru

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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.