Bug 201 - libX11 fails to build with --disable-xlocale
Summary: libX11 fails to build with --disable-xlocale
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: low minor
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard: 2011BRB_Reviewed
Keywords: love
Depends on:
Blocks:
 
Reported: 2004-02-18 21:58 UTC by Allison Lortie (desrt)
Modified: 2018-08-10 20:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.