ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Ethereal compiling breakage

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 3 Jun 2004 03:15:56 +0200
I'm getting the following:

file_dlg.c:732: warning: ISO C forbids braced-groups within expressions
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../wiretap -I/usr/local/include -DINET6 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -fno-strict-aliasing -Dlinux -I/usr/include/rpm -I. -I/usr/include -I/usr/include/heimdal   -DINET6 -D_U_="__attribute__((unused))" -Wall -W -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes -O -march=i686 -pipe -I/usr/local/include -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -DINET6 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -fno-strict-aliasing -Dlinux -I/usr/include/rpm -I. -I/usr/include -I/usr/include/heimdal  -MT follow_dlg.o -MD -MP -MF ".deps/follow_dlg.Tpo" -c -o follow_dlg.o follow_dlg.c; \
then mv -f ".deps/follow_dlg.Tpo" ".deps/follow_dlg.Po"; else rm -f ".deps/follow_dlg.Tpo"; exit 1; fi
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:90,
                 from follow_dlg.c:28:
/opt/gnome/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function declaration isn't a prototype
In file included from follow_dlg.c:52:
main.h:168: warning: comma at end of enumerator list
In file included from follow_dlg.c:64:
tap_menu.h:38: error: parse error before "REGISTER_TAP_GROUP_NONE"
tap_menu.h:38: warning: no semicolon at end of struct or union
tap_menu.h:43: warning: type defaults to `int' in declaration of `REGISTER_TAP_GROUP_E'
tap_menu.h:43: error: ISO C forbids data definition with no type or storage class
tap_menu.h:75: error: parse error before "REGISTER_TAP_GROUP_E"
tap_menu.h:77: error: `register_tap_menu_item' declared as function returning a function
tap_menu.h:77: warning: function declaration isn't a prototype
tap_menu.h:78: error: parse error before '*' token
tap_menu.h:78: error: `gboolean' declared as function returning a function
tap_menu.h:78: warning: function declaration isn't a prototype
tap_menu.h:78: error: `gboolean' redeclared as different kind of symbol
/opt/gnome/include/glib-2.0/glib/gtypes.h:45: error: previous declaration of `gboolean'
tap_menu.h:79: error: `gpointer' redeclared as different kind of symbol
/opt/gnome/include/glib-2.0/glib/gtypes.h:66: error: previous declaration of `gpointer'
tap_menu.h:79: error: parse error before "callback_data"
follow_dlg.c:92: error: parse error before "gboolean"
follow_dlg.c:92: warning: no semicolon at end of struct or union
follow_dlg.c:96: error: parse error before '}' token
follow_dlg.c:96: warning: type defaults to `int' in declaration of `follow_info_t'
follow_dlg.c:96: error: ISO C forbids data definition with no type or storage class
follow_dlg.c:98: error: parse error before "gpointer"

jmayer@egg:~/work/ethereal/main> cat cvsversion.h
#define CVSVERSION "CVS 20040603011012"


 Ciao
     Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.