Installing Perl SNMP support on Windows

Vinod Nanjaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1B3CA99331DE5E47BB89385002F8D1EF115D9B976F@MTW02MSG02.mindtree.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.