Ethereal-users: Re: [Ethereal-users] ethereal-0.10.6

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, 14 Aug 2004 11:13:00 +0200
Glenn,

You probably refer to the date of the README.win32 file you have at
hand. If so then it is out-of-date. We switched to SubVersion last
month, and the current version identifier for this file is:
$Id: README.win32 11400 2004-07-18 00:24:25Z guy $

May I suggest you to download a more recent version of the Ethereal
sources?

>From the current README.win32 file in Ethereal's top level directory:

Compiling the Ethereal distribution from source
===============================================

Compilers
---------
MS Visual C++ Version 6
This is the common compiler used for building Ethereal on win32.

MS Visual C++ Version 7 / VC.NET
Currently unsupported for two reasons:
-the licence agreement does NOT allow you to compile GPL code.
-there are serious problems in using DLL's compiled with MS VC6.
See section "Problems with MS Visual C++ Version 7 / VC.NET" below.

Cygwin GCC
Ethereal can entirely be built with cygwin GCC. However the built
binaries will
only run in a cygwin environment, so they are not standalone Win32
applications.
It is however not excluded that native Win32 code can be compiled on
cygwin GCC
but you then have to use -mms-bitfields as a strict minimum and
probably
-mno-cygwin or a similar compiler flag too.
See section below for instructions.

Hope this helps!

Best regards,

Olivier

----- Original Message ----- 
From: Glenn J Andrews

| I don't see any mention of MSVC+ 6 is the documentation I have
| v1.62 2004/02/19
|
| It seems a bit silly to have a section on compiling ethereal
| with MS Visual C++ that doesn't really work :-(
|
| How about gcc for Windows ?
|
| Glenn
|
| -----Original Message-----
| From: Olivier Biot
|
| As is stated in the README.win32 file in the source distribution of
| Ethereal, the only Microsoft compiler toolchain which works, is
MSVC++
| 6 (not version 7 a.k.a. .NET).
|
| You can also compile Ethereal with the free *NIX-like CygWin
| environment. Compilation however takes (much) longer that with the
| MSVC++ toolchain (but you can use it for free).
|
| Best regards,
|
| Olivier
|
| ----- Original Message ----- 
| From: Glenn J Andrews
|
| | Understood.  So what do people use to compile ethereal for windows
?
| |
| | Glenn
| |
| | -----Original Message-----
| | From: Olivier Biot
| |
| |
| | Try searching the ethereal-dev mail archives for visual c++
toolkit
| | 2003 over the past 9 months (either via Google or via the Ethereal
| web
| | site). It is not *that* simple to get Ethereal to compile with it
as
| | it requires you to recompile *all* libraries with that toolkit
(and
| a
| | static C run-time library).
| |
| | We cannot guarantee that a version of Ethereal compiled with the
| | MSVC++ Toolkit 2003 will ultimately *work* either.
| |
| | Best regards,
| |
| | Olivier
| |
| | ----- Original Message ----- 
| | From: Glenn J Andrews
| |
| | | Has anyone successfully compiled ethereal-0.10.6 under
| | | Win2k using 'Microsoft Visual C++ Toolkit 2003' with all the
| | | files listed in win32-readme.txt  I have tried repeatedly to
| compile
| | | but I run into 1 error after another.  I would use a compiled
| binary
| | | but I want all the bells/whistles such as SNMP.
| | |
| | | I have all the 'lib' under 'ethereal-win32-libs'  then I do
| | | nmake -f makefile.nmake and I run into the '::' problem which
| | | I changed all occurrences to ':'.  (41 occurences in 10 files)
| | | Then I get loads of 'Cannot open include file' fatal errors.
| | |
| | | I am now stalled with a fatal error for unistd.h which
| | | I did find under \perl\site\lib\tk\ptk\compat which
| | | I put in the 'INCLUDE' envar but now I get tons of 'syntax'
| errors.