To statically link the module with the agent do the following: -copy source files to net-snmp-5.0.6/agent/mibgroup -run configure from net-snmp-5.0.6 with option --with-mib-modules="light80211". This will include the source files specified in light80211.h in the build. -manually add lib80211.[o,lo,c] to agent/mibgroup/Makefile after on lines OBJS, LOBJS, SRCS -manually add lib80211.(l)o to agent/Makefile under the line # libnetsnmpmib objects. -run make from net-snmp-5.0.6 -run make install from net-snmp-5.0.6 (to install to /usr/local/[lib, bin])