Hi All,
i am using the net-snmp5.4 package . i am getting some compilaton
errors . can you please help me ..
mips-linux-uclibc-gcc -I../include -I. -I../agent -I../agent/mibgroup
-I../snmplib -g -O2 -Uelf -Delf=elf -c mibgroup/mibII/sysORTable.c -o
mibgroup/mibII/sysORTable.o
/bin/sh ../libtool --mode=compile mips-linux-uclibc-gcc -I../include -I.
-I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Uelf -Delf=elf -c -o
mibgroup/mibII/at.lo mibgroup/mibII/at.c
mips-linux-uclibc-gcc -I../include -I. -I../agent -I../agent/mibgroup
-I../snmplib -g -O2 -Uelf -Delf=elf -c mibgroup/mibII/at.c -o
mibgroup/mibII/at.o
mibgroup/mibII/at.c: In function `ARP_Scan_Next':
mibgroup/mibII/at.c:727: error: `ifIndex' undeclared (first use in this
function)
mibgroup/mibII/at.c:727: error: (Each undeclared identifier is reported only
once
mibgroup/mibII/at.c:727: error: for each function it appears in.)
make[4]: *** [mibgroup/mibII/at.lo] Error 1
the configure options i am using is :
./configure cross_compiling=yes \
--target=mipsisa32 \
--host=mipsisa32 \
--build=i386-redhat-linux-gnu \
--with-cc=mips-linux-uclibc-gcc \
--with-linkcc=mips-linux-uclibc-gcc \
--with-endianness=big \
--with-ldflags="-lpthread" \
--enable-mini-agent \
--disable-mib-loading \
--without-openssl \
--without-kmem-usage \
--with-mib-modules="ucd-snmp/dlmod
ucd-snmp/pass mibII" \
--with-ld=mips-linux-uclibc-ld \
--disable-manuals \
--disable-des \
--disable-privacy \
--disable-md5 \
--disable-perl \
--without-perl-modules \
--disable-scripts \
--with-default-snmp-version="2" \
--disable-embedded-perl \
--disable-perl-cc-checks \
--disable-ipv6 \
--with-ar=mips-linux-uclibc-ar \
--with-out-security-modules="ksm" \
Thanks
Amit
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders