Problem cross-building xorg7rc2

Felix Kühling fxkuehl at gmx.de
Mon Nov 14 08:24:48 PST 2005


Hi,

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?

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

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

TIA,
  Felix

-- 
| Felix Kühling <fxkuehl at gmx.de>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |



More information about the xorg-modular mailing list