Ethereal-dev: Re: [Ethereal-dev] Error compiling Ethereal 0.9.15 under Win32

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 14 Oct 2003 16:49:25 -0700

On Oct 14, 2003, at 2:58 PM, Yaniv Kaul wrote:

I've removed wiretap/config.h (which was empty)

Something in the make process failed, then, or it'd been emptied out - Makefile.nmake should copy config.h.win32 to config.h (substituting the value of the WTAP_VERSION Makefile macro for "@VERSION@") if config.h doesn't exist or is older than config.h.win32.

 AND changed HAVE_WINSOCK2_H to 0,

That shouldn't have been necessary - just removing config.h should have caused Makefile.nmake to regenerate it, and the value HAVE_WINSOCK2_H is defined to shouldn't make any difference (wtap.h and wtap-int.h use #ifdef to check it, so you could define it as 666 or 137.03602855 or "Hi, mom!" and it shouldn't make a difference).