Dear all, � System: windows 7 64-bit
As i could not succeed in creating the netsnmp.dll by defining the macro #define NETSNMP_USE_EMBEDDED_PERL 1, i tried to build the netsnmp.dll using the build.bat file For perl related, i followed the instructions in Readme file located in netsnmp-5.7.2/perl [I put the gnu_regex.h, gnu_regex.dll, gnu_regex.lib into the respective folders] my perltest.out contains the below summary: Test Summary Report ------------------- t/get.t���� (Wstat: 1280 Tests: 1 Failed: 0) � Non-zero exit status: 5 � Parse errors: Bad plan.� You planned 17 tests but ran 1. t/getnext.t (Wstat: 0 Tests: 1 Failed: 0) � Parse errors: Bad plan.� You planned 9 tests but ran 1. t/mib.t���� (Wstat: 1280 Tests: 23 Failed: 0) � Non-zero exit status: 5 � Parse errors: Bad plan.� You planned 35 tests but ran 23. t/notify.t� (Wstat: 1280 Tests: 1 Failed: 0) � Non-zero exit status: 5 � Parse errors: Bad plan.� You planned 11 tests but ran 1. t/set.t���� (Wstat: 1280 Tests: 1 Failed: 0) � Non-zero exit status: 5 � Parse errors: Bad plan.� You planned 7 tests but ran 1. Files=10, Tests=83, 395 wallclock secs ( 0.13 usr +� 0.01 sys =� 0.14 CPU) Result: FAIL Failed 5/10 test programs. 0/83 subtests failed. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : return code '0x5' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE"' : return code '0x2' Stop. I put the file mytrapd.pl [Ref: NetSNMP.chm Document] in c:usr/share/snmp/mytrapd.pl and In snmptrapd.conf file, I put the below� two lines as it was told: � perl NetSNMP::TrapReceiver::register("all", \&myfunc);� � perl do "C:/usr/share/snmp/mytrapd.pl"; Now when i start the snmptrapd process as c:/snmptrapd -f -Le i am getting unknown token perl in snmptrapd.conf file How to overcome this problem to enable trap handlers. Looking forward to the valuable reply. regards, Ganesh Y � � Every Sheets of paper is made from a tree.. Save trees... Conserve Trees.... Go Green .... Don't print this email or any Files unless you really need to!!!! Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Bharat Electronics or supp...@bel.co.in immediately and destroy all copies of this message and any attachments.
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users