Ethereal-dev: Re: [Ethereal-dev] compilling errors under XP with VC++: "(type not recognized)"

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 28 Dec 2001 12:00:47 -0800
On Fri, Dec 28, 2001 at 12:05:37PM -0800, Bernd Noth wrote:
>         cl -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -DHAVE_CONFIG_H
> /ID:\ethereal src\
> glib /ID:\ethereal src\zlib-1.1.3 -Zi -Fd\ -c .\ascend-grammar.c

When I compile it, the "cl" command is

	cl -DWIN32 -D_WIN32 -D_MT -D_DLL -MD -DHAVE_CONFIG_H
	    /I"C:\Program Files\gtk-win32\src\glib" /I"C:\Program Files\zlib"
	    -Zi -Fd.\ -c ascend-grammar.c ascend-scanner.c ascend.c
	    buffer.c ...

If, when you compile it, there's really a blank between "/ID:\ethereal"
and "src\glib", there's probably an error in your "config.nmake" file;
perhaps there's a blank in the line that sets GLIB_DIR, e.g.

	GLIB_DIR=\ethereal src\glib

or something such as that.  There shouldn't be - it should be

	GLIB_DIR=\ethereal\src\glib

The same applies to the lines that set GTK_DIR, ZLIB_DIR, and PCAP_DIR -
it looks as if there's an extra blank in "/ID:\ethereal src\zlib-1.1.3"
as well.