CrossComiling Xorg X11R7.1 for ARM (Error at makekeys : cannot execute binary)
zubair ahmed
zubair17in at gmail.com
Thu Oct 12 04:05:01 PDT 2006
Hi everyone,
I am new to this forum and hopefully Ill give you enough input about my
problem.
Here I go .
> I have the Xorg X11R7.1 and X11R7.0
> Cross Compiler - MVL (Monta Vista Linux)
> Need to Cross Compile Xorg X11R7.1 for a Davinchi board Running MVL.
---------------------------------PRE-INSTALLATION-------------------------
I have downloaded the following binary from
X11R7.1 from here "
ftp://webcvs.freedesktop.org/pub/xorg/X11R7.1/src/everything"
X11R7.0 from here "
ftp://webcvs.freedesktop.org/pub/xorg/X11R7.0/src/everything"
Then used the x-merge.scm file to combine the two file(X11R7.0 and X11R7.1)
to get me "xc" (X11R7.1)
This i did it by using the folloeing command.
]$ guile -s x-merge.scm (And set the file input in the x-merge.scm file).
After this i Downloaded the "build-from-tarballs.sh " (In this file i have
set the PATH , LIB etc .. which i have attached to this mail .... )
The following are the env which i set before execution.
export LD_LIBRARY_PATH=/root/software/backUpForX11R7Gz/x11r7.0/everything/lib
export AR=arm_v5t_le-ar
export PATH=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin:${PATH}
export LD=arm_v5t_le-ld
export STRIP=arm_v5t_le-strip
export CXX=arm_v5t_le-c++
export PKG_CONFIG_PATH=/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/pkgconfig
export RANLIB=arm_v5t_le-ranlib
export CC=arm_v5t_le-gcc
I have also attached the file which are there my DIRECTORY
--------------------------------------INSTALLATION-----------------------------
Now the installation ...
my bz2 file PATH ==|| my Install path ==||
V
V
]$ ./build-from-tarballs.sh -e /root/Rnd/Arun/XC7 /root/Rnd/Arun/arm
runs for a while and gives me the following error ..
make[2]: Entering directory /Rnd/Arun/XC7/libX11-X11R7.0-1.0.0/src/util'
if arm_v5t_le-gcc -DHAVE_CONFIG_H -I. -I. -I../../src
-I../../include/X11 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/root/Rnd/Arun/arm/include -I/root/Rnd/Arun/arm/include
-I/root/Rnd/Arun/arm/include -I/root/Rnd/Arun/arm/include -g -O2
-MT makekeys-makekeys.o -MD -MP -MF ".deps/makekeys-makekeys.Tpo" \
-c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo './'`makekeys.c; \
then mv -f ".deps/makekeys-makekeys.Tpo" ".deps/makekeys-makekeys.Po"; \
else rm -f ".deps/makekeys-makekeys.Tpo"; exit 1; \
fi
arm_v5t_le-gcc -g -O2 -o makekeys makekeys-makekeys.o -ldl
make[2]: Leaving directory `/root/Rnd/Arun/XC7/libX11-X11R7.0-1.0.0/src/util'
../src/util/makekeys < /root/Rnd/Arun/arm/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 `/root/Rnd/Arun/XC7/libX11-X11R7.0-1.0.0/src'
make: *** [all-recursive] Error 1
------------------------------X------------------------------X-----------------------
your HELP would be gr8ly appreciated ...
THANKS,
ZUBAIR AHMED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061012/e130b883/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-from-tarballs.sh
Type: application/x-sh
Size: 15968 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20061012/e130b883/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileInMyDir
Type: application/octet-stream
Size: 14745 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20061012/e130b883/attachment.obj>
More information about the xorg
mailing list