RE: Compilation error

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC08A1A907@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Rabindra Paikaray

> 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)

	This is weird - you seem to be building the address translation table, but not the inerfaces table.  That just won't work.

> 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,mib
II/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

	Can someone help with this, please?  I can't remember how to get the listing of all possible mib modules.  Also, why doen't including "mibII" include all mib2 modules?


	Thanks,

Mike

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