Ethereal-dev: [Ethereal-dev] build failed
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Sofia Altieri" <sofiaaltieri@xxxxxxxxxxx>
Date: Sun, 23 Apr 2006 07:05:23 +0000
Hello List,I'd like to write a gtk tap for my_proto dissector. When I build under /gtk directory it fails.
Here is the list of errors: ----------------------------------------------------------------------------------------------------------------------- about_dlg.c:30:21: error: gtk/gtk.h: No such file or directory In file included from about_dlg.c:32: ../epan/filesystem.h:105: error: syntax error before �gboolean� ../epan/filesystem.h:116: error: syntax error before �deletefile�../epan/filesystem.h:116: warning: type defaults to �int� in declaration of �del etefile� ../epan/filesystem.h:116: warning: data definition has no type or storage class
../epan/filesystem.h:122: error: syntax error before �gboolean� ../epan/filesystem.h:133: error: syntax error before �file_exists�../epan/filesystem.h:133: warning: type defaults to �int� in declaration of �fil e_exists� ../epan/filesystem.h:133: warning: data definition has no type or storage class
../epan/filesystem.h:138: error: syntax error before �files_identical�../epan/filesystem.h:138: warning: type defaults to �int� in declaration of �fil es_identical� ../epan/filesystem.h:138: warning: data definition has no type or storage class
In file included from about_dlg.c:34: about_dlg.h:38: error: syntax error before �*� tokenabout_dlg.h:38: warning: type defaults to �int� in declaration of �splash_new�
about_dlg.h:38: warning: data definition has no type or storage class about_dlg.h:45: error: syntax error before �*� token about_dlg.h:52: error: syntax error before �*� token about_dlg.h:59: error: syntax error before �*� token In file included from about_dlg.c:35: ui_util.h:106: error: syntax error before �*� token ui_util.h:106: error: syntax error before �type�ui_util.h:106: warning: type defaults to �int� in declaration of �window_new�
ui_util.h:106: warning: data definition has no type or storage class ui_util.h:116: error: syntax error before �*� token ui_util.h:116: error: syntax error before �type�ui_util.h:116: warning: type defaults to �int� in declaration of �window_new_wit h_geom�
ui_util.h:116: warning: data definition has no type or storage class ui_util.h:122: error: syntax error before �*� tokenui_util.h:122: warning: type defaults to �int� in declaration of �splash_window_ new�
ui_util.h:122: warning: data definition has no type or storage class ui_util.h:129: error: syntax error before �*� token ui_util.h:132: error: syntax error before �*� token ui_util.h:142: error: syntax error before �*� token ui_util.h:149: error: syntax error before �*� token ui_util.h:155: error: syntax error before �*� token ui_util.h:161: error: syntax error before �*� token ui_util.h:183: error: syntax error before �*� token ui_util.h:190: error: syntax error before �*� token ui_util.h:215: error: syntax error before �*� token ui_util.h:226: error: syntax error before �*� token ui_util.h:226: error: syntax error before �*� tokenui_util.h:227: warning: type defaults to �int� in declaration of �scrolled_windo w_new�
ui_util.h:227: warning: data definition has no type or storage class ui_util.h:240: error: syntax error before �*� token ui_util.h:240: warning: type defaults to �int� in declaration of �ctree_new� ui_util.h:240: warning: data definition has no type or storage class ui_util.h:248: error: syntax error before �*� tokenui_util.h:249: warning: type defaults to �int� in declaration of �ctree_new_with _titles�
ui_util.h:249: warning: data definition has no type or storage class ui_util.h:264: error: syntax error before �*� tokenui_util.h:264: warning: type defaults to �int� in declaration of �simple_list_ne w�
ui_util.h:264: warning: data definition has no type or storage class ui_util.h:270: error: syntax error before �*� token ui_util.h:283: error: syntax error before �*� tokenui_util.h:283: warning: type defaults to �int� in declaration of �xpm_to_widget�
ui_util.h:283: warning: data definition has no type or storage class ui_util.h:292: error: syntax error before �*� token ui_util.h:292: error: syntax error before �*� tokenui_util.h:292: warning: type defaults to �int� in declaration of �xpm_to_widget_ from_parent�
ui_util.h:292: warning: data definition has no type or storage class In file included from about_dlg.c:36: dlg_utils.h:98: error: syntax error before �*� tokendlg_utils.h:98: warning: type defaults to �int� in declaration of �dlg_window_ne w�
dlg_utils.h:98: warning: data definition has no type or storage class dlg_utils.h:115: error: syntax error before �*� tokendlg_utils.h:115: warning: type defaults to �int� in declaration of �file_selecti on_new�
dlg_utils.h:115: warning: data definition has no type or storage class dlg_utils.h:123: error: syntax error before �*� token dlg_utils.h:131: error: syntax error before �*� token dlg_utils.h:145: error: syntax error before �*� token dlg_utils.h:169: error: syntax error before �*� tokendlg_utils.h:169: warning: type defaults to �int� in declaration of �dlg_button_r ow_new�
dlg_utils.h:169: warning: data definition has no type or storage class dlg_utils.h:178: error: syntax error before �*� token dlg_utils.h:182: error: syntax error before �*� token dlg_utils.h:183: error: syntax error before �GtkAccelGroup�dlg_utils.h:183: warning: type defaults to �int� in declaration of �dlg_radio_bu tton_new_with_label_with_mnemonic�
dlg_utils.h:183: warning: data definition has no type or storage class dlg_utils.h:185: error: syntax error before �*� token dlg_utils.h:186: error: syntax error before �GtkAccelGroup�dlg_utils.h:186: warning: type defaults to �int� in declaration of �dlg_check_bu tton_new_with_label_with_mnemonic�
dlg_utils.h:186: warning: data definition has no type or storage class dlg_utils.h:188: error: syntax error before �*� token dlg_utils.h:189: error: syntax error before �GtkAccelGroup�dlg_utils.h:189: warning: type defaults to �int� in declaration of �dlg_toggle_b utton_new_with_label_with_mnemonic�
dlg_utils.h:189: warning: data definition has no type or storage class In file included from about_dlg.c:46: gtkglobals.h:43: error: syntax error before �*� tokengtkglobals.h:43: warning: type defaults to �int� in declaration of �top_level�
gtkglobals.h:43: warning: data definition has no type or storage class gtkglobals.h:46: error: syntax error before �*� tokengtkglobals.h:46: warning: type defaults to �int� in declaration of �packet_list�
gtkglobals.h:46: warning: data definition has no type or storage class gtkglobals.h:49: error: syntax error before �*� tokengtkglobals.h:49: warning: type defaults to �int� in declaration of �tree_view�
gtkglobals.h:49: warning: data definition has no type or storage class gtkglobals.h:52: error: syntax error before �*� tokengtkglobals.h:52: warning: type defaults to �int� in declaration of �byte_nb_ptr�
gtkglobals.h:52: warning: data definition has no type or storage class gtkglobals.h:55: error: syntax error before �*� tokengtkglobals.h:55: warning: type defaults to �int� in declaration of �main_display _filter_widget�
gtkglobals.h:55: warning: data definition has no type or storage class about_dlg.c:51: error: syntax error before �*� tokenabout_dlg.c:51: warning: type defaults to �int� in declaration of �about_plugins _page_new�
about_dlg.c:51: warning: data definition has no type or storage class about_dlg.c:54: error: syntax error before �*� token about_dlg.c:63: error: syntax error before �*� tokenabout_dlg.c:63: warning: type defaults to �int� in declaration of �about_etherea l_w�
about_dlg.c:63: warning: data definition has no type or storage class about_dlg.c:67: error: syntax error before �*� token about_dlg.c: In function �about_ethereal�: about_dlg.c:69: error: �GtkWidget� undeclared (first use in this function) about_dlg.c:69: error: (Each undeclared identifier is reported only once about_dlg.c:69: error: for each function it appears in.) about_dlg.c:69: error: �msg_label� undeclared (first use in this function) about_dlg.c:69: error: �icon� undeclared (first use in this function) about_dlg.c:69: warning: left-hand operand of comma expression has no effect about_dlg.c:69: warning: statement with no effect about_dlg.c:74: error: �parent� undeclared (first use in this function)about_dlg.c:75: warning: implicit declaration of function �gtk_container_add�
about_dlg.c:75: warning: implicit declaration of function �GTK_CONTAINER� about_dlg.c:75: error: �main_vb� undeclared (first use in this function) about_dlg.c:77: warning: implicit declaration of function �gtk_label_new� about_dlg.c:77: error: �title� undeclared (first use in this function) about_dlg.c: At top level: about_dlg.c:87: error: syntax error before �*� token about_dlg.c:89: warning: return type defaults to �int� about_dlg.c: In function �splash_new�: about_dlg.c:90: error: �GtkWidget� undeclared (first use in this function) about_dlg.c:90: error: �win� undeclared (first use in this function) about_dlg.c:91: error: �main_lb� undeclared (first use in this function) about_dlg.c:93: error: �main_vb� undeclared (first use in this function)about_dlg.c:101: warning: implicit declaration of function �gtk_widget_realize�
about_dlg.c:103: warning: implicit declaration of function �gtk_vbox_new�about_dlg.c:104: warning: implicit declaration of function �gtk_container_border _width� about_dlg.c:111: warning: implicit declaration of function �gtk_object_set_data�
about_dlg.c:111: warning: implicit declaration of function �GTK_OBJECT�about_dlg.c:113: warning: implicit declaration of function �gtk_widget_show_all�
about_dlg.c: At top level: about_dlg.c:121: error: syntax error before �*� token about_dlg.c: In function �splash_update�: about_dlg.c:123: error: �GtkWidget� undeclared (first use in this function) about_dlg.c:123: error: �main_lb� undeclared (first use in this function) about_dlg.c:125: error: �win� undeclared (first use in this function)about_dlg.c:127: warning: implicit declaration of function �gtk_object_get_data� about_dlg.c:128: warning: implicit declaration of function �gtk_label_set_text�
about_dlg.c:128: warning: implicit declaration of function �GTK_LABEL� about_dlg.c:128: error: �message� undeclared (first use in this function)about_dlg.c:132: warning: implicit declaration of function �gtk_events_pending� about_dlg.c:132: warning: implicit declaration of function �gtk_main_iteration�
about_dlg.c: At top level: about_dlg.c:136: error: syntax error before �*� token about_dlg.c: In function �splash_destroy�: about_dlg.c:138: error: �win� undeclared (first use in this function)about_dlg.c:140: warning: implicit declaration of function �gtk_widget_destroy�
about_dlg.c: At top level: about_dlg.c:145: error: syntax error before �*� token about_dlg.c:147: warning: return type defaults to �int� about_dlg.c: In function �about_ethereal_page_new�: about_dlg.c:148: error: �GtkWidget� undeclared (first use in this function) about_dlg.c:148: error: �main_vb� undeclared (first use in this function) about_dlg.c:148: error: �msg_label� undeclared (first use in this function)about_dlg.c:148: warning: left-hand operand of comma expression has no effect
about_dlg.c:148: warning: statement with no effectabout_dlg.c:174: warning: implicit declaration of function �gtk_label_set_justif y� about_dlg.c:174: error: �GTK_JUSTIFY_FILL� undeclared (first use in this functio n)
about_dlg.c: At top level: about_dlg.c:198: error: syntax error before �*� token about_dlg.c: In function �about_folders_row�: about_dlg.c:200: error: �table� undeclared (first use in this function) about_dlg.c:200: error: �label� undeclared (first use in this function) about_dlg.c:200: error: �dir� undeclared (first use in this function) about_dlg.c:200: error: �tip� undeclared (first use in this function) about_dlg.c: At top level: about_dlg.c:204: error: syntax error before �*� token about_dlg.c:206: warning: return type defaults to �int� about_dlg.c: In function �about_folders_page_new�: about_dlg.c:207: error: �GtkWidget� undeclared (first use in this function) about_dlg.c:207: error: �table� undeclared (first use in this function)about_dlg.c:211: error: �scrolledwindow� undeclared (first use in this function)
about_dlg.c: At top level: about_dlg.c:276: error: syntax error before �*� token about_dlg.c:280: warning: type defaults to �int� in declaration of �page_lb�about_dlg.c:280: warning: type defaults to �int� in declaration of �about_page� about_dlg.c:280: warning: type defaults to �int� in declaration of �folders_page � about_dlg.c:280: warning: type defaults to �int� in declaration of �plugins_page �
about_dlg.c:280: warning: data definition has no type or storage class about_dlg.c:285: error: syntax error before �if�about_dlg.c:297: warning: type defaults to �int� in declaration of �about_ethere al_w�
about_dlg.c:297: error: conflicting types for �about_ethereal_w� about_dlg.c:63: error: previous declaration of �about_ethereal_w� was hereabout_dlg.c:297: warning: initialization makes integer from pointer without a ca st
about_dlg.c:297: error: initializer element is not constant about_dlg.c:297: warning: data definition has no type or storage class about_dlg.c:303: error: syntax error before �(� tokenabout_dlg.c:303: warning: type defaults to �int� in declaration of �gtk_window_s et_position� about_dlg.c:303: warning: type defaults to �int� in declaration of �GTK_WIN_POS_ CENTER�
about_dlg.c:303: error: syntax error before �)� token about_dlg.c:308: error: syntax error before �(� tokenabout_dlg.c:308: warning: type defaults to �int� in declaration of �gtk_containe r_border_width�
about_dlg.c:310: warning: type defaults to �int� in declaration of �main_vb� about_dlg.c:310: error: initializer element is not constant about_dlg.c:310: warning: data definition has no type or storage class about_dlg.c:311: error: syntax error before �(� tokenabout_dlg.c:311: warning: type defaults to �int� in declaration of �gtk_containe r_border_width�
about_dlg.c:312: error: syntax error before �(� tokenabout_dlg.c:312: warning: type defaults to �int� in declaration of �gtk_containe r_add�
about_dlg.c:312: warning: type defaults to �int� in declaration of �main_vb� about_dlg.c:312: error: syntax error before �)� token about_dlg.c:314: warning: type defaults to �int� in declaration of �main_nb�about_dlg.c:314: warning: implicit declaration of function �gtk_notebook_new�
about_dlg.c:314: error: initializer element is not constant about_dlg.c:314: warning: data definition has no type or storage class about_dlg.c:315: error: syntax error before �(� tokenabout_dlg.c:315: warning: type defaults to �int� in declaration of �gtk_box_pack _start�
about_dlg.c:315: warning: type defaults to �int� in declaration of �main_nb� about_dlg.c:315: error: syntax error before �!� tokenabout_dlg.c:317: warning: type defaults to �int� in declaration of �about_page�
about_dlg.c:317: error: conflicting types for �about_page� about_dlg.c:280: error: previous declaration of �about_page� was hereabout_dlg.c:317: warning: initialization makes integer from pointer without a ca st
about_dlg.c:317: error: initializer element is not constant about_dlg.c:317: warning: data definition has no type or storage class about_dlg.c:318: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:318: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:318: error: initializer element is not constant about_dlg.c:318: warning: data definition has no type or storage class about_dlg.c:319: error: syntax error before �(� tokenabout_dlg.c:319: warning: type defaults to �int� in declaration of �gtk_notebook _append_page� about_dlg.c:319: warning: type defaults to �int� in declaration of �about_page�
about_dlg.c:319: error: conflicting types for �about_page� about_dlg.c:280: error: previous declaration of �about_page� was here about_dlg.c:319: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:319: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:319: error: syntax error before �)� tokenabout_dlg.c:327: warning: type defaults to �int� in declaration of �folders_page �
about_dlg.c:327: error: conflicting types for �folders_page� about_dlg.c:280: error: previous declaration of �folders_page� was hereabout_dlg.c:327: warning: initialization makes integer from pointer without a ca st
about_dlg.c:327: error: initializer element is not constant about_dlg.c:327: warning: data definition has no type or storage class about_dlg.c:328: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:328: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:328: error: initializer element is not constant about_dlg.c:328: warning: data definition has no type or storage class about_dlg.c:329: error: syntax error before �(� tokenabout_dlg.c:329: warning: type defaults to �int� in declaration of �gtk_notebook _append_page� about_dlg.c:329: warning: type defaults to �int� in declaration of �folders_page �
about_dlg.c:329: error: conflicting types for �folders_page� about_dlg.c:280: error: previous declaration of �folders_page� was here about_dlg.c:329: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:329: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:329: error: syntax error before �)� tokenabout_dlg.c:332: warning: type defaults to �int� in declaration of �plugins_page �
about_dlg.c:332: error: conflicting types for �plugins_page� about_dlg.c:280: error: previous declaration of �plugins_page� was hereabout_dlg.c:332: warning: initialization makes integer from pointer without a ca st
about_dlg.c:332: error: initializer element is not constant about_dlg.c:332: warning: data definition has no type or storage class about_dlg.c:333: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:333: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:333: error: initializer element is not constant about_dlg.c:333: warning: data definition has no type or storage class about_dlg.c:334: error: syntax error before �(� tokenabout_dlg.c:334: warning: type defaults to �int� in declaration of �gtk_notebook _append_page� about_dlg.c:334: warning: type defaults to �int� in declaration of �plugins_page �
about_dlg.c:334: error: conflicting types for �plugins_page� about_dlg.c:280: error: previous declaration of �plugins_page� was here about_dlg.c:334: warning: type defaults to �int� in declaration of �page_lb� about_dlg.c:334: error: conflicting types for �page_lb� about_dlg.c:280: error: previous declaration of �page_lb� was here about_dlg.c:334: error: syntax error before �)� token about_dlg.c:338: warning: type defaults to �int� in declaration of �bbox�about_dlg.c:338: warning: initialization makes integer from pointer without a ca st
about_dlg.c:338: error: initializer element is not constant about_dlg.c:338: warning: data definition has no type or storage class about_dlg.c:339: error: syntax error before �(� tokenabout_dlg.c:339: warning: type defaults to �int� in declaration of �gtk_box_pack _start�
about_dlg.c:339: warning: type defaults to �int� in declaration of �bbox� about_dlg.c:339: error: syntax error before numeric constant about_dlg.c:341: warning: type defaults to �int� in declaration of �ok_btn� about_dlg.c:341: error: initializer element is not constant about_dlg.c:341: warning: data definition has no type or storage classabout_dlg.c:342: warning: type defaults to �int� in declaration of �window_set_c ancel_button� about_dlg.c:342: warning: parameter names (without types) in function declaratio n
about_dlg.c:342: error: conflicting types for �window_set_cancel_button�ui_util.h:142: error: previous declaration of �window_set_cancel_button� was her e
about_dlg.c:342: warning: data definition has no type or storage class about_dlg.c:344: error: syntax error before �(� tokenabout_dlg.c:344: warning: type defaults to �int� in declaration of �gtk_signal_c onnect�
about_dlg.c:345: error: syntax error before �(� tokenabout_dlg.c:345: warning: type defaults to �int� in declaration of �gtk_signal_c onnect� about_dlg.c:347: warning: type defaults to �int� in declaration of �gtk_widget_s how_all� about_dlg.c:347: warning: parameter names (without types) in function declaratio n
about_dlg.c:347: warning: data definition has no type or storage classabout_dlg.c:348: warning: type defaults to �int� in declaration of �window_prese nt� about_dlg.c:348: warning: parameter names (without types) in function declaratio n
about_dlg.c:348: error: conflicting types for �window_present� ui_util.h:129: error: previous declaration of �window_present� was here about_dlg.c:348: warning: data definition has no type or storage class about_dlg.c:349: error: syntax error before �}� token about_dlg.c:352: error: syntax error before �*� token -------------------------------------------------------------------------------------------------------------------------------------It looks like I miss gtk.h. So I thought I'd had better install the package libgtk2.0-dev I have ubuntu and used Synaptic to download and install it but before proceeding I was warned it'd need to disinstall packets such as:
x-window-system-core xorg-common xorg-driver [...] xserver-common xserver-driver-synaptics xserver-xorg xserver-xorg-core and so on which seems to me to be toxic ; ) Then, how shall I deal with this annoyance : ) ? Thank you _________________________________________________________________Personalizza MSN Messenger con sfondi e fotografie! http://www.ilovemessenger.msn.it/
- Prev by Date: Re: [Ethereal-dev] packet-parlay.c takes a very long time to compile in Fedora Core 5
- Next by Date: [Ethereal-dev] How to build Ethereal on Windows XP using MS VC6.0
- Previous by thread: [Ethereal-dev] Better define the meaning of the bugzilla severities and reduce their number?
- Next by thread: [Ethereal-dev] How to build Ethereal on Windows XP using MS VC6.0
- Index(es):