This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: gcc_gettext_width


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]