Hi, i have somme errors when I compiled MPLS-LSR-MIB. I use mib2c.mdf.confto get all files and after I run .configure --with-mib-modules
Everything it's but when I run make I have some errors /bin/sh ../../libtool --mode=compile gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -g -O2 -Ulinux -Dlinux=linux -c -o MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.lo MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -g -O2 -Ulinux -Dlinux=linux -c MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c -fPIC -DPIC -o MPLS-LSR-MIB/mplsInSegmentTable/.libs/mplsInSegmentTable_data_access.o MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c: In function 'mplsInSegmentTable_container_load': MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:290: error: 'mplsInSegmentNPop' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:290: error: (Each undeclared identifier is reported only once MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:290: error: for each function it appears in.) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:297: error: 'mplsInSegmentAddrFamily' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:304: error: 'mplsInSegmentXCIndex' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:311: error: 'mplsInSegmentOwner' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:323: error: 'mplsInSegmentTrafficParamPtr_len' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:323: error: 'mplsInSegmentTrafficParamPtr' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:335: error: 'mplsInSegmentRowStatus' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:342: error: 'mplsInSegmentStorageType' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:349: error: 'mplsInSegmentAdminStatus' undeclared (first use in this function) MPLS-LSR-MIB/mplsInSegmentTable/mplsInSegmentTable_data_access.c:356: error: 'mplsInSegmentOperStatus' undeclared (first use in this function) Could you help me please? Thanks a lot. Sébastien -----Message d'origine----- De : DAVID Sébastien Envoyé : jeudi 28 août 2008 08:57 À : '[EMAIL PROTECTED]' Objet : RE: Adding MIB & dlmod Hi, Thanks for your answer, my problem is that I do not arrive has to obtain information. Here is the error message. snmp:~/net-snmp-5.4.1.2# snmpget -v 2c -c public 10.10.10.1 mplsTunnelDescr MPLS-TE-STD-MIB::mplsTunnelDescr = No Such Object available on this agent at this OID I have read lot of documentation and I think I must use agentx to get a response. OIS is Interpreted but I have no value Best regards Sebastien ------------------------------------------------------------------------------------------------------------------ De : Thomas Anders [mailto:[EMAIL PROTECTED] Envoyé : mercredi 27 août 2008 18:24 À : DAVID Sébastien Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Adding MIB & dlmod DAVID Sébastien wrote: > I met some difficulties to add a MIB with my net-snmp. > > dlmod mplsLsrMIB /usr/local/share/snmp/mibs/MPLS-LSR-MIB.my > dlmod mplsTeMIB /usr/local/share/snmp/mibs/MPLS-TE-MIB.my dlmod is for adding MIB *implementations* as shared objects. You can't add MIB text files that way. Please see the FAQ entries: http://www.net-snmp.org/wiki/index.php/FAQ:Applications_02 http://www.net-snmp.org/wiki/index.php/FAQ:Agent_06 depending on what you're trying to do. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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