Ethereal-dev: [Ethereal-dev] Re: [Ethereal-users] ethereal 0.9.1 compile failures

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

From: Chris Ricker <kaboom@xxxxxxxxxx>
Date: Wed, 13 Feb 2002 10:52:46 -0700 (MST)
On Tue, 12 Feb 2002, Guy Harris wrote:

> > I'm trying to build ethereal 0.9.1 on Solaris 8 (using gcc 2.95.3), and I'm 
> > dying in the linking stage:

I fixed that problem.  It turned out to be stupid library linking errors 
(Glib wasn't compiled with -R) that exporting LD_LIBRARY_CONFIG fixed.

Now it compiles fine, but crashes with a bus error.  Here's the last bit of
the truss:

read(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 1300)     = 1300
brk(0x003E6F78)                                 = 0
brk(0x003E8F78)                                 = 0
brk(0x003E8F78)                                 = 0
brk(0x003EAF78)                                 = 0
brk(0x003EAF78)                                 = 0
brk(0x003ECF78)                                 = 0
    Incurred fault #5, FLTACCESS  %pc = 0xFF0B7A20
      siginfo: SIGBUS BUS_ADRALN addr=0xFFBEF7F4
    Received signal #10, SIGBUS [default]
      siginfo: SIGBUS BUS_ADRALN addr=0xFFBEF7F4
        *** process killed ***

And here's the gdb backtrace:

#0  0xff0b7a20 in gtk_args_collect (object_type=43797, 
    arg_info_hash_table=0x3dedc0, arg_list_p=0xffbef77c, 
    info_list_p=0xffbef778, 
    first_arg_name=0xff0b7c2c 
"�������������������\034���\034���\034���\034���\034�������\b���\034���\034���\034���\034���\034���d���d���0���d���d���\210\235�\220@\005_�\220\020", 
var_args=0xffbef7f4) at gtkarg.c:276
276     gtkarg.c: No such file or directory.
(gdb) backtrace
#0  0xff0b7a20 in gtk_args_collect (object_type=43797, 
    arg_info_hash_table=0x3dedc0, arg_list_p=0xffbef77c, 
    info_list_p=0xffbef778, 
    first_arg_name=0xff0b7c2c 
"�������������������\034���\034���\034���\034���\034�������\b���\034���\034���\034���\034���\034���d���d���0���d���d���\210\235�\220@\005_�\220\020", 
var_args=0xffbef7f4) at gtkarg.c:276
#1  0xff15b124 in gtk_object_args_collect (object_type=43797, 
    arg_list_p=0xffbef77c, info_list_p=0xffbef778, 
    first_arg_name=0xff1e2d50 "GtkWidget::visible", var_args=0xffbef7dc)
    at gtkobject.c:981
#2  0xff1c2af4 in gtk_widget_new (widget_type=4109920, 
    first_arg_name=0xff1e2d50 "GtkWidget::visible") at gtkwidget.c:1059
#3  0xff12d80c in gtk_item_factory_create_item (ifactory=0x3e89d8, 
    entry=0x358620, callback_data=0x3e88a8, callback_type=2)
    at gtkitemfactory.c:1116
#4  0xff12c918 in gtk_item_factory_create_items_ac (ifactory=0x3e89d8, 
    n_entries=24, entries=0x358620, callback_data=0x3e88a8, callback_type=2)
    at gtkitemfactory.c:838
#5  0x192444 in get_main_menu ()
#6  0x1923b4 in get_main_menu ()
#7  0x1911c4 in boldify ()
#8  0x190a74 in main ()
(gdb) 

I'm kinda suspicious about that "gtkarg.c No such file or directory"  
message.

I've also attached gzipped output from the make and configure stages on a
pristine 0.9.1 tree; since I initially had build problems, they might be 
useful.

thanks,
chris

Attachment: make-ethereal.out.gz
Description: GNU Zip compressed data

Attachment: configure-ethereal.out.gz
Description: GNU Zip compressed data