Hi

I am cross compiling the net-SNMP 5.2.1 source in Monta Vista Linux. 

I had configured the package by
  ./configure --host=x86 --target=ppc --with-cc=ppc-405-gcc
--with-endianness=big 
It configures the package successfully

 When I do "make" for this package it is giving the  following error.
      "Undefined variable ifIndex" first use in function ARP_Scan_Next
in at.c file.
 The code in agent/mibgroups/mibII/at.c declares the ifIndex variables
as function       argument n a #ifdef. (line no 223) .

 When I am cross compiling the same package with
[--with-out-mib-module="MibII"] configuration, I am able to do Make with
out any error.
            
1) How to fix this? Do I have to define any header file with the
particular # define statements?

 2) Is there any Net-SNMP source package available for MontaVista Linux
ppc-405 target?
    
3) Is there any other configuration option should be followed for the
ppc-405 target under MontaVista?

-Sam    


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to