Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 09:59, Madhu Sudhana Rao wrote: > Sorry! I can't post companys propriety code here, because it has copyrights. > > Is there a way to compile the code with configure_require(mibII/interface) > line, by commenting other things like if-mib/ifTable? I have no idea - without seeing the

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Sorry! I can't post companys propriety code here, because it has copyrights. Is there a way to compile the code with configure_require(mibII/interface) line, by commenting other things like if-mib/ifTable? Please suggest. -Madhu. On Thu, Jul 26, 2012 at 1:49 PM, Dave Shield wrote: > On 26 July

Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 09:11, Madhu Sudhana Rao wrote: > Problem is if I comment interface line, I am getting "no such object > available at this OID" for one my properity table which is related to > ifTable. OK - please post the code for your properity table (as attachments), so that we can take a look

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Problem is if I comment interface line, I am getting "no such object available at this OID" for one my properity table which is related to ifTable. If I use my old version net-snmp 5.2.1 (which includes both if-mib/ifTable and mibII/interfaces lines), the table is printing with snmpwalk command.

Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 08:38, Madhu Sudhana Rao wrote: > I commented config_require(mibII/interfaces) and compilation done without > any issues So run with that. There's no problem - that's essentially what the 'mibII/ifTable' header does anyway Dave ---

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Hi, I commented config_require(mibII/interfaces) and compilation done without any issues, but if I comment config_require(if-mib/ifTable) and leave interfaces I am getting same errors. Are there any other places/files I need to look at? -Thanks, Madhu. On Wed, Jul 25, 2012 at 2:47 PM, Dave Shi

Re: Net-snmp compilation errors

2012-07-25 Thread Dave Shield
On 25 July 2012 09:50, Madhu Sudhana Rao wrote: > Coming to net-snmp issue: > I am using my_mibs.h file in the agent/mibgroup to configure net-snmp > modules and my project related modules, where it has both lines... > > config_require(if-mib/ifTable) > config_require(mibII/interfaces) No - that

Re: Net-snmp compilation errors

2012-07-25 Thread Madhu Sudhana Rao
Hi, My OS is Ubuntu Linux (10.10 version). Coming to net-snmp issue: I am using my_mibs.h file in the agent/mibgroup to configure net-snmp modules and my project related modules, where it has both lines... config_require(if-mib/ifTable) config_require(mibII/interfaces) I commented interfaces, n

Re: Net-snmp compilation errors

2012-07-25 Thread Dave Shield
On 25 July 2012 06:51, Madhu Sudhana Rao wrote: > I replaced my old net-snmp (5.2.1) to 5.6.1. > > With old version 5.2.1 I didn't have any issues but with new version while > compiling I am getting errors, What O/S distribution (and version) are you working with? What was the full configure comm

Net-snmp compilation errors

2012-07-24 Thread Madhu Sudhana Rao
Hi, I replaced my old net-snmp (5.2.1) to 5.6.1. With old version 5.2.1 I didn't have any issues but with new version while compiling I am getting errors, Errors related to mibII/interfaces, I pasted my net-snmp configuration summary (below)

Re: net-snmp compilation errors

2007-04-18 Thread Dave Shield
On 05/04/07, Craig E. Canevit <[EMAIL PROTECTED]> wrote: > Hope this helps! I'm trying to compile on Mac OS X 10.4.9 via Fink. > The end result was: "Failed: phase compiling: net-snmp-5.2.1-1 failed" Version 5.2.1 is relatively old, and quite a lot has changed since then. Can you perhaps t

net-snmp compilation errors

2007-04-08 Thread Craig E. Canevit
Hello! Hope this helps! I'm trying to compile on Mac OS X 10.4.9 via Fink. The end result was: "Failed: phase compiling: net-snmp-5.2.1-1 failed" configure: WARNING: netinet/tcpip.h: present but cannot be compiled configure: WARNING: netinet/tcpip.h: check for missing prerequisit