Bug 69743 - LIBX11 Does not cross compile
Summary: LIBX11 Does not cross compile
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 05:08 UTC by shan
Modified: 2018-08-10 20:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Configuration log file for cross compiling Lib X11 (82.48 KB, text/plain)
2013-09-24 05:08 UTC, shan
no flags Details

Description shan 2013-09-24 05:08:29 UTC
Created attachment 86429 [details]
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
Comment 1 Alan Coopersmith 2013-09-24 18:39:22 UTC
That seems to indicate you're missing the x11proto package, but the configure
logs show pkg-config found it.   Have you overridden the -I flags that pkg-config found for it?
Comment 2 shan 2013-09-25 12:50:42 UTC
hi,

No, i haven't do anything, only the process i done was downloaded the libx11 src, configure it and make it, thats all

Actually, what i want to do was i have developed a GTK application that i want to port into my arm board colibri t30, so, for that i need to compile the application for a arm version, when i compiled, it asks for the library lgtk3, so i downloaded the gtk3 version source and compiled for a arm version, in that it shows no libx11 support, so i am trying to cross compile the libx11. this is the process i have done


Thanks,
shan
Comment 3 GitLab Migration User 2018-08-10 20:10:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/33.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.