error: gcc_gettext_width

Brian Dessent brian@dessent.net
Tue Jun 5 09:05:00 GMT 2007


Daniel Wilson wrote:

> ../configure --prefix=$HOME/Datt/linux/gcc-4.1.1
> --exec-prefix=$HOME/Datt/linux/gcc-4.1.1 --enable-languages=c++
> --enable-shared --disable-multilib

If you're invoking configure as "../configure" then either you're not
invoking the toplevel configure or you're building within a subdirectory
of the srcdir.  Either way, it's wrong; refer to
<http://gcc.gnu.org/install/configure.html>.  Make your build dir a
sibling to the source dir and only invoke the top-level configure
script.

> ../.././gcc/cp/call.c:2464: undefined reference to `gcc_gettext_width'
> collect2: ld returned 1 exit status

You can probably work around this with --disable-nls, but it would be
better to properly fix the problem.

Brian



More information about the Gcc-help mailing list