[EMAIL PROTECTED] wrote:
> Thank u very much,Alex!
> 
> Yeah,i'm trying to compile net-snmp-5.2.1.2 on win32.

I had a problem compiling the Perl modules after compiling the DLL using
the MSVC Workspace, but I did not have the same errors you had.  I had
problems with the TrapReceiver Perl module, which compiles after the
agent.  The next release will have the fix.  You can grab the fixed
libnetsnmptrapd.dsp file from CVS (branch V-5-2-1-patches).

I'm not sure why you are getting errors with the Perl agent.  Can you
try compiling with build.bat?  There are two build systems for MSVC
(command line build.bat and the GUI).  If it works for you with
build.bat (up to TrapReceiver), then it must be a problem with the MSVC
workspace files and I will look in to it more.

Alex

>  > >  " Creating library ..\blib\arch\auto\NetSNMP\agent\agent.lib and 
> object
>  > > ..\blib\arch\auto\NetSNMP\agent\agent.exp
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_var_route
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_udpTable
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_udp
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_ip
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_icmp
>  > > net snmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_tcpTable
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_tcp
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_interfaces
>  > > netsnmpmibs.lib(mib_modules.obj) : error LNK2001: unresolved external
>  > > symbol _init_at
>  > > ..\blib\arch\auto\NetSNMP\agent\agent.dll : fatal error LNK1120: 9
>  > > unresolved externals  "


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to