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" <jaap.keuter@xxxxxxxxx> To: "Ethereal development" <ethereal-dev@xxxxxxxxxxxx> 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 > Ethereal-dev@xxxxxxxxxxxx > http://www.ethereal.com/mailman/listinfo/ethereal-dev
Powered by MHonArc 2.6.10