Ethereal-dev: Re: [Ethereal-dev] compiltion help

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

From: Jason House <jhouse@xxxxxxxxx>
Date: Thu, 12 Jun 2003 13:21:24 -0400
Two other quick things:
1.
The plugins.c errors are on a typecast between two types that differ only by return type: int and unsigned char... Is this something that gcc will allow to pass? If someone more intimate with plugins doesn't make a patch, then I'll try to make one tomorrow.

2.
Can http://www.ethereal.com/distribution/win32/development/ somehow be added as a link under the Win32 compilation requirements section on the web page? It's the most convenient way to get most win-32 specific stuff...



Gerald Combs wrote:
On Thu, 12 Jun 2003, Jason House wrote:


I'm compiling from the commandline in Windows XP.
I've done a cvs update
... and cvs update -d in case adns.h was in a new directory

Any hints as to what is going wrong?

plugins.c
plugins.c(567) : error C4047: '=' : 'int (__cdecl *)(struct tvbuff *,int,int )' differs in levels of indirection from 'unsigned char *(__cdecl *)(struct tvbuff *,int ,int )' plugins.c(568) : error C4047: '=' : 'int (__cdecl *)(struct tvbuff *,int,int *)' differs in levels of indirection from 'unsigned char *(__cdecl *)(struct tvbuff *,int ,int *)'
resolv.c
resolv.c(82) : fatal error C1083: Cannot open include file: 'adns.h': No such file or directory


ADNS support was added recently, and its files are not in the CVS tree.
You can either comment out ADNS_DIR in config.nmake or download the ADNS
Windows distribution from

    http://adns.jgaa.com/

or

    http://www.ethereal.com/distribution/win32/development/

and adjust ADNS_DIR accordingly.