Ethereal-dev: [Ethereal-dev] ethereal_static

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

From: Ed Warnicke <hagbard@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jul 2001 19:45:33 -0400 (EDT)
I have been having a problem building ethereal_static.  It would 
proceed to a certain point and then link forever ( OK, not quite 
forever, but I've never had ANYTHING take over 1 hour to link, so 
I cut off it's oxygen at that point).  

I made a small alteration to the Makefile.am ( adding the "-all-static" 
to the {tethereal,ethereal}_static_LDADD ) and now ethereal_static 
links just fine.  

Now ethereal_static links just fine, but will not run if you are 
using a theme which requires gdk_imlib ( which is most pixmap based
themes).  Switching to the default gtk theme resolves the problem. In case
anyone else sees this problem I'm going to include the error I got from 
running ethereal_static at the end of this message so the next poor 
sap who goes searching through google trying to figure out this 
problem can find something.  

Ed

hagbard@hagbard:~/build/src/ethereal$ ./ethereal_static 
gdk_imlib ERROR: gdk has not connected to the display

Gdk-CRITICAL **: file gdkwindow.c: line 1406 (gdk_window_get_visual):
assertion `window != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 4258 (gtk_widget_push_visual):
assertion `visual != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 4242 (gtk_widget_push_colormap):
assertion `cmap != NULL' failed.
Segmentation fault