error in printing error message using simple_dialog

"Raman Singla" <[email protected]>
Newsgroups gmane.network.ethereal.devel
Message-ID <[email protected]>
Hi,

I want to use simple_dialog function defined in "gtk/simple_dialog.c" for
printing error messages.

simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, dec_err_msg);

it is giving an linking error.
epan/./libs/libethereal.so: undefined reference to 'simple_dialog'

kindly help me out

thanks
raman




----- Original Message ----- 
From: "Jaap Keuter" <[email protected]>
To: "Ethereal development" <[email protected]>
Sent: 2006 Jun 02 2:28 AM
Subject: Re: [Ethereal-dev] how to print error messages in dissector


> Hi,
>
> There are two ways to do that:
> 1. use ptoto_tree_add_text to add a line of text to the packet details
> 2. use expert info functions to emit a note/warn/error which can be seen
> from the relevant menu option.
>
> case 1 is directly visible for the user, but only when selecting the
> specific package
>
> case 2 gives a more accessable overview, but has to be called up from the
> menu, so is unavailable for tethereal
>
>
> Thanx,
> Jaap
>
> On Fri, 2 Jun 2006, Raman Singla wrote:
>
> > Hi all,
> > I want display error message in dissector to users if certain
> > conditions are not met. Kindly let me know how to print messages.
> >
> > Raman
> > Ext - 1667
>
> _______________________________________________
> Ethereal-dev mailing list
> [email protected]
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.