On Mon, 2008-06-16 at 15:40 +0530, Srikanth Eswaran wrote: > amit > > please define ARP_SCAN_FOUR_ARGUMENTS (by using a -D flag) anywhere in > your makefiles, either top level or at the level where at.c is there.)
Please don't! ARP_SCAN_FOUR_ARGUMENTS is defined by the system configuration file and the problem here is that an incomplete system specifier is given so the correct configuration file isn't found. the correct solution is to give the full system specifier, something like --target=mips-unknown-linux Currently you are telling configure to create code for mips-unknown-elf which is your target chip without an operating system and as you seem to have an operating system that is improper and. /MF > srikanth > > On Mon, Jun 16, 2008 at 3:37 PM, Amit Kumar <[EMAIL PROTECTED]> > wrote: > 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 > > > > -- > --------------------------------------- > Have you visited my site yet? > http://www.chowchowbath.com > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
