On Tue, Jun 14, 2016 at 7:59 PM, David Lamparter <equi...@opensourcerouting.org> wrote:
Hello David, > > +DEFINE_MTYPE_STATIC(LIB, PLUGIN_LOADNAME, "Plugin loading name") * I got compilation problems. Some elements are not yet in the master. I will retry later. branch of quagga. error: patch failed: lib/Makefile.am:15 error: lib/Makefile.am: patch does not apply * I fixed by myself and encountered some other problems when applying patch 5 #bgpd -M ./bgpd/.libs/bgp_snmp.so loading plugin "./bgpd/.libs/bgp_snmp.so" failed: ./bgpd/.libs/bgp_snmp.so: undefined symbol: _hook_reg_bgp_init * I also encountered some problems when applying patch 6 libtool: link: cannot find the library `../lib/libquaggasnmp.la' or unhandled argument `../lib/libquaggasnmp.la' > +#define PLUGIN_PATH "/usr/lib/quagga/plugins" * It would be nice to add this param in configure.ac so as to benefit from the calculated value with the desired prefix dir suffix, if any. * About the plugin(DS0) + hook support, I think it is a good idea. I just read your last mail. Applying the methodcould bring a gain of memory by loading only the memory that needs to be used. Example for someone that does not use the vty access at all, and uses an alternative management interface instead ( openflow, zmq,..). Best Regards, Philippe _______________________________________________ Quagga-dev mailing list Quagga-dev@lists.quagga.net https://lists.quagga.net/mailman/listinfo/quagga-dev