Build kdebase fails )-:

John Gay johngay at
Tue Mar 14 21:27:28 PST 2006

Well, everything was going along swimmingly, till I got to kdebase )-:

During make, it fails for:

/bin/sh ../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef 
nsi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
s -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security 
ormat-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
SLATION -D_GNU_SOURCE    -o -rpath /usr/lib 
d -avoid-version -L/usr/lib -L/usr/X11R6/lib    main.lo server.lo 
 legacy.lo startup.lo shutdown.lo client.lo KSMServerInterface_skel.lo 
el.lo ../kdmlib/ -lkdeui
/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 
/usr/X11R6/lib/libXau.a: could not read symbols: Bad value
<NOTE>Don't have /usr/X11R6/lib/libXau.a?</NOTE>
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/blfs/kdebase-3.5.1/ksmserver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/blfs/kdebase-3.5.1/ksmserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/blfs/kdebase-3.5.1'
make: *** [all] Error 2

A quick google indicates that libXau.a comes from My system is a Dual 
Opteron248 with 2G RAM. I've built CLFS-SVN-20060223 and have been following 
BLFS-6.1 using Ken's seggestions as a guide when encountering problems. built fine with Ken's suggestions for:
        '#define LibDirName lib'
        '#define LibDir /usr/X11R6/lib/X11'
        '#define HaveLib64 NO'

But I didn't apply the sed, as I didn't notice it ATT. What does it do? I also 
had to disable the ati driver, as it failed to compile first time around. 

Then I added nVidia's driver, using Theo's suggestion of temporary symlinks to 
get everything installed in the proper lib directories.

As room was getting short, I started deleting source directories as I built 
KDE, including xc and xcbuild, so I can't just have a look at the Xbuild log 
to see where it may have gone wrong.

I am guessing that a rebuild of is a minimal requirement, but I would 
like to not screw up the nvidia driver, if possible. Maybe I can just run the 
build, and then copy libXau.a manually, to avoid overwriting nvidia's stuff. 
Does this sound like a plan?

Thanks for all the work, and I see that the CLFS book is advancing quickly! As 
this is only a temporary Proof-of-Concept build, I imagine that CLFS will be 
more stable by the time I'm ready to commit my Desktop to Pure-64.


	John Gay

More information about the cross-lfs mailing list