<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Hi guys,<br>  I’ve checked out <a href="https://github.com/erlang/otp/tree/7f52af8875a1ab1ba96c6cb2403211bfc876639c">7f52af8</a> and tried again but the compilation still fails. =(</p>
<p style="margin:0px 0px 1.2em!important">  I’v updated the mib-compiling log to <a href="https://gist.github.com/fxmy/0c84243d387f972a725c68004cc02933">gist</a> in case anyone interested.</p>
<p style="margin:0px 0px 1.2em!important">  Hope this log holds some useful information for the SNMP experts.<br>Cheers,</p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiBhcmlhbCwgaGVs
dmV0aWNhLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IGxhcmdlOyI+PGRpdiBjbGFzcz0iZ21haWxf
ZGVmYXVsdCI+SGkgZ3V5cyw8L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9kZWZhdWx0Ij4mbmJzcDsg
SSd2ZSBjaGVja2VkIG91dCBbN2Y1MmFmOF0oPGEgaHJlZj0iaHR0cHM6Ly9naXRodWIuY29tL2Vy
bGFuZy9vdHAvdHJlZS83ZjUyYWY4ODc1YTFhYjFiYTk2YzZjYjI0MDMyMTFiZmM4NzY2MzljIiB0
YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly9naXRodWIuY29tLzx3YnI+ZXJsYW5nL290cC90cmVlLzx3
YnI+N2Y1MmFmODg3NWExYWIxYmE5NmM2Y2IyNDAzMjExPHdicj5iZmM4NzY2MzljPC9hPikgYW5k
IHRyaWVkIGFnYWluIGJ1dCB0aGUgY29tcGlsYXRpb24gc3RpbGwgZmFpbHMuID0oPC9kaXY+PGRp
diBjbGFzcz0iZ21haWxfZGVmYXVsdCI+PGJyPjwvZGl2PjxkaXYgY2xhc3M9ImdtYWlsX2RlZmF1
bHQiPiZuYnNwOyBJJ3YgdXBkYXRlZCB0aGUgbWliLWNvbXBpbGluZyBsb2cgdG8gW2dpc3RdKDxh
IGhyZWY9Imh0dHBzOi8vZ2lzdC5naXRodWIuY29tL2Z4bXkvMGM4NDI0M2QzODdmOTcyYTcyNWM2
ODAwNGNjMDI5MzMiIHRhcmdldD0iX2JsYW5rIj5odHRwczovL2dpc3QuZ2l0aHViLmNvbS9meG15
LzBjODQyNDNkMzg3Zjk3MmE3MjVjNjgwMDRjYzAyOTMzPC9hPiZuYnNwOykmbmJzcDtpbiBjYXNl
IGFueW9uZSBpbnRlcmVzdGVkLjwvZGl2PjxkaXYgY2xhc3M9ImdtYWlsX2RlZmF1bHQiPjxicj48
L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9kZWZhdWx0Ij4mbmJzcDsgSG9wZSB0aGlzIGxvZyBob2xk
cyBzb21lIHVzZWZ1bCBpbmZvcm1hdGlvbiBmb3IgdGhlIFNOTVAgZXhwZXJ0cy48L2Rpdj48ZGl2
IGNsYXNzPSJnbWFpbF9kZWZhdWx0Ij5DaGVlcnMsPC9kaXY+PC9kaXY+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-11 14:01 GMT+08:00 fxmy wang <span dir="ltr"><<a href="mailto:fxmywc@gmail.com" target="_blank">fxmywc@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">Hi guys,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">  I've checked out [7f52af8](<a href="https://github.com/erlang/otp/tree/7f52af8875a1ab1ba96c6cb2403211bfc876639c" target="_blank">https://github.com/<wbr>erlang/otp/tree/<wbr>7f52af8875a1ab1ba96c6cb2403211<wbr>bfc876639c</a>) and tried again but the compilation still fails. =(</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">  Below attaches the log file when compiling LLDP-MIB (also uploaded to [gits](<a href="https://gist.github.com/fxmy/0c84243d387f972a725c68004cc02933)" target="_blank">https://gist.github.<wbr>com/fxmy/<wbr>0c84243d387f972a725c68004cc029<wbr>33)</a>).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">  Hope this log holds some useful information for the SNMP experts.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">Cheers,</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-03-09 21:28 GMT+08:00 fxmy wang <span dir="ltr"><<a href="mailto:fxmywc@gmail.com" target="_blank">fxmywc@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">Good to know that Raimo.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">Thanks, I'm gonna wait for 19.3 and see what happens.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large">Cheers,</div><div><div class="m_7869199820745159998h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-03-09 17:01 GMT+08:00 Raimo Niskanen <span dir="ltr"><<a href="mailto:raimo+erlang-questions@erix.ericsson.se" target="_blank">raimo+erlang-questions@erix.e<wbr>ricsson.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There was a fix committed to the maint branch at Jan 12.  I do not know if<br>
it is this problem it fixes; it allows refinements of enum usertypes.<br>
<br>
See <a href="https://bugs.erlang.org/browse/ERL-325" rel="noreferrer" target="_blank">https://bugs.erlang.org/browse<wbr>/ERL-325</a><br>
<br>
It will be released in OTP-19.3 shortly.<br>
<div><div class="m_7869199820745159998m_1337393605849966482h5"><br>
<br>
<br>
On Thu, Mar 09, 2017 at 11:00:39AM +0800, fxmy wang wrote:<br>
> Hi guys,<br>
> So recently I’m toying with SNMP Development Toolkit and having trouble<br>
> compiling standard LLDP-MIB. Errors shown below<br>
><br>
> 2> snmpc:compile("LLDP-MIB.mib").<br>
> LLDP-MIB.mib: 655: Cannot AUGMENT the non-existing table entry<br>
> lldpLocManAddrEntry<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpPortConfigTable<br>
> => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table<br>
> lldpConfigManAddrTable => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpStatsTxPortTable<br>
> => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpStatsRxPortTable<br>
> => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpLocPortTable =><br>
> The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpLocManAddrTable<br>
> => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpRemTable => The<br>
> default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table lldpRemManAddrTable<br>
> => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table<br>
> lldpRemUnknownTLVTable => The default functions won't work properly<br>
> [LLDP-MIB.mib][WAR]: No RowStatus column in table<br>
> lldpRemOrgDefInfoTable => The default functions won't work properly<br>
> {error,compilation_failed}<br>
> 3><br>
><br>
> The LLDP-MIB file is hosted on <a href="http://ieee802.org" rel="noreferrer" target="_blank">ieee802.org</a><br>
</div></div>> <<a href="http://www.ieee802.org/1/files/public/MIBs/LLDP-MIB-200505060000Z.txt" rel="noreferrer" target="_blank">http://www.ieee802.org/1/file<wbr>s/public/MIBs/LLDP-MIB-2005050<wbr>60000Z.txt</a>>.<br>
<span>><br>
> How should I deal with this?<br>
><br>
> Cheers,<br>
> ​<br>
<br>
</span>> ______________________________<wbr>_________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
<span class="m_7869199820745159998m_1337393605849966482HOEnZb"><font color="#888888"><br>
<br>
--<br>
<br>
/ Raimo Niskanen, Erlang/OTP, Ericsson AB<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>