Index: res/Makefile =================================================================== --- res/Makefile (revision 11559) +++ res/Makefile (working copy) @@ -32,6 +32,15 @@ MODS:=$(filter-out res_osp.so,$(MODS)) endif +# NetSNMP is incompatible with the BSDs, until the loader changes are complete (conflict with unload_module()) +ifeq ($(OSARCH),Darwin) + MODS:=$(filter-out res_snmp.so,$(MODS)) +else + ifeq ($(findstring BSD,$(OSARCH)),BSD) + MODS:=$(filter-out res_snmp.so,$(MODS)) + endif +endif + ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/net-snmp/net-snmp-config.h),) MODS:=$(filter-out res_snmp.so,$(MODS)) else