RE: Installing Perl SNMP support on Windows
Vinod Nanjaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <1B3CA99331DE5E47BB89385002F8D1EF115D9B978B@MTW02MSG02.mindtree.com> |
Just to add to this, I am running net-snmp-5.4.3 as suggested by Bart Van Assche Thank you, Vinod From: Vinod Nanjaiah Sent: Monday, September 06, 2010 4:21 PM To: '[email protected]' Subject: Installing Perl SNMP support on Windows Hi! As per the Perl README file (http://www.net-snmp.org/docs/perl-SNMP-README.html), I am trying to install perl support for snmp. But, on running win32\nmakeperl.bat, it is exiting with the following error. Make the Perl SNMP modules. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE"' : return code '0x460' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe' : return code '0x2' Stop. If errors are seen stop here and review perl\nmake.out. Press any key to continue . . . The corresponding perl\make.out file indicates the following errors: Creating library ..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.lib and object ..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.exp netsnmptrapd.lib(snmptrapd.obj) : error LNK2019: unresolved external symbol _RegisterService referenced in function _main netsnmptrapd.lib(snmptrapd.obj) : error LNK2019: unresolved external symbol _UnregisterService referenced in function _main netsnmptrapd.lib(snmptrapd.obj) : error LNK2019: unresolved external symbol _RunAsService referenced in function _main netsnmptrapd.lib(snmptrapd.obj) : error LNK2019: unresolved external symbol _RegisterStopFunction referenced in function _main netsnmptrapd.lib(snmptrapd.obj) : error LNK2019: unresolved external symbol _ParseCmdLineForServiceOption referenced in function _main ..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.dll : fatal error LNK1120: 5 unresolved externals The path of the snmplibs is also set correctly. Appreciate any pointers on solving this linking problem. Thank you, Vinod ________________________________ http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users