Re: Broken mib2c ifTable make?
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <000401c964cf$7419b720$02b2a8c0@tardis> |
Thanks again. With Christmas Holidays just around the corner, tutorials not working and project deadline on the 10th of January, it is easy to loose hope.... 1) Unfortunately wiki pages point to these tutorials: from: http://www.net-snmp.org/wiki/index.php/TUT:mib2c_General_Overview ...of the code (the MFD configuration file is the latest step towards this goal - see the MFD tutorial here). or General mib2c overview->mib2c.mfd.conf tutorial Both of them link to the legacy: http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/ that I used. Has anybody tried doing it? Does it work or do you get the same undefined references as I do? 2) The files, as described in the tutorial, are generated by mib2c using just the MIB file. Is mib2c broken? I definitely run it against the 5.4.1 agent I mentioned. This is from a binary Solaris package which came with the distro. I will try downloading and compiling the latest agent. Generated files: defaults ifTable-README-FIRST.txt ifTable-README-ifTable.txt ifTable.c ifTable.h ifTable_Makefile ifTable_data_access.c ifTable_data_access.h ifTable_data_get.c ifTable_data_get.h ifTable_data_get.o ifTable_data_set.c ifTable_data_set.h ifTable_data_set.o ifTable_enums.h ifTable_interface.c ifTable_interface.h ifTable_oids.h ifTable_subagent.c ----- Original Message ----- From: "Mike Ayers" <[email protected]> To: "Nikos Balkanas" <[email protected]>; <[email protected]> Sent: Tuesday, December 23, 2008 12:11 AM Subject: RE: Broken mib2c ifTable make? > From: Nikos Balkanas [mailto:[email protected]] > Sent: Monday, December 22, 2008 1:57 PM > First of all thanks for replying. With the low traffic in the > group I was > thinking it a lost cause. You need much more patience than that... > These are the exact directions from the tutorial: > > http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib > /ifTable/testing.html Looking further up the tree, http://www.net-snmp.org/tutorial/tutorial-5/ accurately states, "Note Well: Most of these tutorials have been replaced by wiki versions of the same tutorials and most of these pages are now out of date by comparison. Please see the wiki Tutorials instead." > Plus there is only one directory. make -f simply states to use the > particular Makefile, not the default "Makefile". I have no idea where those files came from, but I doubt they build against the current agent. 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