Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
libX11
libX11
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 94
    • Issues 94
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • lib
  • libX11libX11
  • Issues
  • #33

Closed
Open
Opened Sep 24, 2013 by Bugzilla Migration User@bugzilla-migration

LIBX11 Does not cross compile

Submitted by shan

Assigned to Xorg Project Team

Link to original bug (#69743)

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/lib/libx11#33