Re: [Anjuta-list] anjuta compile errors at libs/libanjuta-gdb.so:
- From: solarisx <solarisx gmx net>
- To: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] anjuta compile errors at libs/libanjuta-gdb.so:
- Date: Sat, 13 Jan 2007 09:50:58 -0800 (PST)
Hello
Armin Burgmeier wrote:
>
> On Sat, 2007-01-13 at 09:48 +0100, Sébastien Granjoux wrote:
>> > ----snip----
>> > 'GTK_LIST_STORE'
>> > element-editor.c: At top level:
>> > element-editor.c:218: error: expected declaration specifiers or '...'
>> before
>> > 'GtkEntry'
>> > ----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)
>
> G_GNUC_UNUSED should always be defined by glib and do nothing if the
> compiler does not understand it. I would rather assume that there are
> some includes missing that are included via other files on Sébastiens
> (and my) system.
>
> Try adding #include <gtk/gtkentry.h> and #include <gtk/gtkliststore.h>
> to the other includes near the top of the file. If they work, they could
> be committed to SVN, I think.
>
Adding these two includes in the element-editor.c fixed the above problem.
But some new appeared:
----snip----
gcc -O0 -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wparentheses
-Wpointer-arith -g -O2 -o .libs/anjuta about.o anjuta.o anjuta-app.o
anjuta-callbacks.o action-callbacks.o bacon-message-connection.o main.o
-pthread -pthread /usr/lib/libgnomeui-2.so -lSM -lICE
/usr/lib/libgnome-keyring.so -L/usr/local/lib /usr/local/lib/libgdl-1.so
/usr/local/lib/libgdl-gnome-1.so /usr/lib/libbonoboui-2.so
/usr/lib/libglade-2.0.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so
/usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so
/usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so
/usr/lib/libgthread-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so -lfontconfig
-lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lX11
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so ../libanjuta/.libs/libanjuta.so
../libanjuta/.libs/libanjuta.so: undefined reference to
`ianjuta_preferences_unmerge'
../libanjuta/.libs/libanjuta.so: undefined reference to
`ianjuta_preferences_get_type'
../libanjuta/.libs/libanjuta.so: undefined reference to
`ianjuta_preferences_merge'
collect2: ld returned 1 exit status
make[2]: *** [anjuta] Fehler 1
make[2]: Leaving directory `/home/linip/Progs/anjuta2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/linip/Progs/anjuta2'
make: *** [all] Fehler 2
----snip----
Seems somewhere libanjuta/interfaces/ianjuta-preferences.h is missing.
kind regards solarisx
--
View this message in context: http://www.nabble.com/anjuta-compile-errors-at-libs-libanjuta-gdb.so%3A-tf2948566.html#a8316272
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]