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: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Sat, 5 Jun 2004 11:01:51 +0200
From: Ulf Lamping

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

Regarding the licensing issues, this is no longer an issue with the
MSVC++ Toolkit 2003 but it was with MSVC.NET since distributing a
GPLed program compiled with MSVC.NET requires Microsoft to open up the
source code of some libraries like MSVCRT since this C runtime library
must now be shipped with the binaries (as opposed to earlier versions
of the MSVC++ compiler).

| 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 :-)

Did you recompile all depending libraries with MSVC++ Toolkit 2003?

| 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