RE: Snmp error

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0CB1868C@mailserver.metatv-ds.metatv.com>
	[List issues to the list, please]

> From: purushotam rao [mailto:[email protected]]
> Sent: Friday, July 24, 2009 10:39 PM


> Hi This needs your mib file modification. mib2c gives only *.c template. You
> have to change the template as per your requirements.

	I don't know what you mean.  There is a host MIB implementation that ships with the agent.  However, it doesn't work on  all supported platforms.

> On 7/24/09, Mike Ayers <[email protected]> wrote:
> 
> 	> From: Myasin [mailto:[email protected]]
> 	> Sent: Wednesday, July 22, 2009 7:00 PM
> 
> 
> 	> Can somebody help me? i am stuck here.
> 
> 	       I'll try, but I'm guessing...
> 
> 	> I am getting following error during the compilation of both 5.4.2.1 and
> 5.5pre3,
> 
> 
> 	> #./configure
> 	> #make (error)
> 	>
> 	> In file included from /usr/include/sys/user.h:229,
> 	>                  from host/hr_swrun.c:37:
> 	> /usr/include/sys/proc.h:11: error: syntax error before
> "var_extensible_proc"
> 	> /usr/include/sys/proc.h:12: error: syntax error before "fixProcError"
> 	> host/hr_swrun.c: In function `var_hrswrun':
> 	> host/hr_swrun.c:994: error: `SIDL' undeclared (first use in this
> function)
> 	> host/hr_swrun.c:994: error: (Each undeclared identifier is reported
> only once
> 	> host/hr_swrun.c:994: error: for each function it appears in.)
> 	> host/hr_swrun.c:1003: error: `SSTOP' undeclared (first use in this
> function)
> 	> host/hr_swrun.c:1030: error: `SZOMB' undeclared (first use in this
> function)
> 
> 	       ...so our errors occur in the host section, apparently host/proc.  I'd say
> try building without the host MIB at all.  If that works, try adding whatever host
> MIB submodules you want except host/proc.
> 
> 
> 	       HTH,
> 
> 	Mike
> 
> 	------------------------------------------------------------------------------
> 	_______________________________________________
> 	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
> 
> 
> 
> 
> 
> --
> Thanks & Regards,
> 
> U.Purushotham Rao,
> EE, NMS Group(R&D),
> ITI Limited,
> Bangalore - 560 016.
------------------------------------------------------------------------------
_______________________________________________
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.