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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice