On Mon, Feb 09, 2004 at 06:17:49PM +0100, Joerg Mayer wrote: > Ok, attached is a new version. For now, I create libdfilter and > libftypes as dynamic libs.
Well, the good news is that GLib 2.x and GTK+ 2.x *do* generate shared libraries on Mac OS X, and I was able to build Ethereal with the shared libraries. The bad news is that it crashes: #0 0x00617650 in g_hash_table_lookup (hash_table=0x500c30, key=0xb5ff0) at ghash.c:126 #1 0x02234bfc in register_dissector (name=0xb5ff0 "rdm", dissector=0xb58a0 <dissect_rdm>, proto=16534) at packet.c:1553 #2 0x02235114 in plugins_scan_dir (dirname=0x4096 "?\231\177??x\177\204?xK??IH") at plugins.c:283 #3 0x02235198 in init_plugins (plugin_dir=0x7c6b1b78 <Address 0x7c6b1b78 out of bounds>) at plugins.c:369 #4 0x022352dc in proto_init (plugin_dir=0x17474 "/usr/local/lib/ethereal/plugins/0.10.0a", register_all_protocols=0x24f9a7c <register_all_protocols>, register_all_protocol_handoffs=0x24fa164 <register_all_protocol_handoffs>) at proto.c:251 #5 0x02230e8c in epan_init (plugin_dir=0x17474 "/usr/local/lib/ethereal/plugins/0.10.0a", register_all_protocols=0x24f9a7c <register_all_protocols>, register_all_handoffs=0x24fa164 <register_all_protocol_handoffs>) at epan.c:53 #6 0x0000eea8 in main (argc=2, argv=0xbffffb28) at tethereal.c:836 I haven't yet figured out why it's crashing. I'll see if I can build a static version and see if that crashes, to see whether it's a GLib/GTK+ 2.x issue or a shared-libethereal issue. _______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev