Ethereal-dev: [Ethereal-dev] Compiling problem

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

From: "Giannini Alessandro" <a.giannini.spes@xxxxxxxxxxxxxxx>
Date: Wed, 11 Jul 2001 09:43:14 +0200
Hi
 
when I try to compile ethereal 0.8.18., during ethereal.lib generation, the compiler return these errors :
 
................
 
 cd ftypes
 NMAKE /                   -f Makefile.nmake
'ftypes.lib' is up-to-date
 cd ..
 cd dfilter
 NMAKE /                   -f Makefile.nmake
'dfilter.lib' is up-to-date
 cd ..
 cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I.. /I../wiretap  /Ic:\prjvc\src\glib /Ic:\prjvc\src\gtk+ /Ic:\prjvc\src\glib/gmodule  /Ic:\prjvc\src\gtk+\gdk /Ic:\prjvc\src\gtk+\gdk\win32  /Ic:\prjvc\WPdpack\include -Zi -Fd\ -c .\atalk-utils.c .\bitswap.c .\column-utils.c .\conversation.c .\epan.c .\filesystem.c .\frame_data.c .\ipv4.c .\osi-utils.c .\packet.c .\packet_info.c .\plugins.c .\proto.c .\resolv.c .\sna-utils.c .\strutil.c .\to_str.c .\tvbuff.c .\value_string.c
atalk-utils.c
c:\prjvc\src\glib\gtypes.h(41) : error C2054: expected '(' to follow 'G_BEGIN_DECLS'
c:\prjvc\src\glib\gtypes.h(41) : error C2085: 'gchar' : not in formal parameter list
c:\prjvc\src\glib\gtypes.h(42) : error C2085: 'gshort' : not in formal parameter list
                                |
                                |
                                |
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\malloc.h(69) : error C2054: expected '(' to follow 'G_END_DECLS'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\malloc.h(69) : error C2085: 'size_t' : not in formal parameter list
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\malloc.h(92) : error C2061: syntax error : identifier 'size_t'
                                |
                                |
                                |
c:\prjvc\src\glib\garray.h(34) : error C2054: expected '(' to follow 'G_BEGIN_DECLS'
c:\prjvc\src\glib\garray.h(34) : error C2085: 'GArray' : not in formal parameter list
c:\prjvc\src\glib\garray.h(35) : error C2085: 'GByteArray' : not in formal parameter list
c:\prjvc\src\glib\garray.h(36) : error C2085: 'GPtrArray' : not in formal parameter list
c:\prjvc\src\glib\garray.h(40) : error C2061: syntax error : identifier 'gchar'
c:\prjvc\src\glib\garray.h(42) : error C2059: syntax error : '}'
c:\prjvc\src\glib\garray.h(66) : error C2143: syntax error : missing '{' before '*'
                                |
                                |
                                |
c:\prjvc\src\glib\garray.h(90) : fatal error C1003: error count exceeds 100; stopping compilation
 
someone can help me ? ..........
 
Thanks in advance ...