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



Hello

Sébastien Granjoux wrote:
> 
> 
> solarisx a écrit :
>> I tried to uncomment gdb in configure and in the Makefiles without
>> success.
>> Simply removing gdbmi-test and modifying the Makefile didnt work too.
> 
> What kind of error do you get ? make still try to build gdbmi-test or 
> you get an error on another file ?
> 

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


Sébastien Granjoux wrote:
> 
>> Is there a fast way to fix the problem?
> 
> The clean way to remove gdbmi-test is to remove the following lines
> noinst_PROGRAMS = gdbmi-test
> gdbmi_test_SOURCES = gdbmi-test.c
> gdbmi_test_LDADD = libanjuta-gdb.la
> But you need to regenerate all makefiles which takes quite a lots of time.
> 

I have tested your clean way, but seems there are more dependencies.

----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----


Sébastien Granjoux wrote:
> 
> Anyway, there is probably a problem with the build process which would 
> probably give some errors later. Which version of autotool do you use ?
> 

I use the autotools-dev (20060702.1), from the debian testing repository.
Further
automake (1:1.10+nogfdl-1)
autoconf (2.61-3)
libtool (1.5.22-4)
gettext (0.16.1-1)
are installed.

kind regards,  solarisx


-- 
View this message in context: http://www.nabble.com/anjuta-compile-errors-at-libs-libanjuta-gdb.so%3A-tf2948566.html#a8287795
Sent from the Anjuta - Users mailing list archive at Nabble.com.





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