Re: [anjuta-devel] Stuck compiling GDL



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



--
---------------------------------------------------------------
Ishan Chattopadhyaya
Email: ishan chattopadhyaya com
Website: www.ishan.chattopadhyaya.com
---------------------------------------------------------------


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