Ethereal-users: [Ethereal-users] I cannot compile ethereal ethereal-0.9.14 on Win32

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

From: "Pierre Pacchioni" <pierre.pacchioni@xxxxxxxxxx>
Date: Thu, 14 Aug 2003 12:00:19 +0200
Hello,

I got a ton of errors when I tried to compile Ethereal on Win32
(Windows2000).
I followed all the steps indicated in the README.win32 (including running
the cleanbld.bat script), installed all the packages, modified the
config.nmake file.
So before I spend too many time on that, is someone can tell me what I'm
wrong?
Thanks,
Cheers,
Pierre.


Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -DHAVE_CONFIG_H
/IC:\cygwin\usr\include /IC:
\progra~1\glib\include\glib-2.0 /IC:\progra~1\glib\include\glib-2.0\gmodule
/IC:\progra~1\
zlib-114 /IC:\progra~1\WPdpack/include  -D_U_="" -Zi -Fd.\ -c
ascend-grammar.c ascend-scan
ner.c ascend.c atm.c buffer.c cosine.c csids.c dbs-etherwatch.c etherpeek.c
file.c file_wr
appers.c i4btrace.c iptrace.c lanalyzer.c libpcap.c netmon.c nettl.c
netxray.c ngsniffer.c
 radcom.c pppdump.c snoop.c toshiba.c visual.c vms.c wtap.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

ascend-grammar.c
C:\cygwin\usr\include\sys/_types.h(13) : error C2632: 'long' followed by
'long' is illegal

C:\cygwin\usr\include\sys/_types.h(13) : error C2054: expected '(' to follow
'__extension_
_'
C:\cygwin\usr\include\sys/_types.h(13) : error C2085: '_off64_t' : not in
formal parameter
 list
C:\cygwin\usr\include\sys/_types.h(16) : error C2085: '_ssize_t' : not in
formal parameter
 list
C:\cygwin\usr\include\sys/_types.h(30) : error C2061: syntax error :
identifier 'wint_t'
C:\cygwin\usr\include\sys/_types.h(32) : error C2059: syntax error : '}'
C:\cygwin\usr\include\sys/_types.h(33) : error C2059: syntax error : '}'
C:\cygwin\usr\include\sys/reent.h(568) : error C2061: syntax error :
identifier '__extensi
on__'
C:\cygwin\usr\include\sys/reent.h(568) : error C2632: 'long' followed by
'long' is illegal

C:\cygwin\usr\include\sys/reent.h(570) : error C2061: syntax error :
identifier '_mblen_st
ate'
C:\cygwin\usr\include\sys/reent.h(570) : error C2059: syntax error : ';'
C:\cygwin\usr\include\sys/reent.h(571) : error C2061: syntax error :
identifier '_mbtowc_s
tate'
C:\cygwin\usr\include\sys/reent.h(571) : error C2059: syntax error : ';'
C:\cygwin\usr\include\sys/reent.h(572) : error C2061: syntax error :
identifier '_wctomb_s
tate'