Ethereal-users: RE: [Ethereal-users] I cannot compile ethereal ethereal-0.9.14 onWin32

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 13:53:58 +0200
Hello,

Thanks for your feedback.
Yes I have bison (and flex) installed.
I removed the config.h and I clean up my area but I still have the same
problem.
Perhaps I need to do something else in order to compile but when I launch
nmake -f Makefile.nmake I got always the same errors.
Cheers,
Pierre.

C:\Program Files\ethereal-0.9.14>nmake -f Makefile.nmake

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

        cd tools
        ....

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

        sed -e s/@VERSION@/0.0/ < config.h.win32 > config.h
        bison  -d -p ascend ascend-grammar.y -o ascend-grammar.c
        flex -Pascend -oascend-scanner.c ascend-scanner.l
        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

-----Original Message-----
From: ethereal-users-bounces@xxxxxxxxxxxx
[mailto:ethereal-users-bounces@xxxxxxxxxxxx]On Behalf Of Loïc Minier
Sent: jeudi 14 août 2003 12:42
To: ethereal-users@xxxxxxxxxxxx
Subject: Re: [Ethereal-users] I cannot compile ethereal ethereal-0.9.14
onWin32


Pierre Pacchioni <pierre.pacchioni@xxxxxxxxxx> - Thu, Aug 14, 2003:

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

 This C-file is geenrated by bison, do you have bison installed (for
 example with cygwin)? The generated file here doesn't include _types.h,
 maybe you should try to clean your tree and nmake again to generate the
 file.
   Generally, you won't get VS C compiler to work with Cygwin's headers,
 so there's a mistake in a previous step when this happens.
   Try to remove config.h too.

--
Loïc Minier <lool@xxxxxxxx>

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users