----- Original Message -----
Sent: Monday, January 13, 2003 11:03
PM
Subject: [Ethereal-dev] wiretap compile
failure
Hello all. I'm new to ethereal development, and I
would like to make some additions to it's BACnet
capabilities.
That said...
I'm trying to compile ethereal, but the compile files upon
recurse into the wiretap directory.
wtap.h(359) : error C2079: 'ts' uses undefined struct
'timeval'
The compiler seems to be unable to find the timeval struct
from <sys/time.h>
I'm compiling on a Windows 2K Pro box, with cygwin
installed.
Here's the configure.nmake I'm using:
# $Id: config.nmake,v 1.33 2002/12/04 04:26:12 gerald Exp
$
VERSION=0.9.8
RC_VERSION=0.9.8
WTAP_VERSION=0.0
GTK_VERSION=1.3
GLIB_VERSION=1.3
GLIB_DIR=C:\etheral-win32-libs\gtk+\src\glib
GTK_DIR=C:\etheral-win32-libs\gtk+\src\gtk+
CYGWIN_INC_DIR=C:\cygwin\usr\include
ZLIB_DIR=C:\etheral-win32-libs\gtk+\src\zlib-1.1.3
PCAP_DIR=C:\ethereal-win32-libs\WPdpack
PCAP_INC_DIR=C:\ethereal-win32-libs\WPdpack\include
#NET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.0.6
COMMON_FILES_GNU=c:\program files\common
files\gnu
LOCAL_CFLAGS=-Zi
LOCAL_LDFLAGS=/DEBUG
# Set PDB_FILE according to your VC++ version
PDB_FILE=vc*.pdb
# Set path if you need to find some
binary
PATH=c:\cygwin\bin;c:\ethereal\wiretap;c:\program files\common
files\gnu;$(PATH)
SH=bash
PERL=perl
POD2MAN=pod2man
POD2HTML=pod2html
#PYTHON="C:/python22/python.exe"
LEX=flex
YACC=bison
# Set YACC_OPTS if cygnus bison can't find template
file.
#YACC_OPTS=-S t:\w32-ix86\cygnus\cygwin-b20\share\bison.simple
# To build the installer
MAKENSIS="C:/program
files/nsis/makensis.exe"
Coleman