Build kdebase fails )-:

Dan Nicholson dbn.lists at gmail.com
Fri Mar 17 10:36:23 PST 2006


On 3/15/06, Joe Ciccone <jciccone at gmail.com> wrote:
> John Gay wrote:
>
> >/bin/ld: /usr/X11R6/lib/libXau.a(AuFileName.o): relocation R_X86_64_32 against
> >`
> >a local symbol' can not be used when making a shared object; recompile with
> >-fPI
> >C
> >
> Here are 2 patches for xorg that might be of use to you,
> http://www.linuxfromscratch.org/~jciccone/X11R6.8.1-IncludeSharedObjectInNormalLib-1.patch
> and
> http://www.linuxfromscratch.org/~jciccone/X11R6.8.1-fix_shared_libXau_link-1.patch

Joe,

Have you used X11R6.9.0?  I looked through the source, and this only this diff:

--- xc/lib/Xau/Imakefile.IncludeSharedObjectInNormalLib	2001-01-17
14:42:24.000000000 -0500
+++ xc/lib/Xau/Imakefile	2003-01-29 02:25:49.000000000 -0500
@@ -37,6 +37,8 @@
 OBJS =	AuDispose.o AuFileName.o AuGetAddr.o AuGetBest.o AuLock.o \
 	AuRead.o AuUnlock.o AuWrite.o $(K5ENCOBJ)

+#define IncludeSharedObjectInNormalLib
+
 #include <Library.tmpl>

has been applied from those two patches.  That'd probably take care of
the OP's problem, but I wonder if these patches should be submitted to
the LFS patches repo.  They could be useful to anyone.

--
Dan



More information about the cross-lfs mailing list