Re: problem compiling gtkmm ...



On Wed, Apr 23, 2008 at 2:20 AM, Roberto Alejandro Espí Muñoz
<teratux gmail com> wrote:
> Hi, I'm in the process of compiling the gtkmm 2.10 version of your
>  libraries since Debian doesn't have them on etch yet.  I've been
>  trying to solve my dependencies keeping myself on etch and wound up on
>  the following dependency list which I now either compiled, or
>  installed on my system:
>
>  atk 1.9.1
>  cairo 1.4.14
>  cairomm 1.4.6
>  glib-2.0 2.16
>  glibmm 2.12
>  gtk+-2.10.11
>  gtkmm-2.10.11
>  pango-1.0 1.20
>
>  I compiled all my dependencies with no error at all.  But when I
>  compile gtkmm I get this final error.  Been trying to google it up but
>  nothing yet:
>
>  /opt/final_gtk/lib/libpango-1.0.so: undefined reference to
>  `g_unichar_get_script'
>  /opt/final_gtk/lib/libpangocairo-1.0.so: undefined reference to
>  `g_once_init_leave'
>  ../../../pango/pangomm/.libs/libpangomm-1.4.so: undefined reference to
>  `g_assertion_message_expr'
>  /opt/final_gtk/lib/libpangocairo-1.0.so: undefined reference to
>  `g_once_init_enter_impl'
>  ../../../gtk/gtkmm/.libs/libgtkmm-2.4.so: undefined reference to
>  `g_assertion_message'
>
>  As you can see I'm linking against my own compiled libs in
>  /opt/final_gtk but it seems I'm missing something in pango.
>
>  Can anyone help me??
>  Thanks

it looks like you're linking against an old version of glib.  These
undefined references are all to glib functions that were added in
relatively recent versions.  There's probably something that's pulling
in the system glib for some reason.  If you really can't upgrade your
distro, I would really recommend using jhbuild to compile all of the
dependencies instead of doing it all by hand.

-- 
jonner


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