Hi,
I've compiled ethereal-0.8.0 on AIX 4.3.2. I had to make a few minor
changes to get it to compile:
* plugins/gryphon/packet-gryphon.c
line 210, Syntax error
workaround: comment out default: clause (empty anyway)....
* packet-ncp.c
line 97.11: 1506-275 (S) Unexpected text '/' encountered.
workaround: add -qcpluscmt to CFLAGS
* packet-srvloc.c
line 155.11: 1506-068 (W) Operation between types "struct tm* " and "int"
line 156.16: 1506-285 (S) The indirection operator cannot be applied
workaround: include time.h
I also manually redid the links performed by libtool, since AIX seems to
disagree with it, and I removed the object-file "gtkclist.o" from
libui.a.
Ethereal seems to work, but it core-dumps when I try to enable the
gryphon plugin. Here is the stack trace from the core:
# dbx /usr/local/bin/ethereal
Type 'help' for help.
reading symbolic information ...warning: no source compiled with -g
[using memory image in core]
Segmentation fault in ptrgl._ptrgl
[/usr/local/lib/ethereal/plugins/0.8/shr.o] a
t 0xd11cc2f8 ($t1)
0xd11cc2f8 (_ptrgl+0x38) 800c0000 lwz r0,0x0(r12)
(dbx) t
ptrgl._ptrgl() at 0xd11cc2f8
packet-gryphon.proto_init() at 0xd11cbc50
plugins_enable_cb() at 0x100b4454
gtk_marshal_NONE__NONE() at 0xd0b216cc
gtk_handlers_run() at 0xd0b14080
gtk_signal_real_emit() at 0xd0b14eac
gtk_signal_emit() at 0xd0b15e8c
gtk_button_clicked() at 0xd0b7cfc0
gtk_real_button_released() at 0xd0b7a9f8
gtk_marshal_NONE__NONE() at 0xd0b216cc
gtk_signal_real_emit() at 0xd0b14c00
gtk_signal_emit() at 0xd0b15e8c
gtk_signal_emit() at 0xd0b15e8c
gtk_button_clicked() at 0xd0b7cfc0
gtk_real_button_released() at 0xd0b7a9f8
gtk_marshal_NONE__NONE() at 0xd0b216cc
gtk_signal_real_emit() at 0xd0b14c00
gtk_signal_emit() at 0xd0b15e8c
gtk_button_released() at 0xd0b7d0dc
gtk_button_button_release() at 0xd0b7b3f4
gtk_marshal_BOOL__POINTER() at 0xd0b21c50
gtk_signal_real_emit() at 0xd0b14da8
gtk_signal_emit() at 0xd0b15e8c
gtk_widget_event() at 0xd0b2db40
gtk_propagate_event() at 0xd0b38bd4
gtk_main_do_event() at 0xd0b3a2cc
gdk_event_dispatch() at 0xd0cefe00
g_main_dispatch() at 0xd05f6340
g_main_iterate() at 0xd05f6108
g_main_run() at 0xd05f7348
gtk_main() at 0xd0b39cc8
main() at 0x10001b74
(dbx)
Plugins are real new, this doesn't surprise me. Foes anyone have any ideas
on how I could investigate this more?
Thanks
Ciaran
PS:
I built a binary distribution for ethereal (without the plugin) and
put it on the AIX freeware/shareware archive (www-frec.bull.com).
+-------------------------------------------------------------------------+
Ciaran Deignan Tel: (France) 04 76 29 79 92
BULL XS-BU (http://www-frec.bull.com) HA and Consolidation
Mail to: Ciaran.Deignan@xxxxxxxx Bullcom: 229 79 92
PGP: B1 78 FB 88 FD 86 58 A8 89 7B 22 8C D0 E8 71 FC Fax: 229 75 18
+-------------------------------------------------------------------------+