Re: GtkGLExt




Jeffrey Ratcliffe wrote:
Looks good
Unrecognized argument in LIBS ignored:
'$(top_builddir)/caehome/ra28145/perl/gtkglext-1.2.0/gtk/libgtkglext-x11-1.0.la'
Unrecognized argument in LIBS ignored:
'$(top_builddir)/caehome/ra28145/perl/gtkglext-1.2.0/gdk/libgdkglext-x11-1.0.la'
Unrecognized argument in LIBS ignored: '-Wl,--export-dynamic'

...

make then fails with

/usr/bin/perl: symbol lookup error:
blib/arch/auto/Gtk2/GLExt/GLExt.so: undefined symbol:
gdk_gl_config_get_type

Any ideas?

It looks as though MakeMaker is deciding to ignore the .la files (because it
doesn't recognize them), and so you don't actually link libgtkglext and
libgdkglext into the extension.  gdk_gl_config_get_type() should be found in
libgdkglext.

In the same directory as the .la files should be the other libraries to which
the .la files point --- .so and/or .a libraries.  There's something slightly
magical about .la files that i've never bothered to investigate, but it seems
to manifest in the "they're used if they're there" kind of thing.  So, try
moving the .la files out of the way (don't nuke them, just make them not have
that name) and rebuild the extension.


Failing that, just force the link by editing the generated makefile.


-- 
muppet <scott at asofyet dot org>




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