Subject: gcc3-c++ doesn't compile
To: None <tech-pkg@netbsd.org>
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
List: tech-pkg
Date: 10/02/2003 10:51:53
Hi,
I use pkgsrc on Red Hat 7.3 and I tried to install gcc3-c++ from CVS
pkgsrc ports. The following error occured:
/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 -I/usr/pkg/include
-D_GNU_SOURCE -o abi_check abi_check.o
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/src
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/src/.libs
-lm
/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `libintl_bindtextdomain'
/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `libintl_gettext'
/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `libintl_textdomain'
collect2: ld returned 1 exit status
make[3]: *** [abi_check] Error 1
make[3]: Leaving directory
`/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.1/i386-pc-linux/libstdc++-v3/testsuite'
I've installed textproc/intltool but this doesn't change things.
/etc/ld.so.conf is setup correctly.
What else can I do?
Regards,
ogi