Yes, I used MFD code. The command is: env MIBS="+MAU-MIB" mib2c mib2c.mfd.conf ifMauTable
The error message is: ** ACK! I cannot handle BITS longer than 4 bytes! In file "details-enums.m2i" I'm working on a 32-bits machine. I going to stay with my workaround for this first pass. Dominique --- Robert Story <[EMAIL PROTECTED]> wrote: > On Wed, 21 Jun 2006 08:31:13 -0400 (EDT) Dominique > wrote: > DB> I currently work on an implementation of the > DB> EtherLike-MIB and the MAU-MIB inside netSNMP. > When I > DB> generate the code for the ifMauTable the mib2c > stop > DB> with the error about the limitation of BITS to > 32 > DB> bits. the object ifMauTypeListBits is now 41 > bits long > DB> to support 10G interfaces. > > Are you using the MFD code? What is the exact error > message? > > DB> I remove the 10G entries to make the think work > an > DB> continue the implementation. > > Good idea. > > DB> If it's possible for one of you to check this > issue it > DB> will be great to submit a full implementation > with all > DB> the MAU types supported. > > Your best bet is look at the current generated code, > in all the places it > deals with the ifMauTypeListBits variable. The > storage is likely based on > u_long, thus the 32bit limit. If you are on a 64bit > platform, it may just > work. Otherwise you need to tweak the code to deal > w/unsigned long long, or > some other type of your choice. > > -- > NOTE: messages sent directly to me, instead of the > lists, will be deleted > unless they are requests for paid consulting > services. > > Robert Story; NET-SNMP Junkie > Support: <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > Archive: > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> > > You are lost in a twisty maze of little standards, > all different. > > All the advantages of Linux Managed Hosting--Without > the Cost and Risk! > Fully trained technicians. The highest number of Red > Hat certifications in > the hosting industry. Fanatical Support. Click to > learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
