Ethereal-users: [ethereal-users] Trouble compiling ethereal.
This is certainly my stupidity but when I try to compile ethereal on a
linux redhat 5.1 I get a "parse error in menu.h". I tried using
-traditional switch on gcc and the previous version of ethereal but it
still would not compile. What am I doing wrong?
Thanks
Script started on Mon Sep 7 14:53:42 1998
[
~/src/ethereal-0.3.13/ethereal-0.3.9]\> uname -a
Linux orinoco.aston.ac.uk 2.0.35 #1 Fri Aug 7 15:09:45 BST 1998 i586 unknown
[ ~/src/ethereal-0.3.13/ethereal-0.3.9]\> make
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/lib/glib/include
-I/usr/X11R6/include -c ethereal.c
In file included from ethereal.c:58:
menu.h:32: parse error before `GtkAcceleratorTable'
ethereal.c: In function `main':
ethereal.c:212: `GtkAcceleratorTable' undeclared (first use this function)
ethereal.c:212: (Each undeclared identifier is reported only once
ethereal.c:212: for each function it appears in.)
ethereal.c:212: `accel' undeclared (first use this function)
ethereal.c:213: parse error before `col_width'
ethereal.c:235: `bv_size' undeclared (first use this function)
ethereal.c:247: `pl_size' undeclared (first use this function)
ethereal.c:250: `cf_name' undeclared (first use this function)
ethereal.c:256: `tv_size' undeclared (first use this function)
ethereal.c:273: `rc_file' undeclared (first use this function)
ethereal.c:273: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
ethereal.c:320: `cl_title' undeclared (first use this function)
ethereal.c:332: `col_width' undeclared (first use this function)
make: *** [ethereal.o] Error 1
[ ~/src/ethereal-0.3.13/ethereal-0.3.9]\> exit
Script done on Mon Sep 7
14:53:56 1998
---
John Williams Team Leader Academic Systems
LIS (MB) Aston University
Aston Triangle Birmingham B4 7ET
0121 359 3611 x 5142 Fax 0121 359 7358
Mobile 0410866418