Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [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: Lars Roland <Lars.Roland@xxxxxxx>
Date: Thu, 29 Jul 2004 01:15:27 +0200
Olivier Biot schrieb:
The problem is that some developers did not perform a distclean on
MsWin development and hence they don't see all the changes introduced
by moving around files in the source tree. The fix I sent in the
previous mail leads me to the following issue which is way beyond my
MSVC knowledge.

I can only say that some objects are compiled twice (xmlstub.obj,
print.c and ps.c), and at linkage there are conflicting vc60.pdb files
(one at the top level and one in epan).

The only solution I found today is by disabling debug info in the
binaries, by editing config.nmake and replacing "LOCAL_LDFLAGS=/DEBUG"
with "LOCAL_LDFLAGS=". In other words: Ethereal CANNOT be built right
now with debug symbols in the object code.

There is obviously something going wrong on your system. I do not experience your recent problems. Please make a clean checkout and verify your problem. please also check your PATH variable. It should not contain any directory of a source code tree. It also can be that distclean does not clean up properly when the makefiles were changed.

I can compile without any problems. And nearly always make a distclean.
Regards,
Lars