Cross compiling xorg-7.3 - /bin/sh: ../src/util/makekeys: cannot execute binary file
I am trying to cross compile xorg-7.3 and am getting the following error: ../src/util/makekeys /usr/arm-linux-gnu/include/X11/keysymdef.h ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file http://www.x.org/wiki/CrossCompilingXorg discusses this problem and says that there is a patch for it. Some components need to build and run programs on the build system that generate output used in the build process. For this compnents, CC_FOR_BUILD must be set to the name of the compiler that targets the build system. The majority of these components do not correctly use CC_FOR_BUILD, but there is a patch (see below) available. But I could not find the patch on that page. Can someone tell what patches I need to apply in order to cross-compile? Thanks. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Cross compiling xorg-7.3 - /bin/sh: ../src/util/makekeys: cannot execute binary file
Am 17.11.2009 03:03, schrieb john blair: I am trying to cross compile xorg-7.3 and am getting the following error: ../src/util/makekeys /usr/arm-linux-gnu/include/X11/keysymdef.h ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file http://www.x.org/wiki/CrossCompilingXorg discusses this problem and says that there is a patch for it. Some components need to build and run programs on the build system that generate output used in the build process. For this compnents, CC_FOR_BUILD must be set to the name of the compiler that targets the build system. The majority of these components do not correctly use CC_FOR_BUILD, but there is a patch (see below) available. have you tryed ./configure CC=your_gcc_for_target_build CC_FOR_BUILD=your_host_gcc ? But I could not find the patch on that page. Can someone tell what patches I need to apply in order to cross-compile? Thanks. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg -- ### OpenELEC.tv ### The free and open Mediacenter Distribution 4 you http://www.openelec.tv ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Cross compiling xorg-7.3 - /bin/sh: ../src/util/makekeys: cannot execute binary file
Stephan Raue wrote: Am 17.11.2009 03:03, schrieb john blair: I am trying to cross compile xorg-7.3 and am getting the following error: ../src/util/makekeys /usr/arm-linux-gnu/include/X11/keysymdef.h ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file http://www.x.org/wiki/CrossCompilingXorg discusses this problem and says that there is a patch for it. Some components need to build and run programs on the build system that generate output used in the build process. For this compnents, CC_FOR_BUILD must be set to the name of the compiler that targets the build system. The majority of these components do not correctly use CC_FOR_BUILD, but there is a patch (see below) available. have you tryed ./configure CC=your_gcc_for_target_build CC_FOR_BUILD=your_host_gcc ? But I could not find the patch on that page. Can someone tell what patches I need to apply in order to cross-compile? You might check out the patches that I use in MiniMyth (which I cross compile). You can find them at: http://code.google.com/p/minimyth/source/browse/#svn/trunk/gar-minimyth/script/xorg-7.4 ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Cross compiling xorg-7.3 - /bin/sh: ../src/util/makekeys: cannot execute binary file
2009/11/17 john blair mailtome200420032...@yahoo.com: I am trying to cross compile xorg-7.3 and am getting the following error: ../src/util/makekeys /usr/arm-linux-gnu/include/X11/keysymdef.h ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file Hmm, I thought I fixed these problems in xorg. I pushed a load a patches. Has it broken again? http://www.x.org/wiki/CrossCompilingXorg discusses this problem and says that there is a patch for it. I _think_ that's out of date now - I cleaned up and pushed the patches into git about 1 year ago. John ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Cross compiling xorg-7.3 - /bin/sh: ../src/util/makekeys: cannot execute binary file
John Tapsell wrote: 2009/11/17 john blair mailtome200420032...@yahoo.com: I am trying to cross compile xorg-7.3 and am getting the following error: ../src/util/makekeys /usr/arm-linux-gnu/include/X11/keysymdef.h ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file Hmm, I thought I fixed these problems in xorg. I pushed a load a patches. Has it broken again? http://www.x.org/wiki/CrossCompilingXorg discusses this problem and says that there is a patch for it. I _think_ that's out of date now - I cleaned up and pushed the patches into git about 1 year ago. 7.3 was released about 2 years ago, so it's expected to have known bugs we've fixed since then. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg