[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GetText 0.21 and warning: cannot export hidden symbol
From: |
Bruno Haible |
Subject: |
Re: GetText 0.21 and warning: cannot export hidden symbol |
Date: |
Fri, 18 Oct 2024 12:00:03 +0200 |
Jeffrey Walton wrote in
<https://lists.gnu.org/archive/html/bug-gettext/2020-11/msg00025.html>:
> I'm working on OS X 10.13. There are a handful of linker warnings of
> interest for GetText 0.21:
>
> libtool: link: clang -dynamiclib -o .libs/libintl.8.dylib
> .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o .libs/gettext.o
> .libs/finddomain.o .libs/hash-string.o .libs/loadmsgcat.o
> .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o
> .libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o
> .libs/dngettext.o .libs/ngettext.o .libs/plural.o .libs/plural-exp.o
> .libs/localcharset.o .libs/threadlib.o .libs/lock.o
> .libs/relocatable.o .libs/langprefs.o .libs/localename.o
> .libs/localename-table.o .libs/log.o .libs/printf.o .libs/setlocale.o
> .libs/setlocale-lock.o .libs/setlocale_null.o .libs/version.o
> .libs/xsize.o .libs/osdep.o .libs/intl-compat.o
> /Users/jwalton/tmp/ok2delete/lib/libiconv.dylib
> -L/Users/jwalton/tmp/ok2delete/lib -ldl -lpthread -g2 -O2
> -march=native -pthread -Wl,-framework -Wl,CoreFoundation -Wl,-rpath
> -Wl,@loader_path/../lib -Wl,-rpath
> -Wl,/Users/jwalton/tmp/ok2delete/lib -pthread -install_name
> /Users/jwalton/tmp/ok2delete/lib/libintl.8.dylib
> -compatibility_version 11 -current_version 11.0 -Wl,-single_module
> -Wl,-exported_symbols_list,.libs/libintl-symbols.expsym
>
> ld: warning: cannot export hidden symbol __nl_find_domain from
> .libs/finddomain.o
> ld: warning: cannot export hidden symbol _libintl_hash_string from
> .libs/hash-string.o
> ld: warning: cannot export hidden symbol __nl_load_domain from
> .libs/loadmsgcat.o
> ld: warning: cannot export hidden symbol __nl_make_l10nflist from
> .libs/l10nflist.o
> ld: warning: cannot export hidden symbol __nl_normalize_codeset from
> .libs/l10nflist.o
> ld: warning: cannot export hidden symbol __nl_explode_name from
> .libs/explodename.o
> ld: warning: cannot export hidden symbol _libintl_dcigettext from
> .libs/dcigettext.o
> ld: warning: cannot export hidden symbol __nl_find_msg from .libs/dcigettext.o
> ld: warning: cannot export hidden symbol
> _libintl_nl_default_default_domain from .libs/dcigettext.o
> ld: warning: cannot export hidden symbol _libintl_nl_default_dirname
> from .libs/dcigettext.o
> ld: warning: cannot export hidden symbol
> _libintl_nl_current_default_domain from .libs/dcigettext.o
> ld: warning: cannot export hidden symbol __nl_state_lock from
> .libs/dcigettext.o
> ld: warning: cannot export hidden symbol _libintl_nl_domain_bindings
> from .libs/dcigettext.o
> ld: warning: cannot export hidden symbol _libintl_gettextparse from
> .libs/plural.o
> ld: warning: cannot export hidden symbol _libintl_gettext_free_exp
> from .libs/plural.o
> ld: warning: cannot export hidden symbol
> _libintl_gettext_extract_plural from .libs/plural-exp.o
> ld: warning: cannot export hidden symbol
> _libintl_gettext_germanic_plural from .libs/plural-exp.o
> ld: warning: cannot export hidden symbol _locale_charset from
> .libs/localcharset.o
> ld: warning: cannot export hidden symbol
> _libintl_recursive_lock_init_multithreaded from .libs/lock.o
> ld: warning: cannot export hidden symbol _libintl_once_singlethreaded
> from .libs/lock.o
> ld: warning: cannot export hidden symbol _libintl_once_multithreaded
> from .libs/lock.o
> ld: warning: cannot export hidden symbol _libintl_relocate from
> .libs/relocatable.o
> ld: warning: cannot export hidden symbol _libintl_relocate2 from
> .libs/relocatable.o
> ld: warning: cannot export hidden symbol
> __nl_language_preferences_default from .libs/langprefs.o
> ld: warning: cannot export hidden symbol __nl_locale_name_canonicalize
> from .libs/localename.o
> ld: warning: cannot export hidden symbol
> __nl_locale_name_thread_unsafe from .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_locale_name_thread from
> .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_locale_name_posix from
> .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_locale_name_environ from
> .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_locale_name_default from
> .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_locale_name from
> .libs/localename.o
> ld: warning: cannot export hidden symbol __nl_log_untranslated from
> .libs/log.o
> ld: warning: cannot export hidden symbol _setlocale_null_r from
> .libs/setlocale_null.o
> ld: warning: cannot export hidden symbol _setlocale_null from
> .libs/setlocale_null.o
This is all OK. None of these symbols
_nl_find_domain
libintl_hash_string
_nl_load_domain
_nl_make_l10nflist
_nl_normalize_codeset
_nl_explode_name
libintl_dcigettext
_nl_find_msg
libintl_nl_default_default_domain
libintl_nl_default_dirname
libintl_nl_current_default_domain
_nl_state_lock
libintl_nl_domain_bindings
libintl_gettextparse
libintl_gettext_free_exp
libintl_gettext_extract_plural
libintl_gettext_germanic_plural
locale_charset
libintl_recursive_lock_init_multithreaded
libintl_once_singlethreaded
libintl_once_multithreaded
libintl_relocate
libintl_relocate2
_nl_language_preferences_default
_nl_locale_name_canonicalize
_nl_locale_name_thread_unsafe
_nl_locale_name_thread
_nl_locale_name_posix
_nl_locale_name_environ
_nl_locale_name_default
_nl_locale_name
_nl_log_untranslated
setlocale_null_r
setlocale_null
is meant to be exported from libintl.
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: GetText 0.21 and warning: cannot export hidden symbol,
Bruno Haible <=