It might be a syntax problem with the mib. Have you run smilint on the
mib?
I ran the smilint on my mib and it showed no errors, I changed my mib to
SMIv2 and again tried compiling it with the mib2c.notify.conf still same
problem, generates only .h file.
by the way the mib2c.notify.conf was not in /usr/share/snmp/ it was in
/usr/local/share/snmp/ i hope that is fine..
Even the .h file generated by the copiler is not complete
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.notify.conf,v 5.2 2003/06/26 09:27:41 dts12 Exp $
*/
#ifndef XXXXXXXXXXXXXXXX_H
#define XXXXXXXXXXXXXXXX_H
/*
* function declarations
*/
@ foreach notifications @ int send__trap(void);
There should have been a #endif here right?
You think there is some problem with the mib2c.notify.conf file ??
Or any other guesses ?
regards
Chin
Now i think that its a problem with my mib2c.notify.conf
I ran the mib2c on snmpTraps defined in
/usr/share/snmp/mibs/SNMPv2-MIB.txt
mib2c -c mib2c.notify.conf SNMPv2-MIB::snmpTraps
still I get only .h file which is not complete as above showed..
What is going wrong?Can anybody help me with this as fast as possible?
Thanks in advance
Chin
_________________________________________________________________
MSN Careers! http://www.timesjobs.com/MSN/ Sign up now!
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users