<div dir="ltr"><div><div>Hi<br></div>1. I installed net-snmp 5.7.3 on Ubuntu 1704 (but the following problem was observed on many versions of Ubuntu like 1604, 1404)<br></div>2. Then I configure FRR3 with <i>--enable-snmp=agentx</i> switch!<br><div style="margin-left:40px">As i think, this switch is necessary for the purpose of accessing routing MIBs which must be responsed by zebra. <br></div>3. Now, I make FRR and see the following error<br><div style="margin-left:40px">make[2]: Entering directory '/home/theuser/frr/FRR3'<br>  CLIPPY   ospfd/ospf_vty_clippy.c<br>  CLIPPY   lib/plist_clippy.c<br>  CC       lib/lib_libfrrsnmp_la-agentx.lo<br>  CC       lib/lib_libfrrsnmp_la-smux.lo<br>  CC       lib/lib_libfrrsnmp_la-snmp.lo<br>  CCLD     lib/<a href="http://libfrrsnmp.la">libfrrsnmp.la</a><br>/usr/bin/ld: /usr/local/lib/libnetsnmp.a(scapi.o): relocation R_X86_64_PC32 against symbol `usmHMACMD5AuthProtocol' can not be used when making a shared object; recompile with -fPIC<br>/usr/bin/ld: final link failed: Bad value<br>collect2: error: ld returned 1 exit status<br>Makefile:2379: <b>recipe for target 'lib/<a href="http://libfrrsnmp.la">libfrrsnmp.la</a>' failed</b><br>make[2]: *** [lib/<a href="http://libfrrsnmp.la">libfrrsnmp.la</a>] Error 1<br>make[2]: Leaving directory '/home/theuser/frr/FRR3'<br>Makefile:3194: recipe for target 'all-recursive' failed<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory '/home/theuser/frr/FRR3'<br>Makefile:1867: recipe for target 'all' failed</div>Note that:<br><div style="margin-left:40px">If net-snmp was not installed, there was no error when making FRR, BUT a similar error was raised when trying to make net-snmp after frr !!!</div><div style="margin-left:40px"><br></div><div style="margin-left:40px">If i disable --enable-snmp=agentx there is no error! But the system will not respond to snmp requests that ask for routing information.<br></div></div>