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: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 11:40:14 -0500 (CDT)
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.