Re: Glib-1.144 compile error



On 15/03/07, Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> wrote:
I just bit the bullet and manually set up a sandbox and successfully
compiled and installed GTK+ 2.10, GLib 2.12, Pango 1.14, Cairo 1.4.0
and their dependencies.

To make sure I've got the libraries set up, I tried compiling Muppet's
iowatch.c from http://mail.gnome.org/archives/gtk-perl-list/2007-February/msg00062.html

I get:

$ cc -g `pkg-config --cflags --libs gtk+-2.0` -o iowatch iowatch.c
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_type_register_static_simple'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_intern_static_string'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_renderer_get_type'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_matrix_get_font_scale_factor'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_font_description_set_absolute_size'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_quantize_line_geometry'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_renderer_set_matrix'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_slice_alloc'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_assert_warning'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_renderer_draw_glyphs'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_renderer_draw_layout'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_slice_alloc0'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_renderer_draw_layout_line'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_slice_free1'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_font_describe_with_absolute_size'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_font_description_get_size_is_absolute'
/caehome/ra28145/lib/libpangoft2-1.0.so.0: undefined reference to
`g_return_if_fail_warning'
collect2: ld returned 1 exit status

So I guess I didn't compile pango properly, although it built the library file?

Jeff



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