Ethereal-users: Re: [Ethereal-users] 'make' error on AIX

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

From: "Ketan P Pancholi" <pancholi@xxxxxxxxxx>
Date: Fri, 10 Aug 2001 16:30:21 -0400
Guy,

The patch that you sent for the mergecap doesn't  work somehow.So I tried
commenting out the mergecap section in the makefile.Now ethereal is
installed.But when I try to run  ethereal on command line,it comes up with
a list of GTK-Warnings on my shell like,

Gtk-WARNING **: invalid cast from `GtkCTree' to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 725: assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid cast from `GtkCTree' to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 725: assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid cast from `GtkCTree' to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 725: assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid cast from `GtkCTree' to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 725: assertion `GTK_IS_OBJECT (object)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1425: assertion `GTK_IS_WIDGET (widget)' failed.



But it stil opens the ethereal window.Now, I can start the capture but when
I stop it, all the windows dissappear,and it shows the following message on
my shell


** CRITICAL **: file gtkclist.c: line 2619 (gtk_clist_clear): assertion `GTK_IS_CLIST (clist)' failed.

Gtk-WARNING **: invalid cast from `GtkCTree' to `GtkCList'

** CRITICAL **: file gtkclist.c: line 1248 (gtk_clist_freeze): assertion `GTK_IS_CLIST (clist)' failed.
ksh: 34514 Illegal instruction(coredump)


Thanks,
Ketan Pancholi





Guy Harris <gharris@xxxxxxxxx>@ethereal.com on 08/10/2001 02:44:16 AM

Sent by:  ethereal-users-admin@xxxxxxxxxxxx


To:   Ketan P Pancholi/Austin/IBM@IBMUS
cc:   ethereal-users@xxxxxxxxxxxx
Subject:  Re: [Ethereal-users] 'make' error on AIX

On Thu, Aug 09, 2001 at 05:27:28PM -0400, Ketan P Pancholi wrote:
> I am trying to install the latest ethereal version 0.8.19 on AIX.While
> doing the make its giving me the following error:
>
>
>    (cd doc ;  make ../mergecap.1 )
> make: 1254-002 Cannot find a rule to create target ../mergecap.1 from
dependencies.
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
> Does anyone have any idea what's causing this?

An error building the release tarball, I suspect; the "doc/Makefile.in"
file wasn't rebuilt, for some reason, after the support for Mergecap was
checked in, so the rules for making the Mergecap documentation weren't
in it.  (Note that the "$Id" line in "doc/Makefile.in" says

     # $Id: Makefile.am,v 1.10 2001/05/16 21:32:05 ashokn Exp $

rather than

     # $Id: Makefile.am,v 1.11 2001/07/12 19:59:40 guy Exp $

even though "doc/Makefile.am" has the latter line; "doc/Makefile.in" was
generated from the previous version of "doc/Makefile.am", which didn't
yet have the Mergecap stuff added to it.)

Apply to "doc/Makefile.in" the attached patch (you will need the "patch"
command; if you don't have it and can't get it, you'll have to apply the
patch by hand).

(This is not in any way AIX-specific; it's a universal bug that applies
on all UNIX-flavored OSes.)

(See attached file: patch)



Attachment: patch
Description: Binary data