[erlang-questions] snmpc: Compiling LLDP-MIB failled

fxmy wang fxmywc@REDACTED
Sat Mar 11 10:23:07 CET 2017


Hi guys,
I’ve checked out 7f52af8
<https://github.com/erlang/otp/tree/7f52af8875a1ab1ba96c6cb2403211bfc876639c>
and tried again but the compilation still fails. =(

I’v updated the mib-compiling log to gist
<https://gist.github.com/fxmy/0c84243d387f972a725c68004cc02933> in case
anyone interested.

Hope this log holds some useful information for the SNMP experts.
Cheers,
​

2017-03-11 14:01 GMT+08:00 fxmy wang <fxmywc@REDACTED>:

> Hi guys,
>   I've checked out [7f52af8](https://github.com/erlang/otp/tree/
> 7f52af8875a1ab1ba96c6cb2403211bfc876639c) and tried again but the
> compilation still fails. =(
>   Below attaches the log file when compiling LLDP-MIB (also uploaded to
> [gits](https://gist.github.com/fxmy/0c84243d387f972a725c68004cc02933)).
>   Hope this log holds some useful information for the SNMP experts.
> Cheers,
>
> 2017-03-09 21:28 GMT+08:00 fxmy wang <fxmywc@REDACTED>:
>
>> Good to know that Raimo.
>> Thanks, I'm gonna wait for 19.3 and see what happens.
>> Cheers,
>>
>> 2017-03-09 17:01 GMT+08:00 Raimo Niskanen <raimo+erlang-questions@REDACTED
>> ricsson.se>:
>>
>>> There was a fix committed to the maint branch at Jan 12.  I do not know
>>> if
>>> it is this problem it fixes; it allows refinements of enum usertypes.
>>>
>>> See https://bugs.erlang.org/browse/ERL-325
>>>
>>> It will be released in OTP-19.3 shortly.
>>>
>>>
>>>
>>> On Thu, Mar 09, 2017 at 11:00:39AM +0800, fxmy wang wrote:
>>> > Hi guys,
>>> > So recently I’m toying with SNMP Development Toolkit and having trouble
>>> > compiling standard LLDP-MIB. Errors shown below
>>> >
>>> > 2> snmpc:compile("LLDP-MIB.mib").
>>> > LLDP-MIB.mib: 655: Cannot AUGMENT the non-existing table entry
>>> > lldpLocManAddrEntry
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpPortConfigTable
>>> > => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table
>>> > lldpConfigManAddrTable => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpStatsTxPortTable
>>> > => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpStatsRxPortTable
>>> > => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpLocPortTable =>
>>> > The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpLocManAddrTable
>>> > => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpRemTable => The
>>> > default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpRemManAddrTable
>>> > => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table
>>> > lldpRemUnknownTLVTable => The default functions won't work properly
>>> > [LLDP-MIB.mib][WAR]: No RowStatus column in table
>>> > lldpRemOrgDefInfoTable => The default functions won't work properly
>>> > {error,compilation_failed}
>>> > 3>
>>> >
>>> > The LLDP-MIB file is hosted on ieee802.org
>>> > <http://www.ieee802.org/1/files/public/MIBs/LLDP-MIB-200505060000Z.txt
>>> >.
>>> >
>>> > How should I deal with this?
>>> >
>>> > Cheers,
>>> > ​
>>>
>>> > _______________________________________________
>>> > erlang-questions mailing list
>>> > erlang-questions@REDACTED
>>> > http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>> --
>>>
>>> / Raimo Niskanen, Erlang/OTP, Ericsson AB
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170311/88f378b6/attachment.htm>


More information about the erlang-questions mailing list