Ethereal-dev: [Ethereal-dev] Did anyone succeed in cleanly building Ethereal with MSVC now?

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

From: "Olivier Biot" <[email protected]>
Date: Wed, 28 Jul 2004 21:46:24 +0200
Hi list,

If you perform a "nmake -f Makefile.nmake distclean", then a svn
update, then a normal (n)make, did someone succeed in building
Ethereal? I always get problems at the linkage step in epan as the
adler32.obj and other top-level directory objects cannot be found (see
yasterday's mails for more details). Some time later, linkage fails
again because of missing symbols in libethereal.def.

The problem is that I am not at all familiar with MSVC's nmake
configuration and symbol export stuff so I have to rely upon someone
else to have it fixed :(

Currently I am at SVN revision 11554.

I am compiling with GTK2 (no GTK1), the only changes from the SVN
snapshot are:
Index: config.nmake
===================================================================
--- config.nmake        (revision 11554)
+++ config.nmake        (working copy)
@@ -54,7 +54,7 @@
 # the pathname of the directory in which the "include" and "lib"
directories
 # reside.
 #
-GTK1_DIR=$(ETHEREAL_LIBS)\gtk+
+#GTK1_DIR=$(ETHEREAL_LIBS)\gtk+
 GTK2_DIR=$(ETHEREAL_LIBS)\gtk2

 # Declare the version of your gtk2 and pango. (MAJOR + MINOR Version
number
@@ -140,7 +140,7 @@
 PDB_FILE=vc*.pdb

 # Set path if you need to find some binary
-PATH=c:\cygwin\bin;c:\python23;$(PATH)
+PATH=c:\cygwin\bin;$(PATH)

 # Set path to some required DLLs
 PATH=$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ICONV_DIR)\bin;$(PATH)
@@ -149,7 +149,7 @@
 PERL=perl
 POD2MAN=$(SH) pod2man
 POD2HTML=$(SH) pod2html
-PYTHON="C:/python23/python.exe"
+PYTHON=C:\cygwin\bin\python2.3.exe
 LEX=flex
 YACC=bison

Best regards,

Olivier