Thanks once again. When I added 'gdi32.lib' to the linker, snmpwalk linked fine. Based on your response, I looked at the generated makefile for the OpenSSL build, and sure enough gdi32.lib was there.
It would still be nice to understand why the command line build doesn't work. Still, I think I might be able to proceed with the rest of my task now. We have an old legacy product that used link with an old version of OpenSSL (0.9.8b) and NetSnmp (5.2.2), and it has fallen on me to update both libraries and make corresponding changes, if any, to our s/w, including enabling IPv6 transport. Hopefully I won't run in to similar problems when I do the Solaris (SPRO) and Linux builds ;-) Thanks again, Ron _______________________________________________________________________________ From: Bart Van Assche [mailto:[email protected]] Sent: April 30, 2010 2:59 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 8:40 PM, Ron Bets <[email protected]> wrote: Thanks again. I had noticed that in the readme, and the project is apparently attempting to link against the open ssl lib, but there seems to be an additional external dependency that is not met. Here is an example of the actual linker error: 'libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp_delet...@4' I am attempting to statically link everything. As far as I know the symbol DeleteDC is defined in libgdi32, so this should be easy to fix. Bart. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
