LIBX11 Does not cross compile
Submitted by shan
Assigned to Xorg Project Team
Description
Created attachment 86429 Configuration log file for cross compiling Lib X11
hi all,
I download the libX11-1.6.2 from the link http://xorg.freedesktop.org/releases/individual/lib/, when i try to cross compile the source it shows the following error
ERROR:
make[3]: Entering directory /home/TORADEX/libX11-1.6.2/modules/im/ximcp' CC imLcFlt.lo imLcFlt.c: In function '_XimLocalFilter': imLcFlt.c:88: error: expected expression before '||' token imLcFlt.c:89: error: expected ')' before 'return' imLcFlt.c:91: error: expected expression before '}' token imLcFlt.c:103: error: expected expression before '||' token imLcFlt.c:104: error: expected ')' before 'anymodifier' imLcFlt.c:108: error: expected expression before '}' token make[3]: *** [imLcFlt.lo] Error 1 make[3]: Leaving directory
/home/TORADEX/libX11-1.6.2/modules/im/ximcp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/TORADEX/libX11-1.6.2/modules/im' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/TORADEX/libX11-1.6.2/modules'
make: *** [all-recursive] Error 1
Note:
I checked the source file with the git source, both are same i dont know why this error is coming, is i need any other dependency files to cross compile this, can anyone helpme to fix this, the following command which i had used for cross compiling, for your reference i have attached the config.log also
COMMAND: export PATH=$PATH:/opt/toolchain/arm-2009q3/bin/ CC=arm-none-linux-gnueabi-gcc ./configure --target=arm-linux --host=i686-linux make
Attachment 86429, "Configuration log file for cross compiling Lib X11":
config.log