Subject: Re: gcc3-c++ doesn't compile
To: Todd Vierling <>
From: Ognyan Kulev <>
List: tech-pkg
Date: 02/11/2004 20:49:55
Todd Vierling wrote:
> On Thu, 2 Oct 2003, Ognyan Kulev wrote:
> : I use pkgsrc on Red Hat 7.3 and I tried to install gcc3-c++ from CVS
> : pkgsrc ports.  The following error occured:
> This seems to happen on some NetBSD systems, too, but I can't remember the
> exact circumstances.  There's a PR open on it.
> A possible workaround would be to add
> CONFIGURE_ARGS+=	--disable-nls
> to lang/gcc3-c/Makefile.common and rebuild both gcc3-c and gcc3-c++.

It doesn't help.  I'm using fresh CVS bootstrap-pkgsrc and 
pkgsrc-2003Q4.  Or I'm advised to try CVS pkgsrc?

Here is the error:

/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/gcc/g++ -shared-libgcc 
-B/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/gcc/ -nostdinc++ 
-B/usr/pkg/gcc3/i386-pc-linux/bin/ -B/usr/pkg/gcc3/i386-pc-linux/lib/ 
-isystem /usr/pkg/gcc3/i386-pc-linux/include -O2 -march=pentiumpro -pipe 
-I/usr/pkg/include -march=pentiumpro -D_GNU_SOURCE -o abi_check 
undefined reference to `libintl_bindtextdomain'
undefined reference to `libintl_gettext'
undefined reference to `libintl_textdomain'
collect2: ld returned 1 exit status
make[3]: *** [abi_check] Error 1
make[3]: Leaving directory