Latest CVS doesn't build when `configure --disable-nls'

Philipp Thomas pthomas@suse.de
Sun Jun 25 07:36:00 GMT 2000


* Martin Buchholz (martin@xemacs.org) [20000625 10:35]:

> One should be able to build gcc on a platform without gettext
> installed, if one uses the `--disable-nls' configure flag.

Yes, one should.
 
> cppmain.o intl.o libcpp.a obstack.o ../libiberty/libiberty.a

> /usr/ccs/bin/ld:
> Unresolved:
> bindtextdomain
> textdomain
> _nl_msg_cat_cntr
> dcgettext__
> collect2: ld returned 1 exit status

> (martin@tru64) ~cdx/import/gcc/work/build $ uname -a
> OSF1 tru64.m17n.org V4.0 1091 alpha

Strange indeed. If ENABLE_NLS isn't defined, intl.h defines stubs for the
NLS functions so you shouldn't get unresolved externals. Could you please
check which of the objects/libs these unresolved symbols come from? And
please also check that ENABLE_NLS isn't defined in auto-host.h.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h


More information about the Gcc-bugs mailing list