Ethereal-dev: Re: [Ethereal-dev] [PATCH] Make Net-SNMP Optional for VC++ Build

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 05 Jun 2004 10:12:12 +0200
Noah Misch wrote:

This patch makes Net-SNMP optional under the VC++ build process in much the same
way that zlib and ADNS are already optional.

Why bother?  The Net-SNMP binary distribution comes in the form of a static
library with dynamic C runtime linkage (MSVCRT).  To link it to ethereal,
ethereal must also use MSVCRT.  I cannot do this easily because I am building
with the Visual C++ 2003 Toolkit, the no-cost distribution of the Microsoft
compilers.  That package does not include MSVCRT.lib, and my attempts at
generating one did not result in complete success.  Notably, the other ethereal
dependencies all ship as DLLs, and as such do not create this problem.
Well, there are other problems reported: licensing and DLL conflicts. See Readme.win32 for some details. There are earlier reported problems that some DLLs will conflict (e.g. when opening files). Please report, if you can compile a completely working Ethereal :-)

However making the Net-SNMP library optional is a step in the right direction anyway, as it's a huge package to download,
and not required by anyone.

Regards, ULFL