Re: [anjuta-devel] Stuck compiling GDL



Hi Ishan!

That's neither a problem in anjuta nor in gdl as neither of them is using
GVariant/GSettings yet. Guess you glib installation is broken.

Did you try jhbuild?

Regards,
Johannes

FYI: At Anjuta, I got the error at the gdb plugin [0].
Regards,
Ishan

p.s.: Sorry for spamming..

[0] -
  CC     preferences.lo
preferences.c:144:24: warning: unknown escape sequence '\w'
  CCLD   libanjuta-gdb.la
  CC     gdbmi_test-gdbmi-test.o
  CC     gdbmi_test-gdbmi.o
  CCLD   gdbmi-test
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_new_bytestring_array'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_new_bytestring'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_variant_is_floating'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_dcgettext'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_source_set_name'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_variant_compare'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_get_bytestring'
collect2: ld returned 1 exit status
make[3]: *** [gdbmi-test] Error 1
make[3]: Leaving directory `/data/anjuta/plugins/gdb'
make[2]: *** [install-recursive] Error 1


On Sun, Jul 18, 2010 at 5:27 AM, Ishan Chattopadhyaya <
ichattopadhyaya gmail com> wrote:

Tried compiling Anjuta, got stuck with the same undefined references.
Seems
like something wrong with my GLib/GTK setup. However, I've tried using
the
latest GLib (2.25.11) as well as GLib from the master branch. Using GTK
2.90.5 (as well as 2.22).

Both GDL and Anjuta complain about those below dependencies when trying
to
run some tests. Which GLib/GTK+ should be used to compile and run Anjuta
from the master?

Please help,
Regards,
Ishan


On Sun, Jul 18, 2010 at 3:37 AM, Ishan Chattopadhyaya <
ichattopadhyaya gmail com> wrote:

I'm trying to compile GDL from the master against GLib 2.25.11 and GTK
2.90.5.

I'm getting undefined reference errors:
  CCLD   test-dock
/usr/lib/libgtk-x11-3.0.so.0: undefined reference to
`g_variant_new_bytestring_array'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_new_bytestring'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_is_floating'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_dcgettext'
/usr/lib/libgdk-x11-3.0.so.0: undefined reference to
`g_source_set_name'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_variant_compare'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_get_bytestring'

Here's the log [0].

Is there something that I'm obviously missing?
Regards,
Ishan

[0] -

$ sudo make install
...
make[2]: Entering directory `/data/gdl/gdl'
  CC     gdl-i18n.lo
  CC     gdl-dock-object.lo
  CC     gdl-dock-master.lo
  CC     gdl-dock.lo
  CC     gdl-dock-item.lo
  CC     gdl-dock-item-button-image.lo
  CC     gdl-dock-item-grip.lo
  CC     gdl-dock-notebook.lo
  CC     gdl-dock-paned.lo
  CC     gdl-dock-tablabel.lo
  CC     gdl-dock-layout.lo
  CC     gdl-dock-placeholder.lo
  CC     gdl-dock-bar.lo
  CC     gdl-switcher.lo
  CC     libgdltypebuiltins.lo
  CC     libgdlmarshal.lo
  CCLD   libgdl-3.la
  CC     test-dock.o
  CCLD   test-dock
/usr/lib/libgtk-x11-3.0.so.0: undefined reference to
`g_variant_new_bytestring_array'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_new_bytestring'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_is_floating'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_dcgettext'
/usr/lib/libgdk-x11-3.0.so.0: undefined reference to
`g_source_set_name'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_variant_compare'
/usr/lib/libgio-2.0.so.0: undefined reference to
`g_variant_get_bytestring'
collect2: ld returned 1 exit status
make[2]: *** [test-dock] Error 1
make[2]: Leaving directory `/data/gdl/gdl'
make[1]: *** [install] Error 2


_______________________________________________
anjuta-devel-list mailing list
anjuta-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/anjuta-devel-list






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