Problem cross-building xorg7rc2

Daniel Stone daniel at freedesktop.org
Mon Nov 14 15:25:47 PST 2005


On Mon, Nov 14, 2005 at 11:24:48AM -0500, Felix Kühling wrote:
> I tried to cross-build Xorg 7 RC2 for x86-64 on an x86 system. However,
> the build failed in libX11 when it tried to execute makekeys that it had
> just compiled. Obviously that doesn't work when cross building. I don't
> have much experience with cross builds, so if there is an obvious
> solution I'd be grateful if someone could point me to it. Are
> cross-builds of Xorg 7 supposed to work at all?

You would, to my knowledge, be the first.

> For reference, this is how I configured libX11-0.99.3:
> 
>   export CC=.../x86_64-unknown-linux-gnu-gcc
>   export CXX=.../x86_64-unknown-linux-gnu-g++
>   ./configure --host=x86_64-unknown-linux-gnu --prefix=~/xorg7rc2_xf64a --local-state-dir=/var --enable-static=no --disable-debug

Err, surely you want --host=x86-..., -target=x86_64-... ?

> And the last couple of lines of build log:
> 
> /home/fkuehlin/perforce/fkuehlin-lnx-dk/gcc/3.3.3-amd64/bin/x86_64-unknown-linux-gnu-gcc  -O2   -o makekeys  makekeys-makekeys.o  -ldl
> make[2]: Leaving directory `/home/fkuehlin/src/xorg7rc2_xf64a/libX11-0.99.3/src/util'
> ../src/util/makekeys < /home/fkuehlin/xorg7rc2_xf64a/include/X11/keysymdef.h > ks_tables_h
> /bin/sh: ../src/util/makekeys: cannot execute binary file
> make[1]: *** [ks_tables.h] Error 126
> make[1]: Leaving directory `/home/fkuehlin/src/xorg7rc2_xf64a/libX11-0.99.3/src'
> make: *** [all-recursive] Error 1

The same problem will crop up in libXt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-modular/attachments/20051115/8d0f4f7a/attachment.pgp


More information about the xorg-modular mailing list