Actually, it was easier than I expected... two conflicting typedefs...
epan/tvbuff.h and plugins/plugin_table.h
$ cvs diff plugin_table.h
Index: plugin_table.h
===================================================================
RCS file: /cvsroot/ethereal/plugins/plugin_table.h,v
retrieving revision 1.65
diff -r1.65 plugin_table.h
336,337c336,337
< typedef gint (*addr_tvb_get_string)(tvbuff_t*, gint, gint);
< typedef gint (*addr_tvb_get_stringz)(tvbuff_t*, gint, gint*);
---
> typedef guint8* (*addr_tvb_get_string)(tvbuff_t*, gint, gint);
> typedef guint8* (*addr_tvb_get_stringz)(tvbuff_t*, gint, gint*);
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.