Thanks. The PSDK include directory does come before the VC98 include dirs. I *think* I was successful building the libs from the IDE, but the errors persist from the cmd line. However, when I try to build an executable, e.g., snmpwalk, I get linker errors (unresolved external symbol), apparently from the OpenSSL library (libeay32.lib), even though OpenSSL built and tested OK.
Ron From: Bart Van Assche [mailto:[email protected]] Sent: April 30, 2010 12:58 PM To: Ron Bets Cc: Net SNMP Coders ([email protected]) Subject: Re: Problems building 5.2.4.1 with IPv6 support on Windows On Fri, Apr 30, 2010 at 6:00 PM, Ron Bets <[email protected]> wrote: Hi folks. I am struggling a little bit, trying to get 5.2.4.1 built under Windows with IPv6 support enabled. My environment is something like this: Visual Studio 6.0 sp5 ActivePerl Microsoft SDK (Feb 2003) I have run "Register PSDK Directories with Visual Studio" and VCVARS32.BAT. I have tried both the build.bat and manual Configure/nmake methods as described in the README. What I am running in to is apparently a problem with finding the PSDK include files. When compiling snmpTCPDomain.c, I am getting a 'socklen_t' undeclared identifier error, so it seems to me that the SDK include files are not being picked up, so this is likely environmental. Any help you can provide will be greatly appreciated. Hello Ron, This error message indicates that MSVC 6 is using the PSDK header files included with MSVC 6 instead of those included with the Microsoft SDK. Building Net-SNMP 5.4.2.1 with IPv6 support enabled should be possible as follows: * Start the interactive development environment. * Open the Tools / Options / Directories / Include files dialog. * Make sure that the PSDK include path comes *before* the MSVC 6 include directory. * Close the interactive development environment. * Run win32/build.bat. Note: patch r18607 (http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=18607) fixes the batch build (win32/build.bat) when the Microsoft SDK has not been installed. Bart. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
