Re: Installing Perl SNMP support on Windows

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Sep 6, 2010 at 12:50 PM, Vinod Nanjaiah <[email protected]
> wrote:

> 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.
>

With which Net-SNMP version did this occur ?

The Perl module support of at least Net-SNMP version 5.6rc2 should build
fine (see also
http://sourceforge.net/projects/net-snmp/files/net-snmp/5.6-pre-releases/).

Bart.

Bart.

------------------------------------------------------------------------------
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.