Stef Bon wrote:

Making: ../unxlngi6.pro/lib/libvclplug_gtk680li.so
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared -L../unxlngi6.pro/lib -L../lib -L/root/source-local/openoffice-cvs/OOo_2.0.0rc3_src/solenv/unxlngi6/lib -L/root/source-local/openoffice-cvs/OOo_2.0.0rc3_src/solver/680/unxlngi6.pro/lib -L/root/source-local/openoffice-cvs/OOo_2.0.0rc3_src/solenv/unxlngi6/lib -L/opt/java/lib -L/opt/java/jre/lib/i386 -L/opt/java/jre/lib/i386/client -L/opt/java/jre/lib/i386/native_threads -L/usr/X11R6/lib -L/usr/lib/firefox-1.0.7 ../unxlngi6.pro/slo/vclplug_gtk_dflt_version.o ../unxlngi6.pro/slo/vclplug_gtk_dflt_description.o -o ../unxlngi6.pro/lib/libvclplug_gtk680li.so ../unxlngi6.pro/slo/gtkdata.o ../unxlngi6.pro/slo/gtkinst.o ../unxlngi6.pro/slo/gtksys.o ../unxlngi6.pro/slo/salnativewidgets-gtk.o ../unxlngi6.pro/slo/gtkframe.o ../unxlngi6.pro/slo/gtkobject.o -pthread -lgtk-x11-2.0 -lgthread-2.0 -lvclplug_gen680li -lvcl680li -lpsp680li -lsot680li -lutl680li -ltl680li -lcomphelp4gcc3 -lucbhelper3gcc3 -luno_cppuhelpergcc3 -luno_cppu -lvos3gcc3 -luno_sal -lX11 -ldl -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc ../unxlngi6.pro/slo/gtkdata.o(.text+0x1c): In function `GtkSalDisplay::GtkSalDisplay(_GdkDisplay*, Visual*, unsigned long)':
: undefined reference to `gdk_x11_display_get_xdisplay'


I assume you mean the old gdkpixbuf from gnome 1.4 in the above. To help you figure out how to debug a failure like this, I greped /usr/include for the reference above 'gdk_xll_display_get_xdisplay'. You should find that /usr/include/gtk-2.0/gdk/gdkalias.h contains a line like this:

#define gdk_x11_display_get_xdisplay IA__gdk_x11_display_get_xdisplay

/usr/lib/libgdk-xll-2.0.so should contain the needed symbols (readelf -s to verify). Looking at the above compile line, I don't see -lgdk-xll-2.0 in the linker flags. Interesting that I just brought this up on dev tonight and that it's not needed with 0.20, I'm unsure about 0.19, but what version of pkgconfig are you using? 'pkgconfig --version' or 'pkg-config --version' will tell. I'm assuming 0.17 or 0.18? This patch _should_ fix you right up I believe. Be sure to do an 'rm -rf vcl/unxlngi6.pro' before patching and the build should continue.

http://www.linuxfromscratch.org/patches/downloads/OOo/OOo_2.0.0-pkgconfig_0.17-1.patch

--DJ Lucas

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to