Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Sat, 2013-03-02 at 10:39 -0500, Neeraj Rai wrote:
Hi,


I am getting a compilation failure on Centos 6. It seems -lX11 will
solve it, but I am not sure where to change. Please advise.
Neeraj

[build LNK] Executable/oosplash
/data2/work/sid0/dev/builddir/libreoffice-4.0.0.3/workdir/unxlngx6.pro/CObject/desktop/unx/source/splashx.o:
 In function `create_pixmap':
splashx.c:(.text+0x57e): undefined reference to `XCreatePixmap'
splashx.c:(.text+0x5af): undefined reference to `XCreateGC'


-- collect2: ld returned 1 exit status
make[2]: ***
[/data2/work/sid0/dev/builddir/libreoffice-4.0.0.3/workdir/unxlngx6.pro/LinkTarget/Executable/oosplash]
 Error 1

Hmm, the makefile is desktop/Executable_oosplashx.mk and it already has
a -lX11 in it.

So..., I suppose.
a) you definitely have libX11-devel.x86_64 installed (and not just
libX11-devel.i386) ?
b) you didn't add any exotic configure options like --enable-headless to
your configure line (seeing as -lX11 is inside a ifndef headless
section.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.