Re: [Anjuta-list] anjuta compile errors at libs/libanjuta-gdb.so:



Hi,

solarisx a écrit :
Yes I got errors at the element-editor.c. These are the same as with your
clean way(see below).

It's quite normal as both end to the same result. But it means too that the problem is not with gdbmi-test program.

----snip----
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DORBIT2=1 -pthread
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
-I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-I../.. -DPACKAGE_PIXMAPS_DIR=\"/usr/local/share/pixmaps/anjuta\"
-DPACKAGE_DATA_DIR=\"/usr/local/share/anjuta\" -O0 -g -Wall
-Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wpointer-arith -g
-O2 -MT element-editor.lo -MD -MP -MF .deps/element-editor.Tpo -c
element-editor.c  -fPIC -DPIC -o .libs/element-editor.o
element-editor.c: In function 'cg_element_editor_list_edited_cb':
element-editor.c:177: warning: implicit declaration of function
'gtk_list_store_set'
element-editor.c:177: warning: implicit declaration of function
'GTK_LIST_STORE'
element-editor.c: At top level:
element-editor.c:218: error: expected declaration specifiers or '...' before
'GtkEntry'
element-editor.c: In function 'cg_element_editor_string_editing_started_cb':
element-editor.c:250: warning: implicit declaration of function
'GTK_IS_ENTRY'
element-editor.c: In function
'cg_element_editor_arguments_editing_started_cb':
element-editor.c:271: warning: implicit declaration of function
'gtk_entry_get_text'
element-editor.c:271: warning: implicit declaration of function 'GTK_ENTRY'
element-editor.c:271: warning: assignment makes pointer from integer without
a cast
element-editor.c:274: warning: implicit declaration of function
'gtk_entry_set_text'
element-editor.c:278: warning: implicit declaration of function
'gtk_editable_set_position'
element-editor.c:278: warning: implicit declaration of function
'GTK_EDITABLE'
element-editor.c: In function 'cg_element_editor_add_button_clicked_cb':
element-editor.c:303: warning: implicit declaration of function
'gtk_list_store_append'
element-editor.c: In function 'cg_element_editor_remove_button_clicked_cb':
element-editor.c:344: warning: implicit declaration of function
'gtk_list_store_remove'
element-editor.c: In function 'cg_element_editor_init_list_renderer':
element-editor.c:507: warning: implicit declaration of function
'gtk_list_store_new'
element-editor.c: In function 'cg_element_editor_new':
element-editor.c:674: warning: implicit declaration of function
'gtk_list_store_newv'
make[4]: *** [element-editor.lo] Fehler 1
make[4]: Leaving directory `/home/linip/Progs/anjuta2/plugins/class-gen'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/linip/Progs/anjuta2/plugins/class-gen'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/linip/Progs/anjuta2/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/linip/Progs/anjuta2'
make: *** [all] Fehler 2
----snip----

I have looked the line where there is an error and it is

cg_element_editor_string_activate_cb (G_GNUC_UNUSED GtkEntry *entry,
                                      gpointer user_data)


I suppose that G_GNUC_UNUSED is not understand on your system. I don't know where it is defined but perhaps you can find it and try to understand what is the root cause of all these errors.

automake (1:1.10+nogfdl-1)
autoconf (2.61-3)
libtool (1.5.22-4)
gettext (0.16.1-1)

Here I have:
automake 1.9.6
autoconf 2.59
libtool 1.5.20
gettext 0.14.6

I haven't much experience with the compilation setup, so the best way is probably to take one error and search backward finding explanations until you get the root cause. I can try to send you some compilation result on my computer to check with yours.

Regards,

Sébastien




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]