This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: error: gcc_gettext_width
- From: Brian Dessent <brian at dessent dot net>
- To: Daniel Wilson <lakeat at 163 dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 05 Jun 2007 02:05:34 -0700
- Subject: Re: error: gcc_gettext_width
- References: <10961550.post@talk.nabble.com>
- Reply-to: gcc-help at gcc dot gnu dot org
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