Re: net-snmp win32 compile issues

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, May 24, 2010 at 3:17 PM, John Stacey <[email protected]> wrote:

> Windows XP Pro SP3
>
> MSVC 2005 v 8.0
>
> Microsoft Windows Software Development Kit (SDK) for Windows 7 and .NET
> Framework 3.5 Service Pack 1.
>
> Net-snmp v 5.5
>
> Active Perl v 5.10.1
>
> OpenSSL 1.0.0
>
>
>
> Net-snmp-config.h:
>
> #define PACKAGE_VERSION "5.5"         ln 19
>
> #define HAVE_WIN32_PLATFORM_SDK 1          ln 28
>
>
>
> #define _WIN32_WINNT 0x501 /*_WIN32_WINNT_WINXP*/           ln 37
>
> #define NTDDI_VERSION 0x05010300 /* NTDDI_WINXPSP3 */      ln 38
>
>
>
> #define NETSNMP_USE_OPENSSL 1     ln 1368
>
> #define NETSNMP_USE_DLL 1              ln 1594
>
>
>
> Microsoft Visual C++ - Workspace - Building the DLL – Compiles and Builds
>
>
>
> This is as far as I have been able to get attempting a dynamic build using
> win32sdk.dsw (build.bat fails as well)
>
>
>
> Error Buffer:
> [ ... ]
>
>

> Error     39         error LNK2019: unresolved external symbol
> _init_var_route referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     40         error LNK2019: unresolved external symbol
> _init_udpTable referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     41         error LNK2019: unresolved external symbol _init_udp
> referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     42         error LNK2019: unresolved external symbol _init_ip
> referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     43         error LNK2019: unresolved external symbol _init_icmp
> referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     44         error LNK2019: unresolved external symbol
> _init_tcpTable referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     45         error LNK2019: unresolved external symbol _init_tcp
> referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     46         error LNK2019: unresolved external symbol
> _init_interfaces referenced in function _init_mib_modules
> netsnmpmibs.lib
>
> Error     47         error LNK2019: unresolved external symbol _init_at
> referenced in function _init_mib_modules            netsnmpmibs.lib
>
> Error     48         fatal error LNK1120: 9 unresolved externals
> ../bin/release/snmpd.exe
>

All these compilation errors have been fixed on the 5.5 branch after version
5.5 was released (svn co
https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/branches/V5-5-patches
).

Bart.

------------------------------------------------------------------------------

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