Bug 201

Summary: libX11 fails to build with --disable-xlocale
Product: xorg Reporter: Allison Lortie (desrt) <desrt>
Component: Lib/XlibAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact:
Severity: minor    
Priority: low Keywords: love
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:

Description Allison Lortie (desrt) 2004-02-18 21:58:03 UTC
If you build libX11 with --disable-xlocale then src/imConv.c doesn't get built.
src/imConv.c contains a function _XimGetCharCode()
This function is called by src/XKBCvt.c regardless of --disable-xlocale.
This results in undefined references to _XimGetCharCode
Comment 1 Jim Gettys 2004-02-21 02:24:16 UTC
Got a patch for the configuration stuff to fix this lying around?
                        - Jim
Comment 2 Dylan Simon 2010-10-21 16:59:47 UTC
Looks like this is still broken (if a bit differently).  src/imConv.c is now built, but it uses functions from src/xlibi18n, which is built but not linked with --disable-xlocale.  The result is:
undefined symbol: _Xi18n_lock   (/usr/lib64/libX11.so)
undefined symbol: _XlcConvert   (/usr/lib64/libX11.so)
undefined symbol: _XOpenLC      (/usr/lib64/libX11.so)
undefined symbol: _Utf8GetConvByName    (/usr/lib64/libX11.so)
undefined symbol: _XlcCurrentLC (/usr/lib64/libX11.so)
undefined symbol: _XrmInitParseInfo     (/usr/lib64/libX11.so)
undefined symbol: _XCloseLC     (/usr/lib64/libX11.so)
undefined symbol: KeySymToUcs4  (/usr/lib64/libX11.so)
undefined symbol: _XlcCountVaList       (/usr/lib64/libX11.so)
undefined symbol: _XlcNCompareISOLatin1 (/usr/lib64/libX11.so)
undefined symbol: _XlcVaToArgList       (/usr/lib64/libX11.so)
Comment 4 GitLab Migration User 2018-08-10 20:09:02 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/1.

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.