For the past week or more now, I can't build Ethereal on Win32.
Any clues would be highly appreciated. I've search the mailing list
archive, but couldn't find it.
I'm compiling with VC++ under Win32. These are the first errors:
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I.. /I../.. /IC:\e
thereal-win32-libs\glib\include\glib-2.0 /IC:\ethereal-win32-libs\glib\lib\glib
-2.0\include /IC:\ethereal-win32-libs\pcre-4.4\include /IC:\ethereal-win32-libs
\WPdpack\include -D_U_="" /Zi /W3 -Fd.\ -c ftypes.c ftype-bytes.c ftype-double.c
ftype-integer.c ftype-ipv4.c ftype-none.c ftype-pcre.c ftype-string.c ftype-tim
e.c ftype-tvbuff.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
ftypes.c
../..\wiretap/wtap.h(496) : error C2079: 'ts' uses undefined struct 'timeval'
C:\Program Files\Microsoft Visual Studio\VC98\include\varargs.h(70) : warning C4
005: 'va_start' : macro redefinition
C:\Program Files\Microsoft Visual Studio\VC98\include\stdarg.h(58) : see
previous definition of 'va_start'
C:\Program Files\Microsoft Visual Studio\VC98\include\varargs.h(72) : warning C4
005: 'va_end' : macro redefinition
C:\Program Files\Microsoft Visual Studio\VC98\include\stdarg.h(60) : see
previous definition of 'va_end'
../..\epan/ftypes/ftypes.h(246) : error C2054: expected '(' to follow 'ETH_VAR_I
MPORT'
../..\epan/ftypes/ftypes.h(246) : error C2085: 'fvalue_t_free_list' : not in for
mal parameter list
../..\epan/ftypes/ftypes.h(266) : error C2085: 'fvalue_from_unparsed' : not in f
ormal parameter list
../..\epan/ftypes/ftypes.h(269) : error C2085: 'fvalue_from_string' : not in for
mal parameter list
../..\epan/ftypes/ftypes.h(275) : error C2085: 'fvalue_string_repr_len' : not in
formal parameter list
../..\epan/ftypes/ftypes.h(286) : error C2085: 'fvalue_to_string_repr' : not in
formal parameter list
../..\epan/ftypes/ftypes.h(289) : error C2085: 'fvalue_type_name' : not in forma
l parameter list
../..\epan/ftypes/ftypes.h(292) : error C2085: 'fvalue_set' : not in formal para
meter list
../..\epan/ftypes/ftypes.h(295) : error C2085: 'fvalue_set_integer' : not in for
mal parameter list
../..\epan/ftypes/ftypes.h(298) : error C2085: 'fvalue_set_integer64' : not in f
ormal parameter list
../..\epan/ftypes/ftypes.h(301) : error C2085: 'fvalue_set_floating' : not in fo
rmal parameter list
And so on.
Thanks in advance,
Y.