Build kdebase fails )-:
johngay at eircom.net
Tue Mar 14 23:38:42 PST 2006
On Wednesday 15 March 2006 12:57, Ken Moffat wrote:
> On Wed, 15 Mar 2006, John Gay wrote:
> > Well, everything was going along swimmingly, till I got to kdebase )-:
> > During make, it fails for:
> > /usr/lib/gcc/x86_64-unknown-linux-gnu/4.0.2/../../../../x86_64-unknown-li
> >nux-gnu /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
> > /usr/X11R6/lib/libXau.a: could not read symbols: Bad value
> > <NOTE>Don't have /usr/X11R6/lib/libXau.a?</NOTE>
> You will get these messages on x86_64 any place that libtool tries to
> use a static (.a) library in a .la, and as it says, it can't link.
> These "recompile with -fPIC" messages fall into three types -
> (i) recompile the current package with -fPIC
> (ii) fix a broken symlink (I had a dangling symlink for ncurses in my
> scripts, because of a typo - on x86 libtool couldn't find the .so but
> took the .a and ran with it, on x86_64 it barfed).
> (iii) convert a Makefile to use .la instead of .a (very uncommon).
Thanks for the info!
> On my pure64 system :
> ken at bluesbreaker ~ $ls -l /usr/X11R6/lib/libXau*
> lrwxrwxrwx 1 root root 13 2006-03-03 13:40 /usr/X11R6/lib/libXau.so
> -> libXau.so.6.0
> lrwxrwxrwx 1 root root 13 2006-03-03 13:40 /usr/X11R6/lib/libXau.so.6
> -> libXau.so.6.0
> -rwxr-xr-x 1 root root 15649 2006-03-03 13:40
> ken at bluesbreaker ~ $
> - Do you have these, and if you do, are the symlinks correct ?
As I said, I don't have any libXau.so files. This is all I have:
root at john:/home/john# ls -l /mnt/lfs/usr/X11R6/lib/libXau*
-rw-r--r-- 1 root root 17948 Mar 9 10:48 /mnt/lfs/usr/X11R6/lib/libXau.a
> libXau is built while X is building general libraries, I imagine you
> would have to do something fairly unusual to not build it in 6.9 - if
> it's missing, did you log X, and if so, did it error out somewhere
> (search for 'Error:' or 'Error ' to avoid Error.h) ?
I built X11R6.8.2-src.tar.bz2
But since I wiped the xc and xcbuild, my log is missing. Looks like it only
built the static lib, not the shared one.
Lesson learnt. So, can I get away with re-building X, without installing and
just putting the shared lib in place?
I'm interested in trying the new X-7.0, but the build process has got me
worried and I don't know how nicely nVidia's driver will play with it either.
More information about the cross-lfs