$ perl Makefile.PL -NET-SNMP-CONFIG="sh ../../../opt/net-snmp/bin/net-snmp-config" -NET-SNMP-IN-SOURCE=true Checking if your kit is complete... Looks good Writing Makefile for SNMP Unable to locate the MIBs, Please enter the path: [] /opt/net-snmp/share/snmp/mibs $ make make: Warning: File `Makefile' has modification time 4.9e+02 s in the future cp SNMP.pm blib/lib/SNMP.pm AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP) /opt/lampp/bin/perl /opt/lampp/lib/perl5/5.10.0/ExtUtils/xsubpp -noprototypes -typemap /opt/lampp/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap SNMP.xs > SNMP.xsc && mv SNMP.xsc SNMP.c cc -c -I../../include -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Ulinux -Dlinux=linux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -I. -I/opt/net-snmp/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"5.0401\" -DXS_VERSION=\"5.0401\" -fPIC "-I/opt/lampp/lib/perl5/5.10.0/i686-linux/CORE" SNMP.c SNMP.xs: In function `_bulkwalk_recv_pdu': SNMP.xs:2090: error: `SNMPERR_OID_NONINCREASING' undeclared (first use in this function) SNMP.xs:2090: error: (Each undeclared identifier is reported only once SNMP.xs:2090: error: for each function it appears in.) SNMP.xs: In function `XS_SNMP__new_v3_session': SNMP.xs:2734: error: structure has no member named `securityAuthLocalKey' SNMP.xs:2737: error: structure has no member named `securityAuthLocalKeyLen' SNMP.xs:2769: error: `usmAESPrivProtocol' undeclared (first use in this function) SNMP.xs:2770: error: `USM_PRIV_PROTO_AES_LEN' undeclared (first use in this function) SNMP.xs:2784: error: structure has no member named `securityPrivLocalKey' SNMP.xs:2787: error: structure has no member named `securityPrivLocalKeyLen' SNMP.xs: In function `XS_SNMP__MIB__NODE_FETCH': SNMP.xs:5203: error: structure has no member named `reference' SNMP.xs:5263: warning: passing arg 3 of `Perl_sv_setpv' makes pointer from integer without a cast SNMP.c: In function `boot_SNMP': SNMP.c:5967: error: `PL_unitcheckav' undeclared (first use in this function) make: *** [SNMP.o] Error 1